Interface ResourceDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDefinition.Builder,
,ResourceDefinition> SdkBuilder<ResourceDefinition.Builder,
,ResourceDefinition> SdkPojo
- Enclosing class:
ResourceDefinition
-
Method Summary
Modifier and TypeMethodDescriptionlogicalResourceId
(String logicalResourceId) The logical resource id for this resource in the generated template.resourceIdentifier
(Map<String, String> resourceIdentifier) A list of up to 256 key-value pairs that identifies the scanned resource.resourceType
(String resourceType) The type of the resource, such asAWS::DynamoDB::Table
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceType
The type of the resource, such as
AWS::DynamoDB::Table
. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide- Parameters:
resourceType
- The type of the resource, such asAWS::DynamoDB::Table
. For the list of supported resources, see IaC generator supported resource types in the CloudFormation User Guide- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalResourceId
The logical resource id for this resource in the generated template.
- Parameters:
logicalResourceId
- The logical resource id for this resource in the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier. For example, for aAWS::DynamoDB::Table
resource, the primary identifiers isTableName
so the key-value pair could be"TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.- Parameters:
resourceIdentifier
- A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in theprimaryIdentifier
list in the resource schema.) The value is the value of that primary identifier. For example, for aAWS::DynamoDB::Table
resource, the primary identifiers isTableName
so the key-value pair could be"TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-