Interface ResourceToImport.Builder

    • Method Detail

      • resourceType

        ResourceToImport.Builder resourceType​(String resourceType)

        The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

        Parameters:
        resourceType - The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logicalResourceId

        ResourceToImport.Builder logicalResourceId​(String logicalResourceId)

        The logical ID of the target resource as specified in the template.

        Parameters:
        logicalResourceId - The logical ID of the target resource as specified in the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIdentifier

        ResourceToImport.Builder resourceIdentifier​(Map<String,​String> resourceIdentifier)

        A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).

        Parameters:
        resourceIdentifier - A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).
        Returns:
        Returns a reference to this object so that method calls can be chained together.