Skip to content

/AWS1/CL_ACP=>TAGCERTIFICATEAUTHORITY()

About TagCertificateAuthority

Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the UntagCertificateAuthority action. Call the ListTags action to see what tags are associated with your CA.

To attach tags to a private CA during the creation procedure, a CA administrator must first associate an inline IAM policy with the CreateCertificateAuthority action and explicitly allow tagging. For more information, see Attaching tags to a CA at the time of creation.

Method Signature

IMPORTING

Required arguments:

iv_certificateauthorityarn TYPE /AWS1/ACPARN /AWS1/ACPARN

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

it_tags TYPE /AWS1/CL_ACPTAG=>TT_TAGLIST TT_TAGLIST

List of tags to be associated with the CA.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->/aws1/if_acp~tagcertificateauthority(
  it_tags = VALUE /aws1/cl_acptag=>tt_taglist(
    (
      new /aws1/cl_acptag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_certificateauthorityarn = |string|
).