ResourceToImport

public struct ResourceToImport : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The logical ID of the target resource as specified in the template.

    Declaration

    Swift

    public let logicalResourceId: String
  • 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).

    Declaration

    Swift

    public let resourceIdentifier: [String : String]
  • 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 AWS CloudFormation User Guide.

    Declaration

    Swift

    public let resourceType: String
  • Undocumented

    Declaration

    Swift

    public init(logicalResourceId: String, resourceIdentifier: [String : String], resourceType: String)
  • Declaration

    Swift

    public func validate(name: String) throws