Class CfnResource
java.lang.Object
software.amazon.smithy.aws.cloudformation.traits.CfnResource
- All Implemented Interfaces:
 ToSmithyBuilder<CfnResource>
Contains extracted resource information.
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResource.Builderbuilder()Get a list of sets of member shape ids, each set can be used to identify the CloudFormation resource in addition to its primary identifier(s).Get create-specifiable-only property definitions of the CloudFormation resource.Get members that have been explicitly excluded from the CloudFormation resource.Gets a set of identifier names that represent the primary way to identify a CloudFormation resource.Get all property definitions of the CloudFormation resource.getProperty(String propertyName) Gets the definition of the specified property of the CloudFormation resource.Get read-only property definitions of the CloudFormation resource.Get write-only property definitions of the CloudFormation resource.Take this object and create a builder that contains all of the current property values of this object. 
- 
Method Details
- 
builder
 - 
getProperties
Get all property definitions of the CloudFormation resource.Properties excluded by the
cfnExcludedPropertytrait are not returned.- Returns:
 - Returns all members that map to CloudFormation resource properties.
 - See Also:
 
 - 
getProperty
Gets the definition of the specified property of the CloudFormation resource.An empty
Optionalwill be returned if the requested property has been excluded by thecfnExcludedPropertytrait.- Parameters:
 propertyName- Name of the property to retrieve- Returns:
 - The property definition.
 - See Also:
 
 - 
getCreateOnlyProperties
Get create-specifiable-only property definitions of the CloudFormation resource. These properties can be specified only during resource creation and can be returned in areadorlistrequest.- Returns:
 - Returns create-only member names that map to CloudFormation resource properties.
 
 - 
getReadOnlyProperties
Get read-only property definitions of the CloudFormation resource. These properties can be returned by areadorlistrequest, but cannot be set by the user.- Returns:
 - Returns read-only member names that map to CloudFormation resource properties.
 
 - 
getWriteOnlyProperties
Get write-only property definitions of the CloudFormation resource. These properties can be specified by the user, but cannot be returned by areadorlistrequest.- Returns:
 - Returns write-only member names that map to CloudFormation resource properties.
 
 - 
getExcludedProperties
Get members that have been explicitly excluded from the CloudFormation resource.- Returns:
 - Returns members that have been excluded from a CloudFormation resource.
 
 - 
getPrimaryIdentifiers
Gets a set of identifier names that represent the primary way to identify a CloudFormation resource. This uniquely identifies an individual instance of the resource type, and can be one or more properties to represent composite-key identifiers.- Returns:
 - Returns the identifier set primarily used to access a CloudFormation resource.
 
 - 
getAdditionalIdentifiers
Get a list of sets of member shape ids, each set can be used to identify the CloudFormation resource in addition to its primary identifier(s).- Returns:
 - Returns identifier sets used to access a CloudFormation resource.
 
 - 
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToSmithyBuilder<CfnResource>- Returns:
 - a builder for type T
 
 
 -