libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
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.CloudFormation.Types.Parameter

Description

 
Synopsis

Documentation

data Parameter Source #

The Parameter data type.

See: newParameter smart constructor.

Constructors

Parameter' 

Fields

  • parameterValue :: Maybe Text

    The input value associated with the parameter.

  • resolvedValue :: Maybe Text

    Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for SSM parameter types in the template.

  • parameterKey :: Maybe Text

    The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that is specified in your template.

  • usePreviousValue :: Maybe Bool

    During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

Instances

Instances details
Eq Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Read Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Show Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Generic Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Associated Types

type Rep Parameter :: Type -> Type #

NFData Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Methods

rnf :: Parameter -> () #

Hashable Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

ToQuery Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

FromXML Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

type Rep Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

type Rep Parameter = D1 ('MetaData "Parameter" "Amazonka.CloudFormation.Types.Parameter" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "Parameter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parameterValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resolvedValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "parameterKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usePreviousValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newParameter :: Parameter Source #

Create a value of Parameter 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:parameterValue:Parameter', parameter_parameterValue - The input value associated with the parameter.

$sel:resolvedValue:Parameter', parameter_resolvedValue - Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for SSM parameter types in the template.

$sel:parameterKey:Parameter', parameter_parameterKey - The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that is specified in your template.

$sel:usePreviousValue:Parameter', parameter_usePreviousValue - During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.

parameter_parameterValue :: Lens' Parameter (Maybe Text) Source #

The input value associated with the parameter.

parameter_resolvedValue :: Lens' Parameter (Maybe Text) Source #

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for SSM parameter types in the template.

parameter_parameterKey :: Lens' Parameter (Maybe Text) Source #

The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that is specified in your template.

parameter_usePreviousValue :: Lens' Parameter (Maybe Bool) Source #

During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true, do not specify a parameter value.