CmdID

CmdID / aws / aws dms

aws dms modify-instance-profile

Modifies the specified instance profile using the provided parameters. AWS CLI reference

1 example 9 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To modify an instance profile

The following modify-instance-profile example updates the description and network type of an instance profile.

aws dms modify-instance-profile --instance-profile-identifier arn:aws:dms:us-west-2:123456789012:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS --description "Updated instance profile description" --network-type DUALIdentify
--instance-profile-identifierThe identifier of the instance profile.
--descriptionA user-friendly description for the instance profile.
--network-typeSpecifies the network type for the instance profile.
Its output
{
    "InstanceProfile": {
        "InstanceProfileArn": "arn:aws:dms:us-west-2:123456789012:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS",
        "KmsKeyArn": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "PubliclyAccessible": false,
        "NetworkType": "DUAL",
        "InstanceProfileName": "example-instance-profile",
        "Description": "Updated instance profile description",
        "InstanceProfileCreationTime": "2026-01-09T12:30:00.000000+00:00",
        "SubnetGroupIdentifier": "example-replication-subnet-group",
        "VpcSecurityGroups": [
            "sg-0123456789abcdef0"
        ]
    }
}

For more information, see Working with instance profiles in the AWS Database Migration Service User Guide.

Options

9 in the AWS CLI reference
--availability-zoneThe Availability Zone where the instance profile runs.
--descriptionA user-friendly description for the instance profile.
--instance-profile-identifierThe identifier of the instance profile.
--instance-profile-nameA user-friendly name for the instance profile.
--kms-key-arnThe Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.
--network-typeSpecifies the network type for the instance profile.
--publicly-accessibleSpecifies the accessibility options for the instance profile.
--subnet-group-identifierA subnet group to associate with the instance profile.
--vpc-security-groupsSpecifies the VPC security groups to be used with the instance profile.