CfnViewVersionProps Struct
Properties for defining a CfnViewVersion.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnViewVersionProps: connect.CfnViewVersionProps = {
viewArn: 'viewArn',
// the properties below are optional
versionDescription: 'versionDescription',
viewContentSha256: 'viewContentSha256',
};
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_connect as connect
cfn_view_version_props = connect.CfnViewVersionProps(
view_arn="viewArn",
# the properties below are optional
version_description="versionDescription",
view_content_sha256="viewContentSha256"
)
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.connect.*;
CfnViewVersionProps cfnViewVersionProps = CfnViewVersionProps.builder()
.viewArn("viewArn")
// the properties below are optional
.versionDescription("versionDescription")
.viewContentSha256("viewContentSha256")
.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.Connect;
var cfnViewVersionProps = new CfnViewVersionProps {
ViewArn = "viewArn",
// the properties below are optional
VersionDescription = "versionDescription",
ViewContentSha256 = "viewContentSha256"
};
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"
cfnViewVersionProps := &CfnViewVersionProps{
ViewArn: jsii.String("viewArn"),
// the properties below are optional
VersionDescription: jsii.String("versionDescription"),
ViewContentSha256: jsii.String("viewContentSha256"),
}
Properties
versionDescriptionoptionalstringversion_descriptionoptionalstrversionDescriptionoptionalStringVersionDescriptionoptionalstringVersionDescriptionoptional*string #The description of the view version.
viewArnstring | IViewRefview_arntyping.Union[str, IViewRef]viewArnStringViewArnstringViewArninterface{} required #The unqualified Amazon Resource Name (ARN) of the view.
For example:
arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000
viewContentSha256optionalstringview_content_sha256optionalstrviewContentSha256optionalStringViewContentSha256optionalstringViewContentSha256optional*string #Indicates the checksum value of the latest published view content.