Show / Hide Table of Contents

Class RoleArgs

Inheritance
System.Object
InputArgs
ResourceArgs
RoleArgs
Inherited Members
ResourceArgs.Empty
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
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class RoleArgs : ResourceArgs

Constructors

View Source

RoleArgs()

Declaration
public RoleArgs()

Properties

View Source

Description

Description of the RAM role. This name can have a string of 1 to 1024 characters.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Document

Authorization strategy of the RAM role. It is required when the services and ram_users are not specified.

Declaration
public Input<string> Document { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Force

This parameter is used for resource destroy. Default value is false.

Declaration
public Input<bool> Force { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Name

Name of the RAM role. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-", "_", and must not begin with a hyphen.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RamUsers

(It has been deprecated from version 1.49.0, and use field 'document' to replace.) List of ram users who can assume the RAM role. The format of each item in this list is acs:ram::${account_id}:root or acs:ram::${account_id}:user/${user_name}, such as acs:ram::1234567890000:root and acs:ram::1234567890001:user/Mary. The ${user_name} is the name of a RAM user which must exists in the Alicloud account indicated by the ${account_id}.

Declaration
[Obsolete("Field 'ram_users' has been deprecated from version 1.49.0, and use field 'document' to replace. ")]
public InputList<string> RamUsers { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Services

(It has been deprecated from version 1.49.0, and use field 'document' to replace.) List of services which can assume the RAM role. The format of each item in this list is ${service}.aliyuncs.com or ${account_id}@${service}.aliyuncs.com, such as ecs.aliyuncs.com and 1234567890000@ots.aliyuncs.com. The ${service} can be ecs, log, apigateway and so on, the ${account_id} refers to someone's Alicloud account id.

Declaration
[Obsolete("Field 'services' has been deprecated from version 1.49.0, and use field 'document' to replace. ")]
public InputList<string> Services { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Version

(It has been deprecated from version 1.49.0, and use field 'document' to replace.) Version of the RAM role policy document. Valid value is 1. Default value is 1.

Declaration
public Input<string> Version { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.