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_R53=>CREATETRAFFICPOLICY()

About CreateTrafficPolicy

Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com).

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/R53TRAFFICPOLICYNAME /AWS1/R53TRAFFICPOLICYNAME

The name of the traffic policy.

IV_DOCUMENT TYPE /AWS1/R53TRAFFICPOLICYDOCUMENT /AWS1/R53TRAFFICPOLICYDOCUMENT

The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.

Optional arguments:

IV_COMMENT TYPE /AWS1/R53TRAFFICPOLICYCOMMENT /AWS1/R53TRAFFICPOLICYCOMMENT

(Optional) Any comments that you want to include about the traffic policy.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_R53CREATETRAFPLYRSP /AWS1/CL_R53CREATETRAFPLYRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC