libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.Types.Stack

Description

 
Synopsis

Documentation

data Stack Source #

Describes a stack.

See: newStack smart constructor.

Constructors

Stack' 

Fields

Instances

Instances details
Eq Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

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

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

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 #

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 #

NFData Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

rnf :: Stack -> () #

Hashable Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

Methods

hashWithSalt :: Int -> Stack -> Int #

hash :: Stack -> Int #

FromJSON Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

type Rep Stack Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Stack

type Rep Stack = D1 ('MetaData "Stack" "Amazonka.OpsWorks.Types.Stack" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "Stack'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "defaultInstanceProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "defaultRootDeviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RootDeviceType)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "chefConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChefConfiguration)) :*: S1 ('MetaSel ('Just "agentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "defaultSshKeyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "customJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customCookbooksSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Source)))))) :*: (((S1 ('MetaSel ('Just "defaultAvailabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap StackAttributesKeys (Maybe Text))))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "useOpsworksSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "useCustomCookbooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "defaultSubnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "configurationManager") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackConfigurationManager)) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostnameTheme") '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: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:serviceRoleArn:Stack', stack_serviceRoleArn - The stack AWS Identity and Access Management (IAM) role.

$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:arn:Stack', stack_arn - The stack's ARN.

$sel:createdAt:Stack', stack_createdAt - The date when the stack was created.

$sel:vpcId:Stack', stack_vpcId - The VPC ID; applicable only if the stack is running in a VPC.

$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: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: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: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: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:defaultAvailabilityZone:Stack', stack_defaultAvailabilityZone - The stack's default Availability Zone. For more information, see Regions and Endpoints.

$sel:attributes:Stack', stack_attributes - The stack's attributes.

$sel:name:Stack', stack_name - The stack name.

$sel:defaultOs:Stack', stack_defaultOs - The stack's default operating system.

$sel:useOpsworksSecurityGroups:Stack', stack_useOpsworksSecurityGroups - Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers.

$sel:useCustomCookbooks:Stack', stack_useCustomCookbooks - Whether the stack uses custom cookbooks.

$sel:defaultSubnetId:Stack', stack_defaultSubnetId - The default subnet ID; applicable only if the stack is running in a VPC.

$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:configurationManager:Stack', stack_configurationManager - The configuration manager.

$sel:stackId:Stack', stack_stackId - The stack ID.

$sel:hostnameTheme:Stack', stack_hostnameTheme - The stack host name theme, with spaces replaced by underscores.

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

The stack AWS Identity and Access Management (IAM) role.

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

The stack's ARN.

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

The date when the stack was created.

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

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

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

The stack's default Availability Zone. For more information, see Regions and Endpoints.

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

The stack name.

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

The stack's default operating system.

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

Whether the stack uses custom cookbooks.

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

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

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

The stack host name theme, with spaces replaced by underscores.