CreateInfrastructureConfigurationRequest

public struct CreateInfrastructureConfigurationRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The idempotency token used to make this request idempotent.

    Declaration

    Swift

    public let clientToken: String
  • The description of the infrastructure configuration.

    Declaration

    Swift

    public let description: String?
  • The instance profile to associate with the instance used to customize your EC2 AMI.

    Declaration

    Swift

    public let instanceProfileName: String
  • The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.

    Declaration

    Swift

    public let instanceTypes: [String]?
  • The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.

    Declaration

    Swift

    public let keyPair: String?
  • The logging configuration of the infrastructure configuration.

    Declaration

    Swift

    public let logging: Logging?
  • The name of the infrastructure configuration.

    Declaration

    Swift

    public let name: String
  • The tags attached to the resource created by Image Builder.

    Declaration

    Swift

    public let resourceTags: [String : String]?
  • The security group IDs to associate with the instance used to customize your EC2 AMI.

    Declaration

    Swift

    public let securityGroupIds: [String]?
  • The SNS topic on which to send image build events.

    Declaration

    Swift

    public let snsTopicArn: String?
  • The subnet ID in which to place the instance used to customize your EC2 AMI.

    Declaration

    Swift

    public let subnetId: String?
  • The tags of the infrastructure configuration.

    Declaration

    Swift

    public let tags: [String : String]?
  • The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.

    Declaration

    Swift

    public let terminateInstanceOnFailure: Bool?
  • Undocumented

    Declaration

    Swift

    public init(clientToken: String = CreateInfrastructureConfigurationRequest.idempotencyToken(), description: String? = nil, instanceProfileName: String, instanceTypes: [String]? = nil, keyPair: String? = nil, logging: Logging? = nil, name: String, resourceTags: [String : String]? = nil, securityGroupIds: [String]? = nil, snsTopicArn: String? = nil, subnetId: String? = nil, tags: [String : String]? = nil, terminateInstanceOnFailure: Bool? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws