amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpsWorks.Types.Stack

Description

 
Synopsis

Documentation

data Stack Source #

Describes a stack.

See: newStack smart constructor.

Constructors

Stack' 

Fields

Instances

Instances details
FromJSON Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Generic Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Associated Types

type Rep Stack :: Type -> Type #

Methods

from :: Stack -> Rep Stack x #

to :: Rep Stack x -> Stack #

Read Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Show Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

showsPrec :: Int -> Stack -> ShowS #

show :: Stack -> String #

showList :: [Stack] -> ShowS #

NFData Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

rnf :: Stack -> () #

Eq Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

(==) :: Stack -> Stack -> Bool #

(/=) :: Stack -> Stack -> Bool #

Hashable Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

hashWithSalt :: Int -> Stack -> Int #

hash :: Stack -> Int #

type Rep Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

type Rep Stack = D1 ('MetaData "Stack" "Amazonka.OpsWorks.Types.Stack" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "Stack'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "agentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap StackAttributesKeys (Maybe Text)))) :*: (S1 ('MetaSel ('Just "chefConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChefConfiguration)) :*: S1 ('MetaSel ('Just "configurationManager") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackConfigurationManager))))) :*: ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "customCookbooksSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Source)) :*: S1 ('MetaSel ('Just "customJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "defaultAvailabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultInstanceProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "defaultRootDeviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RootDeviceType)) :*: S1 ('MetaSel ('Just "defaultSshKeyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "defaultSubnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hostnameTheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "useCustomCookbooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "useOpsworksSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newStack :: Stack Source #

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_arn :: Lens' Stack (Maybe Text) Source #

The stack's ARN.

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_createdAt :: Lens' Stack (Maybe Text) Source #

The date when the stack was created.

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_defaultOs :: Lens' Stack (Maybe Text) Source #

The stack's default operating system.

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_name :: Lens' Stack (Maybe Text) Source #

The stack name.

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.

stack_useOpsworksSecurityGroups :: Lens' Stack (Maybe Bool) Source #

Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers.

stack_vpcId :: Lens' Stack (Maybe Text) Source #

The VPC ID; applicable only if the stack is running in a VPC.