Show / Hide Table of Contents

Class PolicyStatement

Inheritance
System.Object
PolicyStatement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ram.Outputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class PolicyStatement

Fields

View Source

Actions

(It has been deprecated from version 1.49.0, and use field 'document' to replace.) List of operations for the resource. The format of each item in this list is ${service}:${action_name}, such as oss:ListBuckets and ecs:Describe*. The ${service} can be ecs, oss, ots and so on, the ${action_name} refers to the name of an api interface which related to the ${service}.

Declaration
public readonly ImmutableArray<string> Actions
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
View Source

Effect

(It has been deprecated from version 1.49.0, and use field 'document' to replace.) This parameter indicates whether or not the action is allowed. Valid values are Allow and Deny.

Declaration
public readonly string Effect
Field Value
Type Description
System.String
View Source

Resources

(It has been deprecated from version 1.49.0, and use field 'document' to replace.) List of specific objects which will be authorized. The format of each item in this list is acs:${service}:${region}:${account_id}:${relative_id}, such as acs:ecs:*:*:instance/inst-002 and acs:oss:*:1234567890000:mybucket. The ${service} can be ecs, oss, ots and so on, the ${region} is the region info which can use * replace when it is not supplied, the ${account_id} refers to someone's Alicloud account id or you can use * to replace, the ${relative_id} is the resource description section which related to the ${service}.

Declaration
public readonly ImmutableArray<string> Resources
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.