Skip to content

CloudFormation  >  Structures  >  Parameter

Parameter

Structure Class

Parameter dataclass

Bases: _SerdeShape

The Parameter data type.

Attributes

parameter_key class-attribute instance-attribute
parameter_key: str | None = ...

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_value class-attribute instance-attribute
parameter_value: str | None = ...

The input value associated with the parameter.

resolved_value class-attribute instance-attribute
resolved_value: str | None = ...

Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for Systems Manager parameter types in the template. For more information, see Specify existing resources at runtime with CloudFormation-supplied parameter types in the CloudFormation User Guide.

use_previous_value class-attribute instance-attribute
use_previous_value: bool | None = ...

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.