Class RoleArgs
Inherited Members
Namespace: Pulumi.Aws.Iam
Assembly: Pulumi.Aws.dll
Syntax
public sealed class RoleArgs : ResourceArgs
Constructors
View SourceRoleArgs()
Declaration
public RoleArgs()
Properties
View SourceAssumeRolePolicy
The policy that grants an entity permission to assume the role.
Declaration
public Input<string> AssumeRolePolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
The description of the role.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ForceDetachPolicies
Specifies to force detaching any policies the role has before destroying it. Defaults to false.
Declaration
public Input<bool> ForceDetachPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
MaxSessionDuration
The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
Declaration
public Input<int> MaxSessionDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The name of the role. If omitted, this provider will assign a random, unique name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamePrefix
Creates a unique name beginning with the specified prefix. Conflicts with name.
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Path
The path to the role. See IAM Identifiers for more information.
Declaration
public Input<string> Path { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PermissionsBoundary
The ARN of the policy that is used to set the permissions boundary for the role.
Declaration
public Input<string> PermissionsBoundary { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
Key-value map of tags for the IAM role
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |