Skip to content
v2.277.0

ParameterProperty Struct ​

A list of parameter values to add to the resource.

A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.

Example ​

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

parameter_property = cloudfront.CfnDistributionTenant.ParameterProperty(
    name="name",
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;

ParameterProperty parameterProperty = ParameterProperty.builder()
        .name("name")
        .value("value")
        .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.AWS.CloudFront;

var parameterProperty = new ParameterProperty {
    Name = "name",
    Value = "value"
};
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 "github.com/aws/aws-cdk-go/awscdk"

parameterProperty := &ParameterProperty{
	Name: jsii.String("name"),
	Value: jsii.String("value"),
}

Properties ​

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The parameter name.
valueoptionalstringvalueoptionalstrvalueoptionalStringValueoptionalstringValueoptional*string #
The parameter value.