IPolicy
Represents a Policy.
Properties
| Name | Type | Description |
|---|---|---|
node | @alicloud/ros-cdk-core.ConstructNode | The construct tree node for this construct. |
env | @alicloud/ros-cdk-core.IResourceEnvironment | The environment this resource belongs to. |
stack | @alicloud/ros-cdk-core.Stack | The stack in which this resource is defined. |
attrPolicyClassId | string | @alicloud/ros-cdk-core.IResolvable | Attribute PolicyClassId: The ID of policy class. |
attrPolicyClassName | string | @alicloud/ros-cdk-core.IResolvable | Attribute PolicyClassName: The name of policy class. |
attrPolicyConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute PolicyConfig: Policy Configuration. |
attrPolicyId | string | @alicloud/ros-cdk-core.IResolvable | Attribute PolicyId: The ID of the policy. |
attrPolicyName | string | @alicloud/ros-cdk-core.IResolvable | Attribute PolicyName: The name of the policy. |
props | PolicyProps | No description. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node for this construct.
envRequired
public readonly env: IResourceEnvironment;
- Type: @alicloud/ros-cdk-core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
attrPolicyClassIdRequired
public readonly attrPolicyClassId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute PolicyClassId: The ID of policy class.
attrPolicyClassNameRequired
public readonly attrPolicyClassName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute PolicyClassName: The name of policy class.
attrPolicyConfigRequired
public readonly attrPolicyConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute PolicyConfig: Policy Configuration.
attrPolicyIdRequired
public readonly attrPolicyId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute PolicyId: The ID of the policy.
attrPolicyNameRequired
public readonly attrPolicyName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute PolicyName: The name of the policy.
propsRequired
public readonly props: PolicyProps;
- Type: PolicyProps