Skip to content
v2.278.0

JsonFormatRefProperty Struct ​

An object that represents the key value pairs for the JSON.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const jsonFormatRefProperty: appmesh.CfnVirtualNode.JsonFormatRefProperty = {
  key: 'key',
  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_appmesh as appmesh

json_format_ref_property = appmesh.CfnVirtualNode.JsonFormatRefProperty(
    key="key",
    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.appmesh.*;

JsonFormatRefProperty jsonFormatRefProperty = JsonFormatRefProperty.builder()
        .key("key")
        .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.AppMesh;

var jsonFormatRefProperty = new JsonFormatRefProperty {
    Key = "key",
    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"

jsonFormatRefProperty := &JsonFormatRefProperty{
	Key: jsii.String("key"),
	Value: jsii.String("value"),
}

Properties ​

keystringkeystrkeyStringKeystringKey*string required #
The specified key for the JSON.
valuestringvaluestrvalueStringValuestringValue*string required #
The specified value for the JSON.