« blib/lib/Paws/Config/PutAggregationAuthorizationResponse.pm
↑ Summary
blib/lib/Paws/Config/PutConfigurationAggregator.pm »
| 1 | |||
| 2 | package Paws::Config::PutConfigRule; | ||
| 3 | use Moose; | ||
| 4 | has ConfigRule => (is => 'ro', isa => 'Paws::Config::ConfigRule', required => 1); | ||
| 5 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Config::Tag]'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutConfigRule'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::Config::PutConfigRule - Arguments for method PutConfigRule on L<Paws::Config> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method PutConfigRule on the | ||
| 23 | L<AWS Config|Paws::Config> service. Use the attributes of this class | ||
| 24 | as arguments to method PutConfigRule. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutConfigRule. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $config = Paws->service('Config'); | ||
| 31 | $config->PutConfigRule( | ||
| 32 | ConfigRule => { | ||
| 33 | Source => { | ||
| 34 | Owner => 'CUSTOM_LAMBDA', # values: CUSTOM_LAMBDA, AWS | ||
| 35 | SourceIdentifier => 'MyStringWithCharLimit256', # min: 1, max: 256 | ||
| 36 | SourceDetails => [ | ||
| 37 | { | ||
| 38 | EventSource => 'aws.config', # values: aws.config; OPTIONAL | ||
| 39 | MaximumExecutionFrequency => 'One_Hour' | ||
| 40 | , # values: One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours; OPTIONAL | ||
| 41 | MessageType => 'ConfigurationItemChangeNotification' | ||
| 42 | , # values: ConfigurationItemChangeNotification, ConfigurationSnapshotDeliveryCompleted, ScheduledNotification, OversizedConfigurationItemChangeNotification; OPTIONAL | ||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # max: 25; OPTIONAL | ||
| 46 | }, | ||
| 47 | ConfigRuleArn => 'MyStringWithCharLimit256', # min: 1, max: 256 | ||
| 48 | ConfigRuleId => 'MyStringWithCharLimit64', # min: 1, max: 64; OPTIONAL | ||
| 49 | ConfigRuleName => 'MyConfigRuleName', # min: 1, max: 128; OPTIONAL | ||
| 50 | ConfigRuleState => 'ACTIVE' | ||
| 51 | , # values: ACTIVE, DELETING, DELETING_RESULTS, EVALUATING; OPTIONAL | ||
| 52 | CreatedBy => 'MyStringWithCharLimit256', # min: 1, max: 256 | ||
| 53 | Description => 'MyEmptiableStringWithCharLimit256', # max: 256; OPTIONAL | ||
| 54 | InputParameters => | ||
| 55 | 'MyStringWithCharLimit1024', # min: 1, max: 1024; OPTIONAL | ||
| 56 | MaximumExecutionFrequency => 'One_Hour' | ||
| 57 | , # values: One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours; OPTIONAL | ||
| 58 | Scope => { | ||
| 59 | ComplianceResourceId => | ||
| 60 | 'MyBaseResourceId', # min: 1, max: 768; OPTIONAL | ||
| 61 | ComplianceResourceTypes => [ | ||
| 62 | 'MyStringWithCharLimit256', ... # min: 1, max: 256 | ||
| 63 | ], # max: 100; OPTIONAL | ||
| 64 | TagKey => 'MyStringWithCharLimit128', # min: 1, max: 128; OPTIONAL | ||
| 65 | TagValue => 'MyStringWithCharLimit256', # min: 1, max: 256 | ||
| 66 | }, # OPTIONAL | ||
| 67 | }, | ||
| 68 | Tags => [ | ||
| 69 | { | ||
| 70 | Key => 'MyTagKey', # min: 1, max: 128; OPTIONAL | ||
| 71 | Value => 'MyTagValue', # max: 256; OPTIONAL | ||
| 72 | }, | ||
| 73 | ... | ||
| 74 | ], # OPTIONAL | ||
| 75 | ); | ||
| 76 | |||
| 77 | 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. | ||
| 78 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/PutConfigRule> | ||
| 79 | |||
| 80 | =head1 ATTRIBUTES | ||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> ConfigRule => L<Paws::Config::ConfigRule> | ||
| 84 | |||
| 85 | The rule that you want to add to your account. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 Tags => ArrayRef[L<Paws::Config::Tag>] | ||
| 90 | |||
| 91 | An array of tag object. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method PutConfigRule in L<Paws::Config> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |