Skip to content
v2.278.0

StateTemplateReference Struct ​

A reference to a StateTemplate resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as interfaces_iotfleetwise } from 'aws-cdk-lib/interfaces';
const stateTemplateReference: interfaces_iotfleetwise.StateTemplateReference = {
  stateTemplateArn: 'stateTemplateArn',
  stateTemplateName: 'stateTemplateName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_iotfleetwise as interfaces_iotfleetwise

state_template_reference = interfaces_iotfleetwise.StateTemplateReference(
    state_template_arn="stateTemplateArn",
    state_template_name="stateTemplateName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.iotfleetwise.*;

StateTemplateReference stateTemplateReference = StateTemplateReference.builder()
        .stateTemplateArn("stateTemplateArn")
        .stateTemplateName("stateTemplateName")
        .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.Interfaces.IoTFleetWise;

var stateTemplateReference = new StateTemplateReference {
    StateTemplateArn = "stateTemplateArn",
    StateTemplateName = "stateTemplateName"
};
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"

stateTemplateReference := &StateTemplateReference{
	StateTemplateArn: jsii.String("stateTemplateArn"),
	StateTemplateName: jsii.String("stateTemplateName"),
}

Properties ​

stateTemplateArnstringstate_template_arnstrstateTemplateArnStringStateTemplateArnstringStateTemplateArn*string required #
The ARN of the StateTemplate resource.
stateTemplateNamestringstate_template_namestrstateTemplateNameStringStateTemplateNamestringStateTemplateName*string required #
The Name of the StateTemplate resource.