CommentContentProperty Struct
Represents a comment.
| Source | Generated at build time |
|---|---|
| Type last changed | v2.272.0 · 30 Sep 2026 |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cases as cases } from 'aws-cdk-lib';
const commentContentProperty: cases.CfnRelatedItem.CommentContentProperty = {
body: 'body',
contentType: 'contentType',
};
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_cases as cases
comment_content_property = cases.CfnRelatedItem.CommentContentProperty(
body="body",
content_type="contentType"
)
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.cases.*;
CommentContentProperty commentContentProperty = CommentContentProperty.builder()
.body("body")
.contentType("contentType")
.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.Cases;
var commentContentProperty = new CommentContentProperty {
Body = "body",
ContentType = "contentType"
};
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"
commentContentProperty := &CommentContentProperty{
Body: jsii.String("body"),
ContentType: jsii.String("contentType"),
}