File Coverage

blib/lib/Paws/Config/DeliveryChannel.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Config::DeliveryChannel;
2 1     1   292 use Moose;
  1         2  
  1         6  
3             has ConfigSnapshotDeliveryProperties => (is => 'ro', isa => 'Paws::Config::ConfigSnapshotDeliveryProperties', request_name => 'configSnapshotDeliveryProperties', traits => ['NameInRequest']);
4             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
5             has S3BucketName => (is => 'ro', isa => 'Str', request_name => 's3BucketName', traits => ['NameInRequest']);
6             has S3KeyPrefix => (is => 'ro', isa => 'Str', request_name => 's3KeyPrefix', traits => ['NameInRequest']);
7             has SnsTopicARN => (is => 'ro', isa => 'Str', request_name => 'snsTopicARN', traits => ['NameInRequest']);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::Config::DeliveryChannel
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::DeliveryChannel object:
26              
27             $service_obj->Method(Att1 => { ConfigSnapshotDeliveryProperties => $value, ..., SnsTopicARN => $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::DeliveryChannel object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->ConfigSnapshotDeliveryProperties
35              
36             =head1 DESCRIPTION
37              
38             The channel through which AWS Config delivers notifications and updated
39             configuration states.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 ConfigSnapshotDeliveryProperties => L<Paws::Config::ConfigSnapshotDeliveryProperties>
45              
46             The options for how often AWS Config delivers configuration snapshots
47             to the Amazon S3 bucket.
48              
49              
50             =head2 Name => Str
51              
52             The name of the delivery channel. By default, AWS Config assigns the
53             name "default" when creating the delivery channel. To change the
54             delivery channel name, you must use the DeleteDeliveryChannel action to
55             delete your current delivery channel, and then you must use the
56             PutDeliveryChannel command to create a delivery channel that has the
57             desired name.
58              
59              
60             =head2 S3BucketName => Str
61              
62             The name of the Amazon S3 bucket to which AWS Config delivers
63             configuration snapshots and configuration history files.
64              
65             If you specify a bucket that belongs to another AWS account, that
66             bucket must have policies that grant access permissions to AWS Config.
67             For more information, see Permissions for the Amazon S3 Bucket in the
68             AWS Config Developer Guide.
69              
70              
71             =head2 S3KeyPrefix => Str
72              
73             The prefix for the specified Amazon S3 bucket.
74              
75              
76             =head2 SnsTopicARN => Str
77              
78             The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS
79             Config sends notifications about configuration changes.
80              
81             If you choose a topic from another account, the topic must have
82             policies that grant access permissions to AWS Config. For more
83             information, see Permissions for the Amazon SNS Topic in the AWS Config
84             Developer Guide.
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::Config>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99