« blib/lib/Paws/Config/PutRemediationExceptionsResponse.pm
↑ Summary
blib/lib/Paws/Config/PutRetentionConfiguration.pm »
| 1 | |||
| 2 | package Paws::Config::PutResourceConfig; | ||
| 3 | use Moose; | ||
| 4 | has Configuration => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ResourceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has ResourceName => (is => 'ro', isa => 'Str'); | ||
| 7 | has ResourceType => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has SchemaVersionId => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has Tags => (is => 'ro', isa => 'Paws::Config::Tags'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutResourceConfig'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Config::PutResourceConfig - Arguments for method PutResourceConfig on L<Paws::Config> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method PutResourceConfig on the | ||
| 27 | L<AWS Config|Paws::Config> service. Use the attributes of this class | ||
| 28 | as arguments to method PutResourceConfig. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutResourceConfig. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $config = Paws->service('Config'); | ||
| 35 | $config->PutResourceConfig( | ||
| 36 | Configuration => 'MyConfiguration', | ||
| 37 | ResourceId => 'MyResourceId', | ||
| 38 | ResourceType => 'MyResourceTypeString', | ||
| 39 | SchemaVersionId => 'MySchemaVersionId', | ||
| 40 | ResourceName => 'MyResourceName', # OPTIONAL | ||
| 41 | Tags => { 'MyName' => 'MyValue', }, # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/PutResourceConfig> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> Configuration => Str | ||
| 51 | |||
| 52 | The configuration object of the resource in valid JSON format. It must | ||
| 53 | match the schema registered with AWS CloudFormation. | ||
| 54 | |||
| 55 | The configuration JSON must not exceed 64 KB. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> ResourceId => Str | ||
| 60 | |||
| 61 | Unique identifier of the resource. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 ResourceName => Str | ||
| 66 | |||
| 67 | Name of the resource. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 B<REQUIRED> ResourceType => Str | ||
| 72 | |||
| 73 | The type of the resource. The custom resource type must be registered | ||
| 74 | with AWS CloudFormation. | ||
| 75 | |||
| 76 | You cannot use the organization names E<ldquo>awsE<rdquo>, | ||
| 77 | E<ldquo>amznE<rdquo>, E<ldquo>amazonE<rdquo>, E<ldquo>alexaE<rdquo>, | ||
| 78 | E<ldquo>customE<rdquo> with custom resource types. It is the first part | ||
| 79 | of the ResourceType up to the first ::. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> SchemaVersionId => Str | ||
| 84 | |||
| 85 | Version of the schema registered for the ResourceType in AWS | ||
| 86 | CloudFormation. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 Tags => L<Paws::Config::Tags> | ||
| 91 | |||
| 92 | Tags associated with the resource. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method PutResourceConfig in L<Paws::Config> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |