« blib/lib/Paws/AccessAnalyzer/S3PublicAccessBlockConfiguration.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/SortCriteria.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AccessAnalyzer::SecretsManagerSecretConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has KmsKeyId => (is => 'ro', isa => 'Str', request_name => 'kmsKeyId', traits => ['NameInRequest']); | ||
| 5 | has SecretPolicy => (is => 'ro', isa => 'Str', request_name => 'secretPolicy', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::AccessAnalyzer::SecretsManagerSecretConfiguration | ||
| 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::AccessAnalyzer::SecretsManagerSecretConfiguration object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { KmsKeyId => $value, ..., SecretPolicy => $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::AccessAnalyzer::SecretsManagerSecretConfiguration object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->KmsKeyId | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The configuration for a Secrets Manager secret. For more information, | ||
| 38 | see CreateSecret | ||
| 39 | (https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_CreateSecret.html). | ||
| 40 | |||
| 41 | You can propose a configuration for a new secret or an existing secret | ||
| 42 | that you own by specifying the secret policy and optional KMS | ||
| 43 | encryption key. If the configuration is for an existing secret and you | ||
| 44 | do not specify the secret policy, the access preview uses the existing | ||
| 45 | policy for the secret. If the access preview is for a new resource and | ||
| 46 | you do not specify the policy, the access preview assumes a secret | ||
| 47 | without a policy. To propose deletion of an existing policy, you can | ||
| 48 | specify an empty string. If the proposed configuration is for a new | ||
| 49 | secret and you do not specify the KMS key ID, the access preview uses | ||
| 50 | the default CMK of the AWS account. If you specify an empty string for | ||
| 51 | the KMS key ID, the access preview uses the default CMK of the AWS | ||
| 52 | account. For more information about secret policy limits, see Quotas | ||
| 53 | for AWS Secrets Manager. | ||
| 54 | (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_limits.html). | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 KmsKeyId => Str | ||
| 60 | |||
| 61 | The proposed ARN, key ID, or alias of the AWS KMS customer master key | ||
| 62 | (CMK). | ||
| 63 | |||
| 64 | |||
| 65 | =head2 SecretPolicy => Str | ||
| 66 | |||
| 67 | The proposed resource policy defining who can access or manage the | ||
| 68 | secret. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |