Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Stack = Stack' {
- agentVersion :: Maybe Text
- arn :: Maybe Text
- attributes :: Maybe (HashMap StackAttributesKeys (Maybe Text))
- chefConfiguration :: Maybe ChefConfiguration
- configurationManager :: Maybe StackConfigurationManager
- createdAt :: Maybe Text
- customCookbooksSource :: Maybe Source
- customJson :: Maybe Text
- defaultAvailabilityZone :: Maybe Text
- defaultInstanceProfileArn :: Maybe Text
- defaultOs :: Maybe Text
- defaultRootDeviceType :: Maybe RootDeviceType
- defaultSshKeyName :: Maybe Text
- defaultSubnetId :: Maybe Text
- hostnameTheme :: Maybe Text
- name :: Maybe Text
- region :: Maybe Text
- serviceRoleArn :: Maybe Text
- stackId :: Maybe Text
- useCustomCookbooks :: Maybe Bool
- useOpsworksSecurityGroups :: Maybe Bool
- vpcId :: Maybe Text
- newStack :: Stack
- stack_agentVersion :: Lens' Stack (Maybe Text)
- stack_arn :: Lens' Stack (Maybe Text)
- stack_attributes :: Lens' Stack (Maybe (HashMap StackAttributesKeys (Maybe Text)))
- stack_chefConfiguration :: Lens' Stack (Maybe ChefConfiguration)
- stack_configurationManager :: Lens' Stack (Maybe StackConfigurationManager)
- stack_createdAt :: Lens' Stack (Maybe Text)
- stack_customCookbooksSource :: Lens' Stack (Maybe Source)
- stack_customJson :: Lens' Stack (Maybe Text)
- stack_defaultAvailabilityZone :: Lens' Stack (Maybe Text)
- stack_defaultInstanceProfileArn :: Lens' Stack (Maybe Text)
- stack_defaultOs :: Lens' Stack (Maybe Text)
- stack_defaultRootDeviceType :: Lens' Stack (Maybe RootDeviceType)
- stack_defaultSshKeyName :: Lens' Stack (Maybe Text)
- stack_defaultSubnetId :: Lens' Stack (Maybe Text)
- stack_hostnameTheme :: Lens' Stack (Maybe Text)
- stack_name :: Lens' Stack (Maybe Text)
- stack_region :: Lens' Stack (Maybe Text)
- stack_serviceRoleArn :: Lens' Stack (Maybe Text)
- stack_stackId :: Lens' Stack (Maybe Text)
- stack_useCustomCookbooks :: Lens' Stack (Maybe Bool)
- stack_useOpsworksSecurityGroups :: Lens' Stack (Maybe Bool)
- stack_vpcId :: Lens' Stack (Maybe Text)
Documentation
Describes a stack.
See: newStack
smart constructor.
Stack' | |
|
Instances
Create a value of Stack
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentVersion:Stack'
, stack_agentVersion
- The agent version. This parameter is set to LATEST
for auto-update. or
a version number for a fixed agent version.
$sel:arn:Stack'
, stack_arn
- The stack's ARN.
$sel:attributes:Stack'
, stack_attributes
- The stack's attributes.
$sel:chefConfiguration:Stack'
, stack_chefConfiguration
- A ChefConfiguration
object that specifies whether to enable Berkshelf
and the Berkshelf version. For more information, see
Create a New Stack.
$sel:configurationManager:Stack'
, stack_configurationManager
- The configuration manager.
$sel:createdAt:Stack'
, stack_createdAt
- The date when the stack was created.
$sel:customCookbooksSource:Stack'
, stack_customCookbooksSource
- Contains the information required to retrieve an app or cookbook from a
repository. For more information, see
Adding Apps
or
Cookbooks and Recipes.
$sel:customJson:Stack'
, stack_customJson
- 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.
$sel:defaultAvailabilityZone:Stack'
, stack_defaultAvailabilityZone
- The stack's default Availability Zone. For more information, see
Regions and Endpoints.
$sel:defaultInstanceProfileArn:Stack'
, stack_defaultInstanceProfileArn
- 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.
$sel:defaultOs:Stack'
, stack_defaultOs
- The stack's default operating system.
$sel:defaultRootDeviceType:Stack'
, stack_defaultRootDeviceType
- 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.
$sel:defaultSshKeyName:Stack'
, stack_defaultSshKeyName
- A default Amazon EC2 key pair for the stack's instances. You can
override this value when you create or update an instance.
$sel:defaultSubnetId:Stack'
, stack_defaultSubnetId
- The default subnet ID; applicable only if the stack is running in a VPC.
$sel:hostnameTheme:Stack'
, stack_hostnameTheme
- The stack host name theme, with spaces replaced by underscores.
Stack
, stack_name
- The stack name.
$sel:region:Stack'
, stack_region
- The stack AWS region, such as "ap-northeast-2". For more information
about AWS regions, see
Regions and Endpoints.
$sel:serviceRoleArn:Stack'
, stack_serviceRoleArn
- The stack AWS Identity and Access Management (IAM) role.
$sel:stackId:Stack'
, stack_stackId
- The stack ID.
$sel:useCustomCookbooks:Stack'
, stack_useCustomCookbooks
- Whether the stack uses custom cookbooks.
$sel:useOpsworksSecurityGroups:Stack'
, stack_useOpsworksSecurityGroups
- Whether the stack automatically associates the AWS OpsWorks Stacks
built-in security groups with the stack's layers.
$sel:vpcId:Stack'
, stack_vpcId
- The VPC ID; applicable only if the stack is running in a VPC.
stack_agentVersion :: Lens' Stack (Maybe Text) Source #
The agent version. This parameter is set to LATEST
for auto-update. or
a version number for a fixed agent version.
stack_attributes :: Lens' Stack (Maybe (HashMap StackAttributesKeys (Maybe Text))) Source #
The stack's attributes.
stack_chefConfiguration :: Lens' Stack (Maybe ChefConfiguration) Source #
A ChefConfiguration
object that specifies whether to enable Berkshelf
and the Berkshelf version. For more information, see
Create a New Stack.
stack_configurationManager :: Lens' Stack (Maybe StackConfigurationManager) Source #
The configuration manager.
stack_customCookbooksSource :: Lens' Stack (Maybe Source) Source #
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
stack_customJson :: Lens' Stack (Maybe Text) 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.
stack_defaultAvailabilityZone :: Lens' Stack (Maybe Text) Source #
The stack's default Availability Zone. For more information, see Regions and Endpoints.
stack_defaultInstanceProfileArn :: Lens' Stack (Maybe Text) Source #
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.
stack_defaultRootDeviceType :: Lens' Stack (Maybe RootDeviceType) Source #
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.
stack_defaultSshKeyName :: Lens' Stack (Maybe Text) Source #
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
stack_defaultSubnetId :: Lens' Stack (Maybe Text) Source #
The default subnet ID; applicable only if the stack is running in a VPC.
stack_hostnameTheme :: Lens' Stack (Maybe Text) Source #
The stack host name theme, with spaces replaced by underscores.
stack_region :: Lens' Stack (Maybe Text) Source #
The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
stack_serviceRoleArn :: Lens' Stack (Maybe Text) Source #
The stack AWS Identity and Access Management (IAM) role.
stack_useCustomCookbooks :: Lens' Stack (Maybe Bool) Source #
Whether the stack uses custom cookbooks.