Class InstanceProfileArgs.Builder

  • Enclosing class:
    InstanceProfileArgs

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

      • availabilityZone

        public InstanceProfileArgs.Builder availabilityZone​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
        Returns:
        builder
      • availabilityZone

        public InstanceProfileArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
        Returns:
        builder
      • description

        public InstanceProfileArgs.Builder description​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description for the instance profile.
        Returns:
        builder
      • description

        public InstanceProfileArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description for the instance profile.
        Returns:
        builder
      • kmsKeyArn

        public InstanceProfileArgs.Builder kmsKeyArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the connection parameters for the instance profile. If you don't specify a value, DMS uses your default encryption key.
        Returns:
        builder
      • kmsKeyArn

        public InstanceProfileArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the connection parameters for the instance profile. If you don't specify a value, DMS uses your default encryption key.
        Returns:
        builder
      • name

        public InstanceProfileArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name for the instance profile. If omitted, DMS assigns a generated name.
        Returns:
        builder
      • name

        public InstanceProfileArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name for the instance profile. If omitted, DMS assigns a generated name.
        Returns:
        builder
      • networkType

        public InstanceProfileArgs.Builder networkType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - Network type for the instance profile. Valid values are `IPV4`, `IPV6`, and `DUAL`.
        Returns:
        builder
      • networkType

        public InstanceProfileArgs.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - Network type for the instance profile. Valid values are `IPV4`, `IPV6`, and `DUAL`.
        Returns:
        builder
      • publiclyAccessible

        public InstanceProfileArgs.Builder publiclyAccessible​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
        Parameters:
        publiclyAccessible - Whether the instance profile is publicly accessible. Default is `true`.
        Returns:
        builder
      • publiclyAccessible

        public InstanceProfileArgs.Builder publiclyAccessible​(java.lang.Boolean publiclyAccessible)
        Parameters:
        publiclyAccessible - Whether the instance profile is publicly accessible. Default is `true`.
        Returns:
        builder
      • region

        public InstanceProfileArgs.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public InstanceProfileArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • subnetGroupIdentifier

        public InstanceProfileArgs.Builder subnetGroupIdentifier​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> subnetGroupIdentifier)
        Parameters:
        subnetGroupIdentifier - Subnet group to associate with the instance profile.
        Returns:
        builder
      • subnetGroupIdentifier

        public InstanceProfileArgs.Builder subnetGroupIdentifier​(java.lang.String subnetGroupIdentifier)
        Parameters:
        subnetGroupIdentifier - Subnet group to associate with the instance 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 tags assigned to the resource. If configured with a provider `defaultTags` 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 tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vpcSecurityGroupIds

        public InstanceProfileArgs.Builder vpcSecurityGroupIds​(@Nullable
                                                               com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
        Returns:
        builder
      • vpcSecurityGroupIds

        public InstanceProfileArgs.Builder vpcSecurityGroupIds​(java.util.List<java.lang.String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
        Returns:
        builder
      • vpcSecurityGroupIds

        public InstanceProfileArgs.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
        Returns:
        builder