Interface CfnDistribution.ParameterDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistribution.ParameterDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnDistribution
@Stability(Stable)
public static interface CfnDistribution.ParameterDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
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:
// 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.*;
ParameterDefinitionProperty parameterDefinitionProperty = ParameterDefinitionProperty.builder()
.definition(DefinitionProperty.builder()
.stringSchema(StringSchemaProperty.builder()
.required(false)
// the properties below are optional
.comment("comment")
.defaultValue("defaultValue")
.build())
.build())
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDistribution.ParameterDefinitionPropertystatic final classAn implementation forCfnDistribution.ParameterDefinitionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
The value that you assigned to the parameter.Returns union: either
IResolvableorCfnDistribution.DefinitionProperty- See Also:
-
getName
The name of the parameter.- See Also:
-
builder
-