Skip to content
v2.277.0

ParameterProperty Struct ​

The Parameter data type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const parameterProperty: cdk.CfnStackSet.ParameterProperty = {
  parameterKey: 'parameterKey',
  parameterValue: 'parameterValue',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

parameter_property = cdk.CfnStackSet.ParameterProperty(
    parameter_key="parameterKey",
    parameter_value="parameterValue"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

ParameterProperty parameterProperty = ParameterProperty.builder()
        .parameterKey("parameterKey")
        .parameterValue("parameterValue")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var parameterProperty = new ParameterProperty {
    ParameterKey = "parameterKey",
    ParameterValue = "parameterValue"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

parameterProperty := &ParameterProperty{
	ParameterKey: jsii.String("parameterKey"),
	ParameterValue: jsii.String("parameterValue"),
}

Properties ​

parameterKeystringparameter_keystrparameterKeyStringParameterKeystringParameterKey*stringrequired#
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.

parameterValuestringparameter_valuestrparameterValueStringParameterValuestringParameterValue*stringrequired#
The input value associated with the parameter.