Cfn/Resource/AWS/ACMPCA/CertificateAuthority.pm

filter: Statementstmt 88.3% 76 / 86 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 12 / 16 Podpod 0.0% 0 / 2 totaltotal 80.0% 88 / 110 CC 4 SCAR 9.5
CC
4
Cov
83%
__ANON__
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 2.6
« Cfn/Resource/AWS/EKS/Nodegroup.pm ↑ Summary Cfn/Resource/AWS/Pinpoint/PushTemplate.pm »
1 # AWS::ACMPCA::CertificateAuthority generated from spec 20.1.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::ACMPCA::CertificateAuthority {
9 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Cfn::Resource';
11 1 has Properties => (isa => 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'Arn','CertificateSigningRequest' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-north-1','eu-south-1','eu-west-1','eu-west-2','eu-west-3','me-south-1','sa-east-1','us-east-1','us-east-2','us-gov-east-1','us-gov-west-1','us-west-1','us-west-2' ]
Subroutine supported_regions: called CC=1 SCAR=0.0
Pod undocumented
18 }
19 }
20  
21  
22  
23 1 subtype 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::CrlConfiguration',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::CrlConfiguration',
27 from 'HashRef',
28 via {
29 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
30 0 return $f
31 } else {
32 0 return Cfn::Resource::Properties::Object::AWS::ACMPCA::CertificateAuthority::CrlConfiguration->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::ACMPCA::CertificateAuthority::CrlConfiguration {
37 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 extends 'Cfn::Value::TypedValue';
40
41 1 has CustomCname => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 1 has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 1 has ExpirationInDays => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 1 has S3BucketName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
45 }
46  
47 1 subtype 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::Subject',
48 as 'Cfn::Value';
49  
50 coerce 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::Subject',
51 from 'HashRef',
52 via {
53 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
54 0 return $f
55 } else {
56 0 return Cfn::Resource::Properties::Object::AWS::ACMPCA::CertificateAuthority::Subject->new( %$_ );
57 }
58 1 };
59  
60 1 package Cfn::Resource::Properties::Object::AWS::ACMPCA::CertificateAuthority::Subject {
61 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
63 1 extends 'Cfn::Value::TypedValue';
64
65 1 has CommonName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
66 1 has Country => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
67 1 has DistinguishedNameQualifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
68 1 has GenerationQualifier => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
69 1 has GivenName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
70 1 has Initials => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
71 1 has Locality => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
72 1 has Organization => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
73 1 has OrganizationalUnit => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
74 1 has Pseudonym => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
75 1 has SerialNumber => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
76 1 has State => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
77 1 has Surname => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
78 1 has Title => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
79 }
80  
81 1 subtype 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::RevocationConfiguration',
82 as 'Cfn::Value';
83  
84 coerce 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::RevocationConfiguration',
85 from 'HashRef',
86 via {
87 0 ▶ if (my $f = Cfn::TypeLibrary::try_function($_)) {
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
if (my $f = Cfn::TypeLibrary::try_function($_)) { } 0 0 0
88 0 return $f
89 } else {
90 0 return Cfn::Resource::Properties::Object::AWS::ACMPCA::CertificateAuthority::RevocationConfiguration->new( %$_ );
91 }
92 1 };
93  
94 1 package Cfn::Resource::Properties::Object::AWS::ACMPCA::CertificateAuthority::RevocationConfiguration {
95 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
96 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
97 1 extends 'Cfn::Value::TypedValue';
98
99 1 has CrlConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::CrlConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
100 }
101  
102 1 package Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority {
103 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
104 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
105 1 extends 'Cfn::Resource::Properties';
106
107 1 has KeyAlgorithm => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
108 1 has RevocationConfiguration => (isa => 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::RevocationConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
109 1 has SigningAlgorithm => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
110 1 has Subject => (isa => 'Cfn::Resource::Properties::AWS::ACMPCA::CertificateAuthority::Subject', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
111 1 has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
112 1 has Type => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
113 }
114  
115 1 1;
116 ### main pod documentation begin ###
117  
118 =encoding UTF-8
119  
120 =head1 NAME
121  
122 Cfn::Resource::AWS::ACMPCA::CertificateAuthority - Cfn resource for AWS::ACMPCA::CertificateAuthority
123  
124 =head1 DESCRIPTION
125  
126 This module implements a Perl module that represents the CloudFormation object AWS::ACMPCA::CertificateAuthority.
127  
128 See L<Cfn> for more information on how to use it.
129  
130 =head1 AUTHOR
131  
132 Jose Luis Martinez
133 CAPSiDE
134 jlmartinez@capside.com
135  
136 =head1 COPYRIGHT and LICENSE
137  
138 Copyright (c) 2013 by CAPSiDE
139 This code is distributed under the Apache 2 License. The full text of the
140 license can be found in the LICENSE file included with this module.
141  
142 =cut
« Cfn/Resource/AWS/EKS/Nodegroup.pm ↑ Summary Cfn/Resource/AWS/Pinpoint/PushTemplate.pm »