amazonka-cloudformation-2.0: Amazon CloudFormation 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.CloudFormation.Types.Parameter

Description

 
Synopsis

Documentation

data Parameter Source #

The Parameter data type.

See: newParameter smart constructor.

Constructors

Parameter' 

Fields

  • 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's specified in your template.

  • parameterValue :: Maybe Text

    The input value associated with the parameter.

  • resolvedValue :: Maybe Text

    Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the 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
ToQuery Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

FromXML 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 #

Read Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Show Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

NFData Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Methods

rnf :: Parameter -> () #

Eq Parameter Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.Parameter

Hashable 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "Parameter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parameterKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "parameterValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resolvedValue") '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: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's specified in your template.

$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 SSM parameter key. This field is returned only for SSM parameter types in the 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_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's specified in your template.

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 SSM parameter key. This field is returned only for SSM parameter types in the 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.