File Coverage

blib/lib/Paws/CloudFront/CustomOriginConfig.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::CloudFront::CustomOriginConfig;
2 1     1   422 use Moose;
  1         2  
  1         6  
3             has HTTPPort => (is => 'ro', isa => 'Int', required => 1);
4             has HTTPSPort => (is => 'ro', isa => 'Int', required => 1);
5             has OriginKeepaliveTimeout => (is => 'ro', isa => 'Int');
6             has OriginProtocolPolicy => (is => 'ro', isa => 'Str', required => 1);
7             has OriginReadTimeout => (is => 'ro', isa => 'Int');
8             has OriginSslProtocols => (is => 'ro', isa => 'Paws::CloudFront::OriginSslProtocols');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CloudFront::CustomOriginConfig
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::CloudFront::CustomOriginConfig object:
27              
28             $service_obj->Method(Att1 => { HTTPPort => $value, ..., OriginSslProtocols => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::CustomOriginConfig object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->HTTPPort
36              
37             =head1 DESCRIPTION
38              
39             A customer origin.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> HTTPPort => Int
45              
46             The HTTP port the custom origin listens on.
47              
48              
49             =head2 B<REQUIRED> HTTPSPort => Int
50              
51             The HTTPS port the custom origin listens on.
52              
53              
54             =head2 OriginKeepaliveTimeout => Int
55              
56             You can create a custom keep-alive timeout. All timeout units are in
57             seconds. The default keep-alive timeout is 5 seconds, but you can
58             configure custom timeout lengths using the CloudFront API. The minimum
59             timeout length is 1 second; the maximum is 60 seconds.
60              
61             If you need to increase the maximum time limit, contact the AWS Support
62             Center.
63              
64              
65             =head2 B<REQUIRED> OriginProtocolPolicy => Str
66              
67             The origin protocol policy to apply to your origin.
68              
69              
70             =head2 OriginReadTimeout => Int
71              
72             You can create a custom origin read timeout. All timeout units are in
73             seconds. The default origin read timeout is 30 seconds, but you can
74             configure custom timeout lengths using the CloudFront API. The minimum
75             timeout length is 4 seconds; the maximum is 60 seconds.
76              
77             If you need to increase the maximum time limit, contact the AWS Support
78             Center.
79              
80              
81             =head2 OriginSslProtocols => L<Paws::CloudFront::OriginSslProtocols>
82              
83             The SSL/TLS protocols that you want CloudFront to use when
84             communicating with your origin over HTTPS.
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
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