Cfn/Resource/AWS/Cognito/UserPoolClient.pm

filter: Statementstmt 90.5% 67 / 74 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 76.9% 10 / 13 Podpod 0.0% 0 / 2 totaltotal 82.8% 77 / 93 CC 3 SCAR 8.5
CC
3
Cov
86%
__ANON__
6.0
__ANON__
6.0
__ANON__
1.1
CRAP 2.3
« Cfn/Resource/AWS/Config/OrganizationConfigRule.pm ↑ Summary Cfn/Resource/AWS/ApiGateway/RestApi.pm »
1 # AWS::Cognito::UserPoolClient generated from spec 18.4.0
2 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient',
5 from 'HashRef',
6 0 ▶ via { Cfn::Resource::Properties::AWS::Cognito::UserPoolClient->new( %$_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
7  
8 1 package Cfn::Resource::AWS::Cognito::UserPoolClient {
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::Cognito::UserPoolClient', is => 'rw', coerce => 1);
12
13 sub AttributeList {
14 1 ▶ [ 'ClientSecret','Name' ]
Subroutine AttributeList: called CC=1 SCAR=0.0
Pod undocumented
15 }
16 sub supported_regions {
17 1 ▶ [ 'ap-northeast-1','ap-northeast-2','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','eu-central-1','eu-west-1','eu-west-2','us-east-1','us-east-2','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::Cognito::UserPoolClient::TokenValidityUnits',
24 as 'Cfn::Value';
25  
26 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::TokenValidityUnits',
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::Cognito::UserPoolClient::TokenValidityUnits->new( %$_ );
33 }
34 1 };
35  
36 1 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::TokenValidityUnits {
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 AccessToken => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
42 1 has IdToken => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
43 1 has RefreshToken => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
44 }
45  
46 1 subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::AnalyticsConfiguration',
47 as 'Cfn::Value';
48  
49 coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::AnalyticsConfiguration',
50 from 'HashRef',
51 via {
52 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
53 0 return $f
54 } else {
55 0 return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::AnalyticsConfiguration->new( %$_ );
56 }
57 1 };
58  
59 1 package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::AnalyticsConfiguration {
60 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
61 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
62 1 extends 'Cfn::Value::TypedValue';
63
64 1 has ApplicationId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
65 1 has ExternalId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
66 1 has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
67 1 has UserDataShared => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
68 }
69  
70 1 package Cfn::Resource::Properties::AWS::Cognito::UserPoolClient {
71 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
72 1 ▶ use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
73 1 extends 'Cfn::Resource::Properties';
74
75 1 has AccessTokenValidity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
76 1 has AllowedOAuthFlows => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
77 1 has AllowedOAuthFlowsUserPoolClient => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
78 1 has AllowedOAuthScopes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
79 1 has AnalyticsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::AnalyticsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
80 1 has CallbackURLs => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
81 1 has ClientName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
82 1 has DefaultRedirectURI => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
83 1 has ExplicitAuthFlows => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
84 1 has GenerateSecret => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
85 1 has IdTokenValidity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
86 1 has LogoutURLs => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
87 1 has PreventUserExistenceErrors => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
88 1 has ReadAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
89 1 has RefreshTokenValidity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
90 1 has SupportedIdentityProviders => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
91 1 has TokenValidityUnits => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::TokenValidityUnits', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
92 1 has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable');
93 1 has WriteAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable');
94 }
95  
96 1 1;
97 ### main pod documentation begin ###
98  
99 =encoding UTF-8
100  
101 =head1 NAME
102  
103 Cfn::Resource::AWS::Cognito::UserPoolClient - Cfn resource for AWS::Cognito::UserPoolClient
104  
105 =head1 DESCRIPTION
106  
107 This module implements a Perl module that represents the CloudFormation object AWS::Cognito::UserPoolClient.
108  
109 See L<Cfn> for more information on how to use it.
110  
111 =head1 AUTHOR
112  
113 Jose Luis Martinez
114 CAPSiDE
115 jlmartinez@capside.com
116  
117 =head1 COPYRIGHT and LICENSE
118  
119 Copyright (c) 2013 by CAPSiDE
120 This code is distributed under the Apache 2 License. The full text of the
121 license can be found in the LICENSE file included with this module.
122  
123 =cut
« Cfn/Resource/AWS/Config/OrganizationConfigRule.pm ↑ Summary Cfn/Resource/AWS/ApiGateway/RestApi.pm »