Skip to content
v2.275.0

CfnPromptProps Struct ​

Properties for defining a CfnPrompt.

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 cfnPromptProps: connect.CfnPromptProps = {
  instanceArn: 'instanceArn',
  name: 'name',

  // the properties below are optional
  description: 'description',
  s3Uri: 's3Uri',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the prompt.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{}required#
The identifier of the Connect Customer instance.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the prompt.
s3Urioptionalstrings3_urioptionalstrs3UrioptionalStringS3UrioptionalstringS3Urioptional*string#
The URI for the S3 bucket where the prompt is stored.

This property is required when you create a prompt.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags used to organize, track, or control access for this resource.

For example, { "tags": {"key1":"value1", "key2":"value2"} }.