Class InstanceProfileArgs
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.Aws.Iam
Assembly: Pulumi.Aws.dll
Syntax
public sealed class InstanceProfileArgs : ResourceArgs
Constructors
View SourceInstanceProfileArgs()
Declaration
public InstanceProfileArgs()
Properties
View SourceName
The profile's name. 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
Path in which to create the profile.
Declaration
public Input<string> Path { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Role
The role name to include in the profile.
Declaration
public Input<string> Role { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Roles
A list of role names to include in the profile. The current default is 1. If you see an error message similar to Cannot exceed quota for InstanceSessionsPerInstanceProfile: 1, then you must contact AWS support and ask for a limit increase.
Declaration
[Obsolete("Use `role` instead. Only a single role can be passed to an IAM Instance Profile")]
public InputList<string> Roles { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |