IManagedPolicy
- class aws_cdk.aws_iam.IManagedPolicy(*args, **kwargs)
Bases:
IManagedPolicyRef,ProtocolA managed policy.
Methods
- with_(*mixins)
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
- Parameters:
mixins (
IMixin) – The mixins to apply.- Return type:
- Returns:
This construct for chaining
Attributes
- env
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.
- managed_policy_arn
The ARN of the managed policy.
- Attribute:
true
- managed_policy_ref
(experimental) A reference to a ManagedPolicy resource.
- Stability:
experimental
- node
The tree node.