IPolicyAttachment
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: PolicyAttachment, IPolicyAttachment
Represents a PolicyAttachment.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrAttachDate | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AttachDate: Authorization time. |
attrDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Description: Policy description. |
attrPolicyName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PolicyName: The name of the policy. |
attrPolicyType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PolicyType: The type of the policy. |
attrPrincipalName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PrincipalName: The name of the object to which you want to attach the policy. |
attrPrincipalType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute PrincipalType: The type of the object to which you want to attach the policy. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. |
props | PolicyAttachmentProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.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 Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrAttachDateRequired
public java.lang.Object getAttrAttachDate();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AttachDate: Authorization time.
attrDescriptionRequired
public java.lang.Object getAttrDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Description: Policy description.
attrPolicyNameRequired
public java.lang.Object getAttrPolicyName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PolicyName: The name of the policy.
attrPolicyTypeRequired
public java.lang.Object getAttrPolicyType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PolicyType: The type of the policy.
attrPrincipalNameRequired
public java.lang.Object getAttrPrincipalName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PrincipalName: The name of the object to which you want to attach the policy.
attrPrincipalTypeRequired
public java.lang.Object getAttrPrincipalType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute PrincipalType: The type of the object to which you want to attach the policy.
Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role
attrResourceGroupIdRequired
public java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.
propsRequired
public PolicyAttachmentProps getProps();
- Type: PolicyAttachmentProps