« blib/lib/Paws/Config/SelectResourceConfigResponse.pm
↑ Summary
blib/lib/Paws/Config/SourceDetail.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Config::Source; | ||
| 3 | use Moose; | ||
| 4 | has Owner => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has SourceDetails => (is => 'ro', isa => 'ArrayRef[Paws::Config::SourceDetail]'); | ||
| 6 | has SourceIdentifier => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Config::Source | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Config::Source object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Owner => $value, ..., SourceIdentifier => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Config::Source object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Owner | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Provides the AWS Config rule owner (AWS or customer), the rule | ||
| 39 | identifier, and the events that trigger the evaluation of your AWS | ||
| 40 | resources. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> Owner => Str | ||
| 46 | |||
| 47 | Indicates whether AWS or the customer owns and manages the AWS Config | ||
| 48 | rule. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 SourceDetails => ArrayRef[L<Paws::Config::SourceDetail>] | ||
| 52 | |||
| 53 | Provides the source and type of the event that causes AWS Config to | ||
| 54 | evaluate your AWS resources. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> SourceIdentifier => Str | ||
| 58 | |||
| 59 | For AWS Config managed rules, a predefined identifier from a list. For | ||
| 60 | example, C<IAM_PASSWORD_POLICY> is a managed rule. To reference a | ||
| 61 | managed rule, see Using AWS Managed Config Rules | ||
| 62 | (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html). | ||
| 63 | |||
| 64 | For custom rules, the identifier is the Amazon Resource Name (ARN) of | ||
| 65 | the rule's AWS Lambda function, such as | ||
| 66 | C<arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name>. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, describing an object used in L<Paws::Config> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |