Skip to content

/AWS1/CL_GAC=>UPDATECROSSACCOUNTATTACHMENT()

About UpdateCrossAccountAttachment

Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_ATTACHMENTARN TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The Amazon Resource Name (ARN) of the cross-account attachment to update.

Optional arguments:

IV_NAME TYPE /AWS1/GACATTACHMENTNAME /AWS1/GACATTACHMENTNAME

The name of the cross-account attachment.

IT_ADDPRINCIPALS TYPE /AWS1/CL_GACPRINCIPALS_W=>TT_PRINCIPALS TT_PRINCIPALS

The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.

To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.

IT_REMOVEPRINCIPALS TYPE /AWS1/CL_GACPRINCIPALS_W=>TT_PRINCIPALS TT_PRINCIPALS

The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.

To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.

IT_ADDRESOURCES TYPE /AWS1/CL_GACRESOURCE=>TT_RESOURCES TT_RESOURCES

The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.

To add more than one resource, separate the resource ARNs with commas.

IT_REMOVERESOURCES TYPE /AWS1/CL_GACRESOURCE=>TT_RESOURCES TT_RESOURCES

The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.

To remove more than one resource, separate the resource ARNs with commas.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GACUPCROSSACATTACHM01 /AWS1/CL_GACUPCROSSACATTACHM01