UntrustedCodeBoundaryPolicyProps

class aws_cdk.aws_codebuild.UntrustedCodeBoundaryPolicyProps(*, additional_statements=None, managed_policy_name=None)

Bases: object

Construction properties for UntrustedCodeBoundaryPolicy.

Parameters:
  • additional_statements (Optional[Sequence[PolicyStatement]]) – Additional statements to add to the default set of statements. Default: - No additional statements

  • managed_policy_name (Optional[str]) – The name of the managed policy. Default: - A name is automatically generated.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codebuild as codebuild
import aws_cdk.aws_iam as iam

# policy_statement: iam.PolicyStatement

untrusted_code_boundary_policy_props = codebuild.UntrustedCodeBoundaryPolicyProps(
    additional_statements=[policy_statement],
    managed_policy_name="managedPolicyName"
)

Attributes

additional_statements

Additional statements to add to the default set of statements.

Default:
  • No additional statements

managed_policy_name

The name of the managed policy.

Default:
  • A name is automatically generated.