CfnAssistantPropsMixin
- class aws_cdk.mixins_preview.aws_wisdom.mixins.CfnAssistantPropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies an Amazon Connect Wisdom assistant.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html
- CloudformationResource:
AWS::Wisdom::Assistant
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_wisdom import mixins as wisdom_mixins cfn_assistant_props_mixin = wisdom_mixins.CfnAssistantPropsMixin(wisdom_mixins.CfnAssistantMixinProps( description="description", name="name", server_side_encryption_configuration=wisdom_mixins.CfnAssistantPropsMixin.ServerSideEncryptionConfigurationProperty( kms_key_id="kmsKeyId" ), tags=[CfnTag( key="key", value="value" )], type="type" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Wisdom::Assistant.- Parameters:
props (
Union[CfnAssistantMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['description', 'name', 'serverSideEncryptionConfiguration', 'tags', 'type']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ServerSideEncryptionConfigurationProperty
- class CfnAssistantPropsMixin.ServerSideEncryptionConfigurationProperty(*, kms_key_id=None)
Bases:
objectThe configuration information for the customer managed key used for encryption.
- Parameters:
kms_key_id (
Optional[str]) – The customer managed key used for encryption. The customer managed key must have a policy that allowskms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allowkms:Decrypt,kms:GenerateDataKey*, andkms:DescribeKeypermissions to theconnect.amazonaws.com.rproxy.govskope.caservice principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_wisdom import mixins as wisdom_mixins server_side_encryption_configuration_property = wisdom_mixins.CfnAssistantPropsMixin.ServerSideEncryptionConfigurationProperty( kms_key_id="kmsKeyId" )
Attributes
- kms_key_id
The customer managed key used for encryption.
The customer managed key must have a policy that allows
kms:CreateGrantandkms:DescribeKeypermissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allowkms:Decrypt,kms:GenerateDataKey*, andkms:DescribeKeypermissions to theconnect.amazonaws.com.rproxy.govskope.caservice principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance . For information about valid ID values, see Key identifiers (KeyId) in the AWS Key Management Service Developer Guide .