| 1 | # AWS::Cognito::UserPoolClient generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::Cognito::UserPoolClient->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::Cognito::UserPoolClient { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'ClientSecret','Name' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ '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' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 30 | return $f | ||
| 31 | } else { | ||
| 32 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::TokenValidityUnits->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::TokenValidityUnits { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has AccessToken => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has IdToken => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has RefreshToken => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | } | ||
| 45 | |||
| 46 | 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 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 53 | return $f | ||
| 54 | } else { | ||
| 55 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::AnalyticsConfiguration->new( %$_ ); | ||
| 56 | } | ||
| 57 | }; | ||
| 58 | |||
| 59 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolClient::AnalyticsConfiguration { | ||
| 60 | use Moose; | ||
| 61 | use MooseX::StrictConstructor; | ||
| 62 | extends 'Cfn::Value::TypedValue'; | ||
| 63 | |||
| 64 | has ApplicationArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | has ApplicationId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 66 | has ExternalId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 67 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 68 | has UserDataShared => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 69 | } | ||
| 70 | |||
| 71 | package Cfn::Resource::Properties::AWS::Cognito::UserPoolClient { | ||
| 72 | use Moose; | ||
| 73 | use MooseX::StrictConstructor; | ||
| 74 | extends 'Cfn::Resource::Properties'; | ||
| 75 | |||
| 76 | has AccessTokenValidity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 77 | has AllowedOAuthFlows => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 78 | has AllowedOAuthFlowsUserPoolClient => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 79 | has AllowedOAuthScopes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 80 | has AnalyticsConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::AnalyticsConfiguration', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 81 | has CallbackURLs => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 82 | has ClientName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 83 | has DefaultRedirectURI => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 84 | has ExplicitAuthFlows => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 85 | has GenerateSecret => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 86 | has IdTokenValidity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 87 | has LogoutURLs => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 88 | has PreventUserExistenceErrors => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 89 | has ReadAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 90 | has RefreshTokenValidity => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 91 | has SupportedIdentityProviders => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 92 | has TokenValidityUnits => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolClient::TokenValidityUnits', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 93 | has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 94 | has WriteAttributes => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 95 | } | ||
| 96 | |||
| 97 | 1; | ||
| 98 | ### main pod documentation begin ### | ||
| 99 | |||
| 100 | =encoding UTF-8 | ||
| 101 | |||
| 102 | =head1 NAME | ||
| 103 | |||
| 104 | Cfn::Resource::AWS::Cognito::UserPoolClient - Cfn resource for AWS::Cognito::UserPoolClient | ||
| 105 | |||
| 106 | =head1 DESCRIPTION | ||
| 107 | |||
| 108 | This module implements a Perl module that represents the CloudFormation object AWS::Cognito::UserPoolClient. | ||
| 109 | |||
| 110 | See L<Cfn> for more information on how to use it. | ||
| 111 | |||
| 112 | =head1 AUTHOR | ||
| 113 | |||
| 114 | Jose Luis Martinez | ||
| 115 | CAPSiDE | ||
| 116 | jlmartinez@capside.com | ||
| 117 | |||
| 118 | =head1 COPYRIGHT and LICENSE | ||
| 119 | |||
| 120 | Copyright (c) 2013 by CAPSiDE | ||
| 121 | This code is distributed under the Apache 2 License. The full text of the | ||
| 122 | license can be found in the LICENSE file included with this module. | ||
| 123 | |||
| 124 | =cut |