Skip to content
v2.278.0

ContentReference Struct ​

A reference to a Content resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as interfaces_wisdom } from 'aws-cdk-lib/interfaces';
const contentReference: interfaces_wisdom.ContentReference = {
  contentArn: 'contentArn',
};
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_wisdom as interfaces_wisdom

content_reference = interfaces_wisdom.ContentReference(
    content_arn="contentArn"
)
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.wisdom.*;

ContentReference contentReference = ContentReference.builder()
        .contentArn("contentArn")
        .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.Wisdom;

var contentReference = new ContentReference {
    ContentArn = "contentArn"
};
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"

contentReference := &ContentReference{
	ContentArn: jsii.String("contentArn"),
}

Properties ​

contentArnstringcontent_arnstrcontentArnStringContentArnstringContentArn*string required #
The ContentArn of the Content resource.