CfnPolicyMixinProps
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnPolicyMixinProps(*, definition=None, description=None, name=None, policy_engine_id=None, validation_mode=None)
Bases:
objectProperties for CfnPolicyPropsMixin.
- Parameters:
definition (
Union[IResolvable,PolicyDefinitionProperty,Dict[str,Any],None]) – The definition structure for policies. Encapsulates different policy formats.description (
Optional[str]) – A human-readable description of the policy’s purpose and functionality.name (
Optional[str]) – The customer-assigned immutable name for the policy. Must be unique within the policy engine.policy_engine_id (
Optional[str]) – The identifier of the policy engine which contains this policy.validation_mode (
Optional[str]) – The validation mode for the policy. Determines how Cedar analyzer validation results are handled.
- 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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore cfn_policy_mixin_props = bedrockagentcore.CfnPolicyMixinProps( definition=bedrockagentcore.CfnPolicyPropsMixin.PolicyDefinitionProperty( cedar=bedrockagentcore.CfnPolicyPropsMixin.CedarPolicyProperty( statement="statement" ) ), description="description", name="name", policy_engine_id="policyEngineId", validation_mode="validationMode" )
Attributes
- definition
The definition structure for policies.
Encapsulates different policy formats.
- description
A human-readable description of the policy’s purpose and functionality.
- name
The customer-assigned immutable name for the policy.
Must be unique within the policy engine.
- policy_engine_id
The identifier of the policy engine which contains this policy.
- validation_mode
The validation mode for the policy.
Determines how Cedar analyzer validation results are handled.