Stack class

Describes a stack.

Constructors

Stack({String? agentVersion, String? arn, Map<StackAttributesKeys, String>? attributes, ChefConfiguration? chefConfiguration, StackConfigurationManager? configurationManager, String? createdAt, Source? customCookbooksSource, String? customJson, String? defaultAvailabilityZone, String? defaultInstanceProfileArn, String? defaultOs, RootDeviceType? defaultRootDeviceType, String? defaultSshKeyName, String? defaultSubnetId, String? hostnameTheme, String? name, String? region, String? serviceRoleArn, String? stackId, bool? useCustomCookbooks, bool? useOpsworksSecurityGroups, String? vpcId})
Stack.fromJson(Map<String, dynamic> json)
factory

Properties

agentVersion String?
The agent version. This parameter is set to LATEST for auto-update. or a version number for a fixed agent version.
final
arn String?
The stack's ARN.
final
attributes Map<StackAttributesKeys, String>?
The stack's attributes.
final
chefConfiguration ChefConfiguration?
A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
final
configurationManager StackConfigurationManager?
The configuration manager.
final
createdAt String?
The date when the stack was created.
final
customCookbooksSource Source?
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
final
customJson String?
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:
final
defaultAvailabilityZone String?
The stack's default Availability Zone. For more information, see Regions and Endpoints.
final
defaultInstanceProfileArn 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.
final
defaultOs String?
The stack's default operating system.
final
defaultRootDeviceType RootDeviceType?
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.
final
defaultSshKeyName String?
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
final
defaultSubnetId String?
The default subnet ID; applicable only if the stack is running in a VPC.
final
hashCode int
The hash code for this object.
no setterinherited
hostnameTheme String?
The stack host name theme, with spaces replaced by underscores.
final
name String?
The stack name.
final
region String?
The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceRoleArn String?
The stack AWS Identity and Access Management (IAM) role.
final
stackId String?
The stack ID.
final
useCustomCookbooks bool?
Whether the stack uses custom cookbooks.
final
useOpsworksSecurityGroups bool?
Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers.
final
vpcId String?
The VPC ID; applicable only if the stack is running in a VPC.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited