Class InstanceProfileArgs.Builder

  • Enclosing class:
    InstanceProfileArgs

    public static final class InstanceProfileArgs.Builder
    extends java.lang.Object
    • Method Detail

      • name

        public InstanceProfileArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - 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.
        Returns:
        builder
      • name

        public InstanceProfileArgs.Builder name​(java.lang.String name)
        Parameters:
        name - 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.
        Returns:
        builder
      • namePrefix

        public InstanceProfileArgs.Builder namePrefix​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public InstanceProfileArgs.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • path

        public InstanceProfileArgs.Builder path​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - 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.
        Returns:
        builder
      • path

        public InstanceProfileArgs.Builder path​(java.lang.String path)
        Parameters:
        path - 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.
        Returns:
        builder
      • role

        public InstanceProfileArgs.Builder role​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        role - Name of the role to add to the profile.
        Returns:
        builder
      • role

        public InstanceProfileArgs.Builder role​(java.lang.String role)
        Parameters:
        role - Name of the role to add to the profile.
        Returns:
        builder
      • tags

        public InstanceProfileArgs.Builder tags​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • tags

        public InstanceProfileArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - 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.
        Returns:
        builder