IPolicyAttachment
-
Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource
-
Implemented By: PolicyAttachment, IPolicyAttachment
Represents a PolicyAttachment.
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node for this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
AttrAttachDate | object | Attribute AttachDate: Authorization time. |
AttrDescription | object | Attribute Description: Policy description. |
AttrPolicyName | object | Attribute PolicyName: The name of the policy. |
AttrPolicyType | object | Attribute PolicyType: The type of the policy. |
AttrPrincipalName | object | Attribute PrincipalName: The name of the object to which you want to attach the policy. |
AttrPrincipalType | object | Attribute PrincipalType: The type of the object to which you want to attach the policy. |
AttrResourceGroupId | object | 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 Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node for this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.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 Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
AttrAttachDateRequired
public object AttrAttachDate { get; }
- Type: object
Attribute AttachDate: Authorization time.
AttrDescriptionRequired
public object AttrDescription { get; }
- Type: object
Attribute Description: Policy description.
AttrPolicyNameRequired
public object AttrPolicyName { get; }
- Type: object
Attribute PolicyName: The name of the policy.
AttrPolicyTypeRequired
public object AttrPolicyType { get; }
- Type: object
Attribute PolicyType: The type of the policy.
AttrPrincipalNameRequired
public object AttrPrincipalName { get; }
- Type: object
Attribute PrincipalName: The name of the object to which you want to attach the policy.
AttrPrincipalTypeRequired
public object AttrPrincipalType { get; }
- Type: object
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 object AttrResourceGroupId { get; }
- Type: object
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 Props { get; }
- Type: PolicyAttachmentProps