CfnPermissionProps
- class aws_cdk.aws_qbusiness.CfnPermissionProps(*, actions, application_id, principal, statement_id, conditions=None)
Bases:
object
Properties for defining a
CfnPermission
.- Parameters:
actions (
Sequence
[str
]) – The list of Amazon Q Business actions that the ISV is allowed to perform.application_id (
str
) – The unique identifier of the Amazon Q Business application.principal (
str
) – Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.statement_id (
str
) – A unique identifier for the policy statement.conditions (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ConditionProperty
,Dict
[str
,Any
]]],None
])
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html
- 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 import aws_qbusiness as qbusiness cfn_permission_props = qbusiness.CfnPermissionProps( actions=["actions"], application_id="applicationId", principal="principal", statement_id="statementId", # the properties below are optional conditions=[qbusiness.CfnPermission.ConditionProperty( condition_key="conditionKey", condition_operator="conditionOperator", condition_values=["conditionValues"] )] )
Attributes
- actions
The list of Amazon Q Business actions that the ISV is allowed to perform.
- application_id
The unique identifier of the Amazon Q Business application.
- conditions
-
- Type:
see
- principal
Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.
- statement_id
A unique identifier for the policy statement.