« blib/lib/Paws/SageMaker/ProductionVariant.pm
↑ Summary
blib/lib/Paws/SageMaker/ProductionVariantSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::ProductionVariantCoreDumpConfig; | ||
| 3 | use Moose; | ||
| 4 | has DestinationS3Uri => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has KmsKeyId => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::SageMaker::ProductionVariantCoreDumpConfig | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::SageMaker::ProductionVariantCoreDumpConfig object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { DestinationS3Uri => $value, ..., KmsKeyId => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::ProductionVariantCoreDumpConfig object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->DestinationS3Uri | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Specifies configuration for a core dump from the model container when | ||
| 38 | the process crashes. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 B<REQUIRED> DestinationS3Uri => Str | ||
| 44 | |||
| 45 | The Amazon S3 bucket to send the core dump to. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 KmsKeyId => Str | ||
| 49 | |||
| 50 | The Amazon Web Services Key Management Service (Amazon Web Services | ||
| 51 | KMS) key that Amazon SageMaker uses to encrypt the core dump data at | ||
| 52 | rest using Amazon S3 server-side encryption. The C<KmsKeyId> can be any | ||
| 53 | of the following formats: | ||
| 54 | |||
| 55 | =over | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | // KMS Key ID | ||
| 60 | |||
| 61 | C<"1234abcd-12ab-34cd-56ef-1234567890ab"> | ||
| 62 | |||
| 63 | =item * | ||
| 64 | |||
| 65 | // Amazon Resource Name (ARN) of a KMS Key | ||
| 66 | |||
| 67 | C<"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"> | ||
| 68 | |||
| 69 | =item * | ||
| 70 | |||
| 71 | // KMS Key Alias | ||
| 72 | |||
| 73 | C<"alias/ExampleAlias"> | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | // Amazon Resource Name (ARN) of a KMS Key Alias | ||
| 78 | |||
| 79 | C<"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"> | ||
| 80 | |||
| 81 | =back | ||
| 82 | |||
| 83 | If you use a KMS key ID or an alias of your master key, the Amazon | ||
| 84 | SageMaker execution role must include permissions to call | ||
| 85 | C<kms:Encrypt>. If you don't provide a KMS key ID, Amazon SageMaker | ||
| 86 | uses the default KMS key for Amazon S3 for your role's account. Amazon | ||
| 87 | SageMaker uses server-side encryption with KMS-managed keys for | ||
| 88 | C<OutputDataConfig>. If you use a bucket policy with an C<s3:PutObject> | ||
| 89 | permission that only allows objects with server-side encryption, set | ||
| 90 | the condition key of C<s3:x-amz-server-side-encryption> to | ||
| 91 | C<"aws:kms">. For more information, see KMS-Managed Encryption Keys | ||
| 92 | (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) | ||
| 93 | in the I<Amazon Simple Storage Service Developer Guide.> | ||
| 94 | |||
| 95 | The KMS key policy must grant permission to the IAM role that you | ||
| 96 | specify in your C<CreateEndpoint> and C<UpdateEndpoint> requests. For | ||
| 97 | more information, see Using Key Policies in Amazon Web Services KMS | ||
| 98 | (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) | ||
| 99 | in the I<Amazon Web Services Key Management Service Developer Guide>. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SEE ALSO | ||
| 104 | |||
| 105 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 106 | |||
| 107 | =head1 BUGS and CONTRIBUTIONS | ||
| 108 | |||
| 109 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 110 | |||
| 111 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 112 | |||
| 113 | =cut | ||
| 114 |