« Cfn/Resource/AWS/Cognito/UserPoolResourceServer.pm
↑ Summary
Cfn/Resource/AWS/Cognito/UserPoolUICustomizationAttachment.pm »
| 1 | # AWS::Cognito::UserPoolRiskConfigurationAttachment generated from spec 18.4.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::Cognito::UserPoolRiskConfigurationAttachment { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ ] | ||
| 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::UserPoolRiskConfigurationAttachment::NotifyEmailType', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyEmailType', | ||
| 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::UserPoolRiskConfigurationAttachment::NotifyEmailType->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyEmailType { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has HtmlBody => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has Subject => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | has TextBody => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 44 | } | ||
| 45 | |||
| 46 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType', | ||
| 47 | as 'Cfn::Value'; | ||
| 48 | |||
| 49 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType', | ||
| 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::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType->new( %$_ ); | ||
| 56 | } | ||
| 57 | }; | ||
| 58 | |||
| 59 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType { | ||
| 60 | use Moose; | ||
| 61 | use MooseX::StrictConstructor; | ||
| 62 | extends 'Cfn::Value::TypedValue'; | ||
| 63 | |||
| 64 | has EventAction => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | has Notify => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 66 | } | ||
| 67 | |||
| 68 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyConfigurationType', | ||
| 69 | as 'Cfn::Value'; | ||
| 70 | |||
| 71 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyConfigurationType', | ||
| 72 | from 'HashRef', | ||
| 73 | via { | ||
| 74 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 75 | return $f | ||
| 76 | } else { | ||
| 77 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyConfigurationType->new( %$_ ); | ||
| 78 | } | ||
| 79 | }; | ||
| 80 | |||
| 81 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyConfigurationType { | ||
| 82 | use Moose; | ||
| 83 | use MooseX::StrictConstructor; | ||
| 84 | extends 'Cfn::Value::TypedValue'; | ||
| 85 | |||
| 86 | has BlockEmail => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyEmailType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 87 | has From => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 88 | has MfaEmail => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyEmailType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 89 | has NoActionEmail => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyEmailType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 90 | has ReplyTo => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 91 | has SourceArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 92 | } | ||
| 93 | |||
| 94 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsType', | ||
| 95 | as 'Cfn::Value'; | ||
| 96 | |||
| 97 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsType', | ||
| 98 | from 'HashRef', | ||
| 99 | via { | ||
| 100 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 101 | return $f | ||
| 102 | } else { | ||
| 103 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsType->new( %$_ ); | ||
| 104 | } | ||
| 105 | }; | ||
| 106 | |||
| 107 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsType { | ||
| 108 | use Moose; | ||
| 109 | use MooseX::StrictConstructor; | ||
| 110 | extends 'Cfn::Value::TypedValue'; | ||
| 111 | |||
| 112 | has EventAction => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 113 | } | ||
| 114 | |||
| 115 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionsType', | ||
| 116 | as 'Cfn::Value'; | ||
| 117 | |||
| 118 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionsType', | ||
| 119 | from 'HashRef', | ||
| 120 | via { | ||
| 121 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 122 | return $f | ||
| 123 | } else { | ||
| 124 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionsType->new( %$_ ); | ||
| 125 | } | ||
| 126 | }; | ||
| 127 | |||
| 128 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionsType { | ||
| 129 | use Moose; | ||
| 130 | use MooseX::StrictConstructor; | ||
| 131 | extends 'Cfn::Value::TypedValue'; | ||
| 132 | |||
| 133 | has HighAction => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 134 | has LowAction => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 135 | has MediumAction => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 136 | } | ||
| 137 | |||
| 138 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::RiskExceptionConfigurationType', | ||
| 139 | as 'Cfn::Value'; | ||
| 140 | |||
| 141 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::RiskExceptionConfigurationType', | ||
| 142 | from 'HashRef', | ||
| 143 | via { | ||
| 144 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 145 | return $f | ||
| 146 | } else { | ||
| 147 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::RiskExceptionConfigurationType->new( %$_ ); | ||
| 148 | } | ||
| 149 | }; | ||
| 150 | |||
| 151 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::RiskExceptionConfigurationType { | ||
| 152 | use Moose; | ||
| 153 | use MooseX::StrictConstructor; | ||
| 154 | extends 'Cfn::Value::TypedValue'; | ||
| 155 | |||
| 156 | has BlockedIPRangeList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 157 | has SkippedIPRangeList => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 158 | } | ||
| 159 | |||
| 160 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsRiskConfigurationType', | ||
| 161 | as 'Cfn::Value'; | ||
| 162 | |||
| 163 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsRiskConfigurationType', | ||
| 164 | from 'HashRef', | ||
| 165 | via { | ||
| 166 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 167 | return $f | ||
| 168 | } else { | ||
| 169 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsRiskConfigurationType->new( %$_ ); | ||
| 170 | } | ||
| 171 | }; | ||
| 172 | |||
| 173 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsRiskConfigurationType { | ||
| 174 | use Moose; | ||
| 175 | use MooseX::StrictConstructor; | ||
| 176 | extends 'Cfn::Value::TypedValue'; | ||
| 177 | |||
| 178 | has Actions => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsActionsType', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 179 | has EventFilter => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 180 | } | ||
| 181 | |||
| 182 | subtype 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverRiskConfigurationType', | ||
| 183 | as 'Cfn::Value'; | ||
| 184 | |||
| 185 | coerce 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverRiskConfigurationType', | ||
| 186 | from 'HashRef', | ||
| 187 | via { | ||
| 188 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 189 | return $f | ||
| 190 | } else { | ||
| 191 | return Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverRiskConfigurationType->new( %$_ ); | ||
| 192 | } | ||
| 193 | }; | ||
| 194 | |||
| 195 | package Cfn::Resource::Properties::Object::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverRiskConfigurationType { | ||
| 196 | use Moose; | ||
| 197 | use MooseX::StrictConstructor; | ||
| 198 | extends 'Cfn::Value::TypedValue'; | ||
| 199 | |||
| 200 | has Actions => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverActionsType', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 201 | has NotifyConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::NotifyConfigurationType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 202 | } | ||
| 203 | |||
| 204 | package Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment { | ||
| 205 | use Moose; | ||
| 206 | use MooseX::StrictConstructor; | ||
| 207 | extends 'Cfn::Resource::Properties'; | ||
| 208 | |||
| 209 | has AccountTakeoverRiskConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::AccountTakeoverRiskConfigurationType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 210 | has ClientId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 211 | has CompromisedCredentialsRiskConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::CompromisedCredentialsRiskConfigurationType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 212 | has RiskExceptionConfiguration => (isa => 'Cfn::Resource::Properties::AWS::Cognito::UserPoolRiskConfigurationAttachment::RiskExceptionConfigurationType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 213 | has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | ||
| 214 | } | ||
| 215 | |||
| 216 | 1; | ||
| 217 | ### main pod documentation begin ### | ||
| 218 | |||
| 219 | =encoding UTF-8 | ||
| 220 | |||
| 221 | =head1 NAME | ||
| 222 | |||
| 223 | Cfn::Resource::AWS::Cognito::UserPoolRiskConfigurationAttachment - Cfn resource for AWS::Cognito::UserPoolRiskConfigurationAttachment | ||
| 224 | |||
| 225 | =head1 DESCRIPTION | ||
| 226 | |||
| 227 | This module implements a Perl module that represents the CloudFormation object AWS::Cognito::UserPoolRiskConfigurationAttachment. | ||
| 228 | |||
| 229 | See L<Cfn> for more information on how to use it. | ||
| 230 | |||
| 231 | =head1 AUTHOR | ||
| 232 | |||
| 233 | Jose Luis Martinez | ||
| 234 | CAPSiDE | ||
| 235 | jlmartinez@capside.com | ||
| 236 | |||
| 237 | =head1 COPYRIGHT and LICENSE | ||
| 238 | |||
| 239 | Copyright (c) 2013 by CAPSiDE | ||
| 240 | This code is distributed under the Apache 2 License. The full text of the | ||
| 241 | license can be found in the LICENSE file included with this module. | ||
| 242 | |||
| 243 | =cut |