Stack

public struct Stack : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The agent version. This parameter is set to LATEST for auto-update. or a version number for a fixed agent version.

    Declaration

    Swift

    public let agentVersion: String?
  • arn

    The stack’s ARN.

    Declaration

    Swift

    public let arn: String?
  • The stack’s attributes.

    Declaration

    Swift

    public let attributes: [StackAttributesKeys : String]?
  • A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack.

    Declaration

    Swift

    public let chefConfiguration: ChefConfiguration?
  • The configuration manager.

    Declaration

    Swift

    public let configurationManager: StackConfigurationManager?
  • The date when the stack was created.

    Declaration

    Swift

    public let createdAt: String?
  • Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.

    Declaration

    Swift

    public let customCookbooksSource: Source?
  • A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: “{\"key1\”: \“value1\”, \“key2\”: \“value2\”,…}“ For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

    Declaration

    Swift

    public let customJson: String?
  • The stack’s default Availability Zone. For more information, see Regions and Endpoints.

    Declaration

    Swift

    public let defaultAvailabilityZone: String?
  • The ARN of an IAM profile that is the default profile for all of the stack’s EC2 instances. For more information about IAM ARNs, see Using Identifiers.

    Declaration

    Swift

    public let defaultInstanceProfileArn: String?
  • The stack’s default operating system.

    Declaration

    Swift

    public let defaultOs: String?
  • The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.

    Declaration

    Swift

    public let defaultRootDeviceType: RootDeviceType?
  • A default Amazon EC2 key pair for the stack’s instances. You can override this value when you create or update an instance.

    Declaration

    Swift

    public let defaultSshKeyName: String?
  • The default subnet ID; applicable only if the stack is running in a VPC.

    Declaration

    Swift

    public let defaultSubnetId: String?
  • The stack host name theme, with spaces replaced by underscores.

    Declaration

    Swift

    public let hostnameTheme: String?
  • The stack name.

    Declaration

    Swift

    public let name: String?
  • The stack AWS region, such as “ap-northeast-2”. For more information about AWS regions, see Regions and Endpoints.

    Declaration

    Swift

    public let region: String?
  • The stack AWS Identity and Access Management (IAM) role.

    Declaration

    Swift

    public let serviceRoleArn: String?
  • The stack ID.

    Declaration

    Swift

    public let stackId: String?
  • Whether the stack uses custom cookbooks.

    Declaration

    Swift

    public let useCustomCookbooks: Bool?
  • Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack’s layers.

    Declaration

    Swift

    public let useOpsworksSecurityGroups: Bool?
  • The VPC ID; applicable only if the stack is running in a VPC.

    Declaration

    Swift

    public let vpcId: String?
  • Undocumented

    Declaration

    Swift

    public init(agentVersion: String? = nil, arn: String? = nil, attributes: [StackAttributesKeys : String]? = nil, chefConfiguration: ChefConfiguration? = nil, configurationManager: StackConfigurationManager? = nil, createdAt: String? = nil, customCookbooksSource: Source? = nil, customJson: String? = nil, defaultAvailabilityZone: String? = nil, defaultInstanceProfileArn: String? = nil, defaultOs: String? = nil, defaultRootDeviceType: RootDeviceType? = nil, defaultSshKeyName: String? = nil, defaultSubnetId: String? = nil, hostnameTheme: String? = nil, name: String? = nil, region: String? = nil, serviceRoleArn: String? = nil, stackId: String? = nil, useCustomCookbooks: Bool? = nil, useOpsworksSecurityGroups: Bool? = nil, vpcId: String? = nil)