Skip to content
v2.278.0

DefinitionDocumentProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotthingsgraph as iotthingsgraph } from 'aws-cdk-lib';
const definitionDocumentProperty: iotthingsgraph.CfnFlowTemplate.DefinitionDocumentProperty = {
  language: 'language',
  text: 'text',
};
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_iotthingsgraph as iotthingsgraph

definition_document_property = iotthingsgraph.CfnFlowTemplate.DefinitionDocumentProperty(
    language="language",
    text="text"
)
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.iotthingsgraph.*;

DefinitionDocumentProperty definitionDocumentProperty = DefinitionDocumentProperty.builder()
        .language("language")
        .text("text")
        .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.IoTThingsGraph;

var definitionDocumentProperty = new DefinitionDocumentProperty {
    Language = "language",
    Text = "text"
};
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"

definitionDocumentProperty := &DefinitionDocumentProperty{
	Language: jsii.String("language"),
	Text: jsii.String("text"),
}

Properties ​

languagestringlanguagestrlanguageStringLanguagestringLanguage*string required #
textstringtextstrtextStringTextstringText*string required #