« Cfn/Resource/AWS/ElasticLoadBalancingV2/Listener.pm
↑ Summary
Cfn/Resource/AWS/GameLift/Fleet.pm »
| 1 | # AWS::Elasticsearch::Domain generated from spec 20.1.0 | ||||||||||
| 2 | 2 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain', | ||||||||||
| 5 | from 'HashRef', | ||||||||||
| 6 | 2 | ▶ | via { Cfn::Resource::Properties::AWS::Elasticsearch::Domain->new( %$_ ) }; | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 2 | package Cfn::Resource::AWS::Elasticsearch::Domain { | |||||||||
| 9 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 2 | extends 'Cfn::Resource'; | |||||||||
| 11 | 2 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | sub AttributeList { | ||||||||||
| 14 | 1 | ▶ | [ 'Arn','DomainArn','DomainEndpoint' ] | ||||||||
|
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-northeast-3','ap-south-1','ap-southeast-1','ap-southeast-2','ca-central-1','cn-north-1','cn-northwest-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 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ZoneAwarenessConfig', | |||||||||
| 24 | as 'Cfn::Value'; | ||||||||||
| 25 | |||||||||||
| 26 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ZoneAwarenessConfig', | ||||||||||
| 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
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ZoneAwarenessConfig->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 2 | }; | |||||||||
| 35 | |||||||||||
| 36 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ZoneAwarenessConfig { | |||||||||
| 37 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 38 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 39 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 40 | |||||||||||
| 41 | 2 | has AvailabilityZoneCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::MasterUserOptions', | |||||||||
| 45 | as 'Cfn::Value'; | ||||||||||
| 46 | |||||||||||
| 47 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::MasterUserOptions', | ||||||||||
| 48 | from 'HashRef', | ||||||||||
| 49 | via { | ||||||||||
| 50 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 51 | 0 | return $f | |||||||||
| 52 | } else { | ||||||||||
| 53 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::MasterUserOptions->new( %$_ ); | |||||||||
| 54 | } | ||||||||||
| 55 | 2 | }; | |||||||||
| 56 | |||||||||||
| 57 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::MasterUserOptions { | |||||||||
| 58 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 59 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 61 | |||||||||||
| 62 | 2 | has MasterUserARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 63 | 2 | has MasterUserName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 2 | has MasterUserPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | } | ||||||||||
| 66 | |||||||||||
| 67 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::VPCOptions', | |||||||||
| 68 | as 'Cfn::Value'; | ||||||||||
| 69 | |||||||||||
| 70 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::VPCOptions', | ||||||||||
| 71 | from 'HashRef', | ||||||||||
| 72 | via { | ||||||||||
| 73 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 74 | 0 | return $f | |||||||||
| 75 | } else { | ||||||||||
| 76 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::VPCOptions->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 2 | }; | |||||||||
| 79 | |||||||||||
| 80 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::VPCOptions { | |||||||||
| 81 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 84 | |||||||||||
| 85 | 2 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | 2 | has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | } | ||||||||||
| 88 | |||||||||||
| 89 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::SnapshotOptions', | |||||||||
| 90 | as 'Cfn::Value'; | ||||||||||
| 91 | |||||||||||
| 92 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::SnapshotOptions', | ||||||||||
| 93 | from 'HashRef', | ||||||||||
| 94 | via { | ||||||||||
| 95 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 96 | 0 | return $f | |||||||||
| 97 | } else { | ||||||||||
| 98 | 2 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::SnapshotOptions->new( %$_ ); | |||||||||
| 99 | } | ||||||||||
| 100 | 2 | }; | |||||||||
| 101 | |||||||||||
| 102 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::SnapshotOptions { | |||||||||
| 103 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 104 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 105 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 106 | |||||||||||
| 107 | 2 | has AutomatedSnapshotStartHour => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | } | ||||||||||
| 109 | |||||||||||
| 110 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions', | |||||||||
| 111 | as 'Cfn::Value'; | ||||||||||
| 112 | |||||||||||
| 113 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions', | ||||||||||
| 114 | from 'HashRef', | ||||||||||
| 115 | via { | ||||||||||
| 116 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 117 | 0 | return $f | |||||||||
| 118 | } else { | ||||||||||
| 119 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions->new( %$_ ); | |||||||||
| 120 | } | ||||||||||
| 121 | 2 | }; | |||||||||
| 122 | |||||||||||
| 123 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions { | |||||||||
| 124 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 125 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 126 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 127 | |||||||||||
| 128 | 2 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 129 | } | ||||||||||
| 130 | |||||||||||
| 131 | subtype 'MapOfCfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption', | ||||||||||
| 132 | as 'Cfn::Value', | ||||||||||
| 133 | 0 | ▶ | where { $_->isa('Cfn::Value::Hash') or $_->isa('Cfn::Value::Function') }, | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 134 | 0 | ▶ | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 135 | |||||||||||
| 136 | coerce 'MapOfCfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption', | ||||||||||
| 137 | from 'HashRef', | ||||||||||
| 138 | via { | ||||||||||
| 139 | 0 | ▶ | my $arg = $_; | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 140 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($arg)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 141 | 0 | return $f | |||||||||
| 142 | } else { | ||||||||||
| 143 | Cfn::Value::Hash->new(Value => { | ||||||||||
| 144 | 0 | map { $_ => Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption')->coerce($arg->{$_}) } keys %$arg | |||||||||
| 145 | }); | ||||||||||
| 146 | } | ||||||||||
| 147 | 2 | }; | |||||||||
| 148 | |||||||||||
| 149 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption', | |||||||||
| 150 | as 'Cfn::Value'; | ||||||||||
| 151 | |||||||||||
| 152 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption', | ||||||||||
| 153 | from 'HashRef', | ||||||||||
| 154 | via { | ||||||||||
| 155 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 156 | 0 | return $f | |||||||||
| 157 | } else { | ||||||||||
| 158 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::LogPublishingOption->new( %$_ ); | |||||||||
| 159 | } | ||||||||||
| 160 | 2 | }; | |||||||||
| 161 | |||||||||||
| 162 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::LogPublishingOption { | |||||||||
| 163 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 164 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 165 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 166 | |||||||||||
| 167 | 2 | has CloudWatchLogsLogGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 168 | 2 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 169 | } | ||||||||||
| 170 | |||||||||||
| 171 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EncryptionAtRestOptions', | |||||||||
| 172 | as 'Cfn::Value'; | ||||||||||
| 173 | |||||||||||
| 174 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EncryptionAtRestOptions', | ||||||||||
| 175 | from 'HashRef', | ||||||||||
| 176 | via { | ||||||||||
| 177 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 178 | 0 | return $f | |||||||||
| 179 | } else { | ||||||||||
| 180 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EncryptionAtRestOptions->new( %$_ ); | |||||||||
| 181 | } | ||||||||||
| 182 | 2 | }; | |||||||||
| 183 | |||||||||||
| 184 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EncryptionAtRestOptions { | |||||||||
| 185 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 186 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 187 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 188 | |||||||||||
| 189 | 2 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 190 | 2 | has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 191 | } | ||||||||||
| 192 | |||||||||||
| 193 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig', | |||||||||
| 194 | as 'Cfn::Value'; | ||||||||||
| 195 | |||||||||||
| 196 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig', | ||||||||||
| 197 | from 'HashRef', | ||||||||||
| 198 | via { | ||||||||||
| 199 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 200 | 0 | return $f | |||||||||
| 201 | } else { | ||||||||||
| 202 | 2 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig->new( %$_ ); | |||||||||
| 203 | } | ||||||||||
| 204 | 2 | }; | |||||||||
| 205 | |||||||||||
| 206 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig { | |||||||||
| 207 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 208 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 209 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 210 | |||||||||||
| 211 | 2 | has DedicatedMasterCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 212 | 2 | has DedicatedMasterEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 213 | 2 | has DedicatedMasterType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 214 | 2 | has InstanceCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 215 | 2 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 216 | 2 | has WarmCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 217 | 2 | has WarmEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 218 | 2 | has WarmType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 219 | 2 | has ZoneAwarenessConfig => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ZoneAwarenessConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 220 | 2 | has ZoneAwarenessEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 221 | } | ||||||||||
| 222 | |||||||||||
| 223 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EBSOptions', | |||||||||
| 224 | as 'Cfn::Value'; | ||||||||||
| 225 | |||||||||||
| 226 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EBSOptions', | ||||||||||
| 227 | from 'HashRef', | ||||||||||
| 228 | via { | ||||||||||
| 229 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
Branch: 1 branch
| |||||||||||
| 230 | 0 | return $f | |||||||||
| 231 | } else { | ||||||||||
| 232 | 2 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EBSOptions->new( %$_ ); | |||||||||
| 233 | } | ||||||||||
| 234 | 2 | }; | |||||||||
| 235 | |||||||||||
| 236 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EBSOptions { | |||||||||
| 237 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 238 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 239 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 240 | |||||||||||
| 241 | 2 | has EBSEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 242 | 2 | has Iops => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 243 | 2 | has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 244 | 2 | has VolumeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 245 | } | ||||||||||
| 246 | |||||||||||
| 247 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::DomainEndpointOptions', | |||||||||
| 248 | as 'Cfn::Value'; | ||||||||||
| 249 | |||||||||||
| 250 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::DomainEndpointOptions', | ||||||||||
| 251 | from 'HashRef', | ||||||||||
| 252 | via { | ||||||||||
| 253 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 254 | 0 | return $f | |||||||||
| 255 | } else { | ||||||||||
| 256 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::DomainEndpointOptions->new( %$_ ); | |||||||||
| 257 | } | ||||||||||
| 258 | 2 | }; | |||||||||
| 259 | |||||||||||
| 260 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::DomainEndpointOptions { | |||||||||
| 261 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 262 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 263 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 264 | |||||||||||
| 265 | 2 | has EnforceHTTPS => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 266 | 2 | has TLSSecurityPolicy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 267 | } | ||||||||||
| 268 | |||||||||||
| 269 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::CognitoOptions', | |||||||||
| 270 | as 'Cfn::Value'; | ||||||||||
| 271 | |||||||||||
| 272 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::CognitoOptions', | ||||||||||
| 273 | from 'HashRef', | ||||||||||
| 274 | via { | ||||||||||
| 275 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 276 | 0 | return $f | |||||||||
| 277 | } else { | ||||||||||
| 278 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::CognitoOptions->new( %$_ ); | |||||||||
| 279 | } | ||||||||||
| 280 | 2 | }; | |||||||||
| 281 | |||||||||||
| 282 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::CognitoOptions { | |||||||||
| 283 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 284 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 285 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 286 | |||||||||||
| 287 | 2 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 288 | 2 | has IdentityPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 289 | 2 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 290 | 2 | has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 291 | } | ||||||||||
| 292 | |||||||||||
| 293 | 2 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput', | |||||||||
| 294 | as 'Cfn::Value'; | ||||||||||
| 295 | |||||||||||
| 296 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput', | ||||||||||
| 297 | from 'HashRef', | ||||||||||
| 298 | via { | ||||||||||
| 299 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
| |||||||||||
| 300 | 0 | return $f | |||||||||
| 301 | } else { | ||||||||||
| 302 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput->new( %$_ ); | |||||||||
| 303 | } | ||||||||||
| 304 | 2 | }; | |||||||||
| 305 | |||||||||||
| 306 | 2 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput { | |||||||||
| 307 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 308 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 309 | 2 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 310 | |||||||||||
| 311 | 2 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 312 | 2 | has InternalUserDatabaseEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 313 | 2 | has MasterUserOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::MasterUserOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 314 | } | ||||||||||
| 315 | |||||||||||
| 316 | 2 | package Cfn::Resource::Properties::AWS::Elasticsearch::Domain { | |||||||||
| 317 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 318 | 2 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 319 | 2 | extends 'Cfn::Resource::Properties'; | |||||||||
| 320 | |||||||||||
| 321 | 2 | has AccessPolicies => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 322 | 2 | has AdvancedOptions => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 323 | 2 | has AdvancedSecurityOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 324 | 2 | has CognitoOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::CognitoOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 325 | 2 | has DomainEndpointOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::DomainEndpointOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 326 | 2 | has DomainName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 327 | 2 | has EBSOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EBSOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 328 | 2 | has ElasticsearchClusterConfig => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 329 | 2 | has ElasticsearchVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional'); | |||||||||
| 330 | 2 | has EncryptionAtRestOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EncryptionAtRestOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 331 | 2 | has LogPublishingOptions => (isa => 'MapOfCfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 332 | 2 | has NodeToNodeEncryptionOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 333 | 2 | has SnapshotOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::SnapshotOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 334 | 2 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 335 | 2 | has VPCOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::VPCOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 336 | } | ||||||||||
| 337 | |||||||||||
| 338 | 2 | 1; | |||||||||
| 339 | ### main pod documentation begin ### | ||||||||||
| 340 | |||||||||||
| 341 | =encoding UTF-8 | ||||||||||
| 342 | |||||||||||
| 343 | =head1 NAME | ||||||||||
| 344 | |||||||||||
| 345 | Cfn::Resource::AWS::Elasticsearch::Domain - Cfn resource for AWS::Elasticsearch::Domain | ||||||||||
| 346 | |||||||||||
| 347 | =head1 DESCRIPTION | ||||||||||
| 348 | |||||||||||
| 349 | This module implements a Perl module that represents the CloudFormation object AWS::Elasticsearch::Domain. | ||||||||||
| 350 | |||||||||||
| 351 | See L<Cfn> for more information on how to use it. | ||||||||||
| 352 | |||||||||||
| 353 | =head1 AUTHOR | ||||||||||
| 354 | |||||||||||
| 355 | Jose Luis Martinez | ||||||||||
| 356 | CAPSiDE | ||||||||||
| 357 | jlmartinez@capside.com | ||||||||||
| 358 | |||||||||||
| 359 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 360 | |||||||||||
| 361 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 362 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 363 | license can be found in the LICENSE file included with this module. | ||||||||||
| 364 | |||||||||||
| 365 | =cut | ||||||||||