Skip to content
v2.277.0

CfnDynamicReferenceProps Struct ​

Properties for a Dynamic Reference.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnDynamicReferenceProps: cdk.CfnDynamicReferenceProps = {
  referenceKey: 'referenceKey',
  service: cdk.CfnDynamicReferenceService.SSM,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

cfn_dynamic_reference_props = cdk.CfnDynamicReferenceProps(
    reference_key="referenceKey",
    service=cdk.CfnDynamicReferenceService.SSM
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

CfnDynamicReferenceProps cfnDynamicReferenceProps = CfnDynamicReferenceProps.builder()
        .referenceKey("referenceKey")
        .service(CfnDynamicReferenceService.SSM)
        .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;

var cfnDynamicReferenceProps = new CfnDynamicReferenceProps {
    ReferenceKey = "referenceKey",
    Service = CfnDynamicReferenceService.SSM
};
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 cdk "github.com/aws/aws-cdk-go/awscdk"

cfnDynamicReferenceProps := &CfnDynamicReferenceProps{
	ReferenceKey: jsii.String("referenceKey"),
	Service: cdk.CfnDynamicReferenceService_SSM,
}

Properties ​

referenceKeystringreference_keystrreferenceKeyStringReferenceKeystringReferenceKey*string required #
The reference key of the dynamic reference.
The service to retrieve the dynamic reference from.