1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. dms
  6. InstanceProfile
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Manages an AWS DMS (Database Migration) Instance Profile. An instance profile provides network and encryption information to DMS Schema Conversion for use in connecting to a data provider.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.dms.InstanceProfile("example", {name: "example"});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.dms.InstanceProfile("example", name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/dms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dms.NewInstanceProfile(ctx, "example", &dms.InstanceProfileArgs{
    			Name: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Dms.InstanceProfile("example", new()
        {
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.dms.InstanceProfile;
    import com.pulumi.aws.dms.InstanceProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new InstanceProfile("example", InstanceProfileArgs.builder()
                .name("example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:dms:InstanceProfile
        properties:
          name: example
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_dms_instanceprofile" "example" {
      name = "example"
    }
    

    With Networking Configuration

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.dms.InstanceProfile("example", {
        name: "example",
        description: "example instance profile",
        networkType: "IPV4",
        publiclyAccessible: false,
        subnetGroupIdentifier: exampleAwsDmsReplicationSubnetGroup.id,
        vpcSecurityGroupIds: [exampleAwsSecurityGroup.id],
        kmsKeyArn: exampleAwsKmsKey.arn,
        tags: {
            Name: "example",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.dms.InstanceProfile("example",
        name="example",
        description="example instance profile",
        network_type="IPV4",
        publicly_accessible=False,
        subnet_group_identifier=example_aws_dms_replication_subnet_group["id"],
        vpc_security_group_ids=[example_aws_security_group["id"]],
        kms_key_arn=example_aws_kms_key["arn"],
        tags={
            "Name": "example",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/dms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dms.NewInstanceProfile(ctx, "example", &dms.InstanceProfileArgs{
    			Name:                  pulumi.String("example"),
    			Description:           pulumi.String("example instance profile"),
    			NetworkType:           pulumi.String("IPV4"),
    			PubliclyAccessible:    pulumi.Bool(false),
    			SubnetGroupIdentifier: pulumi.Any(exampleAwsDmsReplicationSubnetGroup.Id),
    			VpcSecurityGroupIds: pulumi.StringArray{
    				exampleAwsSecurityGroup.Id,
    			},
    			KmsKeyArn: pulumi.Any(exampleAwsKmsKey.Arn),
    			Tags: pulumi.StringMap{
    				"Name": pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Dms.InstanceProfile("example", new()
        {
            Name = "example",
            Description = "example instance profile",
            NetworkType = "IPV4",
            PubliclyAccessible = false,
            SubnetGroupIdentifier = exampleAwsDmsReplicationSubnetGroup.Id,
            VpcSecurityGroupIds = new[]
            {
                exampleAwsSecurityGroup.Id,
            },
            KmsKeyArn = exampleAwsKmsKey.Arn,
            Tags = 
            {
                { "Name", "example" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.dms.InstanceProfile;
    import com.pulumi.aws.dms.InstanceProfileArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new InstanceProfile("example", InstanceProfileArgs.builder()
                .name("example")
                .description("example instance profile")
                .networkType("IPV4")
                .publiclyAccessible(false)
                .subnetGroupIdentifier(exampleAwsDmsReplicationSubnetGroup.id())
                .vpcSecurityGroupIds(exampleAwsSecurityGroup.id())
                .kmsKeyArn(exampleAwsKmsKey.arn())
                .tags(Map.of("Name", "example"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:dms:InstanceProfile
        properties:
          name: example
          description: example instance profile
          networkType: IPV4
          publiclyAccessible: false
          subnetGroupIdentifier: ${exampleAwsDmsReplicationSubnetGroup.id}
          vpcSecurityGroupIds:
            - ${exampleAwsSecurityGroup.id}
          kmsKeyArn: ${exampleAwsKmsKey.arn}
          tags:
            Name: example
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_dms_instanceprofile" "example" {
      name                    = "example"
      description             = "example instance profile"
      network_type            = "IPV4"
      publicly_accessible     = false
      subnet_group_identifier = exampleAwsDmsReplicationSubnetGroup.id
      vpc_security_group_ids  = [exampleAwsSecurityGroup.id]
      kms_key_arn             = exampleAwsKmsKey.arn
      tags = {
        "Name" = "example"
      }
    }
    

    Create InstanceProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InstanceProfile(name: string, args?: InstanceProfileArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceProfile(resource_name: str,
                        args: Optional[InstanceProfileArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceProfile(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        availability_zone: Optional[str] = None,
                        description: Optional[str] = None,
                        kms_key_arn: Optional[str] = None,
                        name: Optional[str] = None,
                        network_type: Optional[str] = None,
                        publicly_accessible: Optional[bool] = None,
                        region: Optional[str] = None,
                        subnet_group_identifier: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        vpc_security_group_ids: Optional[Sequence[str]] = None)
    func NewInstanceProfile(ctx *Context, name string, args *InstanceProfileArgs, opts ...ResourceOption) (*InstanceProfile, error)
    public InstanceProfile(string name, InstanceProfileArgs? args = null, CustomResourceOptions? opts = null)
    public InstanceProfile(String name, InstanceProfileArgs args)
    public InstanceProfile(String name, InstanceProfileArgs args, CustomResourceOptions options)
    
    type: aws:dms:InstanceProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_dms_instance_profile" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args InstanceProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InstanceProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InstanceProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var awsInstanceProfileResource = new Aws.Dms.InstanceProfile("awsInstanceProfileResource", new()
    {
        AvailabilityZone = "string",
        Description = "string",
        KmsKeyArn = "string",
        Name = "string",
        NetworkType = "string",
        PubliclyAccessible = false,
        Region = "string",
        SubnetGroupIdentifier = "string",
        Tags = 
        {
            { "string", "string" },
        },
        VpcSecurityGroupIds = new[]
        {
            "string",
        },
    });
    
    example, err := dms.NewInstanceProfile(ctx, "awsInstanceProfileResource", &dms.InstanceProfileArgs{
    	AvailabilityZone:      pulumi.String("string"),
    	Description:           pulumi.String("string"),
    	KmsKeyArn:             pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	NetworkType:           pulumi.String("string"),
    	PubliclyAccessible:    pulumi.Bool(false),
    	Region:                pulumi.String("string"),
    	SubnetGroupIdentifier: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VpcSecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "aws_dms_instance_profile" "awsInstanceProfileResource" {
      lifecycle {
        create_before_destroy = true
      }
      availability_zone       = "string"
      description             = "string"
      kms_key_arn             = "string"
      name                    = "string"
      network_type            = "string"
      publicly_accessible     = false
      region                  = "string"
      subnet_group_identifier = "string"
      tags = {
        "string" = "string"
      }
      vpc_security_group_ids = ["string"]
    }
    
    var awsInstanceProfileResource = new com.pulumi.aws.dms.InstanceProfile("awsInstanceProfileResource", com.pulumi.aws.dms.InstanceProfileArgs.builder()
        .availabilityZone("string")
        .description("string")
        .kmsKeyArn("string")
        .name("string")
        .networkType("string")
        .publiclyAccessible(false)
        .region("string")
        .subnetGroupIdentifier("string")
        .tags(Map.of("string", "string"))
        .vpcSecurityGroupIds("string")
        .build());
    
    aws_instance_profile_resource = aws.dms.InstanceProfile("awsInstanceProfileResource",
        availability_zone="string",
        description="string",
        kms_key_arn="string",
        name="string",
        network_type="string",
        publicly_accessible=False,
        region="string",
        subnet_group_identifier="string",
        tags={
            "string": "string",
        },
        vpc_security_group_ids=["string"])
    
    const awsInstanceProfileResource = new aws.dms.InstanceProfile("awsInstanceProfileResource", {
        availabilityZone: "string",
        description: "string",
        kmsKeyArn: "string",
        name: "string",
        networkType: "string",
        publiclyAccessible: false,
        region: "string",
        subnetGroupIdentifier: "string",
        tags: {
            string: "string",
        },
        vpcSecurityGroupIds: ["string"],
    });
    
    type: aws:dms:InstanceProfile
    properties:
        availabilityZone: string
        description: string
        kmsKeyArn: string
        name: string
        networkType: string
        publiclyAccessible: false
        region: string
        subnetGroupIdentifier: string
        tags:
            string: string
        vpcSecurityGroupIds:
            - string
    

    InstanceProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The InstanceProfile resource accepts the following input properties:

    AvailabilityZone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    Description string
    Description for the instance profile.
    KmsKeyArn string
    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.
    Name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    NetworkType string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    PubliclyAccessible bool
    Whether the instance profile is publicly accessible. Default is true.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SubnetGroupIdentifier string
    Subnet group to associate with the instance profile.
    Tags Dictionary<string, string>
    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.
    VpcSecurityGroupIds List<string>
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    AvailabilityZone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    Description string
    Description for the instance profile.
    KmsKeyArn string
    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.
    Name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    NetworkType string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    PubliclyAccessible bool
    Whether the instance profile is publicly accessible. Default is true.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SubnetGroupIdentifier string
    Subnet group to associate with the instance profile.
    Tags map[string]string
    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.
    VpcSecurityGroupIds []string
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    availability_zone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description string
    Description for the instance profile.
    kms_key_arn string
    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.
    name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    network_type string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publicly_accessible bool
    Whether the instance profile is publicly accessible. Default is true.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnet_group_identifier string
    Subnet group to associate with the instance profile.
    tags map(string)
    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.
    vpc_security_group_ids list(string)
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    availabilityZone String
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description String
    Description for the instance profile.
    kmsKeyArn String
    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.
    name String
    Name for the instance profile. If omitted, DMS assigns a generated name.
    networkType String
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publiclyAccessible Boolean
    Whether the instance profile is publicly accessible. Default is true.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnetGroupIdentifier String
    Subnet group to associate with the instance profile.
    tags Map<String,String>
    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.
    vpcSecurityGroupIds List<String>
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    availabilityZone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description string
    Description for the instance profile.
    kmsKeyArn string
    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.
    name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    networkType string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publiclyAccessible boolean
    Whether the instance profile is publicly accessible. Default is true.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnetGroupIdentifier string
    Subnet group to associate with the instance profile.
    tags {[key: string]: string}
    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.
    vpcSecurityGroupIds string[]
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    availability_zone str
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description str
    Description for the instance profile.
    kms_key_arn str
    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.
    name str
    Name for the instance profile. If omitted, DMS assigns a generated name.
    network_type str
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publicly_accessible bool
    Whether the instance profile is publicly accessible. Default is true.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnet_group_identifier str
    Subnet group to associate with the instance profile.
    tags Mapping[str, str]
    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.
    vpc_security_group_ids Sequence[str]
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    availabilityZone String
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description String
    Description for the instance profile.
    kmsKeyArn String
    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.
    name String
    Name for the instance profile. If omitted, DMS assigns a generated name.
    networkType String
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publiclyAccessible Boolean
    Whether the instance profile is publicly accessible. Default is true.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnetGroupIdentifier String
    Subnet group to associate with the instance profile.
    tags Map<String>
    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.
    vpcSecurityGroupIds List<String>
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InstanceProfile resource produces the following output properties:

    Arn string
    ARN of the instance profile.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the instance profile.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the instance profile.
    id string
    The provider-assigned unique ID for this managed resource.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the instance profile.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the instance profile.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the instance profile.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the instance profile.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing InstanceProfile Resource

    Get an existing InstanceProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InstanceProfileState, opts?: CustomResourceOptions): InstanceProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            availability_zone: Optional[str] = None,
            description: Optional[str] = None,
            kms_key_arn: Optional[str] = None,
            name: Optional[str] = None,
            network_type: Optional[str] = None,
            publicly_accessible: Optional[bool] = None,
            region: Optional[str] = None,
            subnet_group_identifier: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            vpc_security_group_ids: Optional[Sequence[str]] = None) -> InstanceProfile
    func GetInstanceProfile(ctx *Context, name string, id IDInput, state *InstanceProfileState, opts ...ResourceOption) (*InstanceProfile, error)
    public static InstanceProfile Get(string name, Input<string> id, InstanceProfileState? state, CustomResourceOptions? opts = null)
    public static InstanceProfile get(String name, Output<String> id, InstanceProfileState state, CustomResourceOptions options)
    resources:  _:    type: aws:dms:InstanceProfile    get:      id: ${id}
    import {
      to = aws_dms_instance_profile.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the instance profile.
    AvailabilityZone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    Description string
    Description for the instance profile.
    KmsKeyArn string
    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.
    Name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    NetworkType string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    PubliclyAccessible bool
    Whether the instance profile is publicly accessible. Default is true.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SubnetGroupIdentifier string
    Subnet group to associate with the instance profile.
    Tags Dictionary<string, string>
    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.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    VpcSecurityGroupIds List<string>
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    Arn string
    ARN of the instance profile.
    AvailabilityZone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    Description string
    Description for the instance profile.
    KmsKeyArn string
    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.
    Name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    NetworkType string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    PubliclyAccessible bool
    Whether the instance profile is publicly accessible. Default is true.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SubnetGroupIdentifier string
    Subnet group to associate with the instance profile.
    Tags map[string]string
    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.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    VpcSecurityGroupIds []string
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    arn string
    ARN of the instance profile.
    availability_zone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description string
    Description for the instance profile.
    kms_key_arn string
    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.
    name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    network_type string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publicly_accessible bool
    Whether the instance profile is publicly accessible. Default is true.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnet_group_identifier string
    Subnet group to associate with the instance profile.
    tags map(string)
    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.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    vpc_security_group_ids list(string)
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    arn String
    ARN of the instance profile.
    availabilityZone String
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description String
    Description for the instance profile.
    kmsKeyArn String
    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.
    name String
    Name for the instance profile. If omitted, DMS assigns a generated name.
    networkType String
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publiclyAccessible Boolean
    Whether the instance profile is publicly accessible. Default is true.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnetGroupIdentifier String
    Subnet group to associate with the instance profile.
    tags Map<String,String>
    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.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    vpcSecurityGroupIds List<String>
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    arn string
    ARN of the instance profile.
    availabilityZone string
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description string
    Description for the instance profile.
    kmsKeyArn string
    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.
    name string
    Name for the instance profile. If omitted, DMS assigns a generated name.
    networkType string
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publiclyAccessible boolean
    Whether the instance profile is publicly accessible. Default is true.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnetGroupIdentifier string
    Subnet group to associate with the instance profile.
    tags {[key: string]: string}
    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.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    vpcSecurityGroupIds string[]
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    arn str
    ARN of the instance profile.
    availability_zone str
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description str
    Description for the instance profile.
    kms_key_arn str
    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.
    name str
    Name for the instance profile. If omitted, DMS assigns a generated name.
    network_type str
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publicly_accessible bool
    Whether the instance profile is publicly accessible. Default is true.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnet_group_identifier str
    Subnet group to associate with the instance profile.
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    vpc_security_group_ids Sequence[str]
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.
    arn String
    ARN of the instance profile.
    availabilityZone String
    Availability Zone where the instance profile runs. Default is a random, system-chosen Availability Zone.
    description String
    Description for the instance profile.
    kmsKeyArn String
    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.
    name String
    Name for the instance profile. If omitted, DMS assigns a generated name.
    networkType String
    Network type for the instance profile. Valid values are IPV4, IPV6, and DUAL.
    publiclyAccessible Boolean
    Whether the instance profile is publicly accessible. Default is true.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    subnetGroupIdentifier String
    Subnet group to associate with the instance profile.
    tags Map<String>
    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.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    vpcSecurityGroupIds List<String>
    VPC security group IDs to be used with the instance profile. The VPC security groups must work with the VPC containing the instance profile.

    Import

    Identity Schema

    Required

    • arn (String) ARN of the instance profile.

    Using pulumi import, import DMS (Database Migration) Instance Profile using the arn. For example:

    $ pulumi import aws:dms/instanceProfile:InstanceProfile example arn:aws:dms:us-east-1:123456789012:instance-profile:ABCDEFGHIJKLMNOPQRSTUVWXYZ123456
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial