Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_DMG=>MODIFYINSTANCEPROFILE()

About ModifyInstanceProfile

Modifies the specified instance profile using the provided parameters.

All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEPROFILEIDENTIFIER TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The identifier of the instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

Optional arguments:

IV_AVAILABILITYZONE TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The Availability Zone where the instance profile runs.

IV_KMSKEYARN TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance profile.

If you don't specify a value for the KmsKeyArn parameter, then DMS uses your default encryption key.

KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.

IV_PUBLICLYACCESSIBLE TYPE /AWS1/DMGBOOLEANOPTIONAL /AWS1/DMGBOOLEANOPTIONAL

Specifies the accessibility options for the instance profile. A value of true represents an instance profile with a public IP address. A value of false represents an instance profile with a private IP address. The default value is true.

IV_NETWORKTYPE TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

Specifies the network type for the instance profile. A value of IPV4 represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value of IPV6 represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value of DUAL represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.

IV_INSTANCEPROFILENAME TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

A user-friendly name for the instance profile.

IV_DESCRIPTION TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

A user-friendly description for the instance profile.

IV_SUBNETGROUPIDENTIFIER TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

A subnet group to associate with the instance profile.

IT_VPCSECURITYGROUPS TYPE /AWS1/CL_DMGSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

Specifies the VPC security groups to be used with the instance profile. The VPC security group must work with the VPC containing the instance profile.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DMGMODIFYINSTPFLRSP /AWS1/CL_DMGMODIFYINSTPFLRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC