ResourcePolicyValidationOptions

class aws_cdk.aws_iam.ResourcePolicyValidationOptions(*, skip_resource_validation=None)

Bases: object

Options for resource-based policy validation.

Parameters:

skip_resource_validation (Optional[bool]) – Whether to skip resource validation for policies where resources are implicit (e.g., ECR repository policies where the resource is the repository itself). Default: false

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_iam as iam

resource_policy_validation_options = iam.ResourcePolicyValidationOptions(
    skip_resource_validation=False
)

Attributes

skip_resource_validation

Whether to skip resource validation for policies where resources are implicit (e.g., ECR repository policies where the resource is the repository itself).

Default:

false