aws dms delete-instance-profile
Deletes the specified instance profile. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete an instance profile
The following delete-instance-profile example deletes an instance profile identified by its ARN.
aws dms delete-instance-profile --instance-profile-identifier arn:aws:dms:us-west-2:123456789012:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSIdentify--instance-profile-identifierThe identifier of the instance profile to delete.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": "IPV4",
"InstanceProfileName": "example-instance-profile",
"Description": "Example instance profile for documentation",
"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
--instance-profile-identifierThe identifier of the instance profile to delete.