Package com.pulumi.aws.iam
Class InstanceProfileArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.iam.InstanceProfileArgs
-
public final class InstanceProfileArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceProfileArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static InstanceProfileArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceProfileArgs.Builder
builder()
static InstanceProfileArgs.Builder
builder(InstanceProfileArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
namePrefix()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
path()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
role()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
tags()
-
-
-
Field Detail
-
Empty
public static final InstanceProfileArgs Empty
-
-
Method Detail
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error.
-
namePrefix
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> namePrefix()
- Returns:
- Creates a unique name beginning with the specified prefix. Conflicts with `name`.
-
path
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> path()
- Returns:
- Path to the instance profile. For more information about paths, see [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the IAM User Guide. Can be a string of characters consisting of either a forward slash (`/`) by itself or a string that must begin and end with forward slashes. Can include any ASCII character from the ! (!) through the DEL character (), including most punctuation characters, digits, and upper and lowercase letters.
-
role
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> role()
- Returns:
- Name of the role to add to the profile.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Map of resource tags for the IAM Instance Profile. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
builder
public static InstanceProfileArgs.Builder builder()
-
builder
public static InstanceProfileArgs.Builder builder(InstanceProfileArgs defaults)
-
-