AWSKMSTagResourceRequest

Objective-C

@interface AWSKMSTagResourceRequest

Swift

class AWSKMSTagResourceRequest
  • Identifies a customer managed CMK in the account and Region.

    Specify the key ID or the Amazon Resource Name (ARN) of the CMK.

    For example:

    • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

    • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

    To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyId;

    Swift

    var keyId: String? { get set }
  • One or more tags.

    Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

    You cannot have more than one tag on a CMK with the same tag key. If you specify an existing tag key with a different tag value, AWS KMS replaces the current tag value with the specified one.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSKMSTag *> *_Nullable tags;

    Swift

    var tags: [AWSKMSTag]? { get set }