NAME
Paws::XRay::PutEncryptionConfig - Arguments for method PutEncryptionConfig on Paws::XRay
DESCRIPTION
This class represents the parameters used for calling the method PutEncryptionConfig on the AWS X-Ray service. Use the attributes of this class as arguments to method PutEncryptionConfig.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutEncryptionConfig.
SYNOPSIS
my $xray = Paws->service('XRay');
my $PutEncryptionConfigResult = $xray->PutEncryptionConfig(
Type => 'NONE',
KeyId => 'MyEncryptionKeyId', # OPTIONAL
);
# Results:
my $EncryptionConfig = $PutEncryptionConfigResult->EncryptionConfig;
# Returns a L<Paws::XRay::PutEncryptionConfigResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/xray/PutEncryptionConfig
ATTRIBUTES
KeyId => Str
An AWS KMS customer master key (CMK) in one of the following formats:
Alias - The name of the key. For example,
alias/MyKey
.Key ID - The KMS key ID of the key. For example,
ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
. AWS X-Ray does not support asymmetric CMKs.ARN - The full Amazon Resource Name of the key ID or alias. For example,
arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
. Use this format to specify a key in a different account.
Omit this key if you set Type
to NONE
.
REQUIRED Type => Str
The type of encryption. Set to KMS
to use your own key for encryption. Set to NONE
for default encryption.
Valid values are: "NONE"
, "KMS"
SEE ALSO
This class forms part of Paws, documenting arguments for method PutEncryptionConfig in Paws::XRay
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues