« Cfn/Resource/AWS/ElasticLoadBalancingV2/Listener.pm
↑ Summary
Cfn/Resource/AWS/StepFunctions/Activity.pm »
| 1 | # AWS::Elasticsearch::Domain generated from spec 22.0.0 | ||||||||||
| 2 | 1 | ▶ | 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 | 1 | package Cfn::Resource::AWS::Elasticsearch::Domain { | |||||||||
| 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::Elasticsearch::Domain', is => 'rw', coerce => 1); | |||||||||
| 12 | |||||||||||
| 13 | 0 | ▶ | sub AttributeList { | ||||||||
|
Subroutine
AttributeList: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 14 | 0 | [ 'Arn','DomainArn','DomainEndpoint' ] | |||||||||
| 15 | } | ||||||||||
| 16 | 0 | ▶ | sub supported_regions { | ||||||||
|
Subroutine
supported_regions: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 17 | 0 | [ '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' ] | |||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 29 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 30 | 0 | return $f | |||||||||
| 31 | } else { | ||||||||||
| 32 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ZoneAwarenessConfig->new( %$_ ); | |||||||||
| 33 | } | ||||||||||
| 34 | 1 | }; | |||||||||
| 35 | |||||||||||
| 36 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ZoneAwarenessConfig { | |||||||||
| 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 AvailabilityZoneCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 50 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 51 | 0 | return $f | |||||||||
| 52 | } else { | ||||||||||
| 53 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::MasterUserOptions->new( %$_ ); | |||||||||
| 54 | } | ||||||||||
| 55 | 1 | }; | |||||||||
| 56 | |||||||||||
| 57 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::MasterUserOptions { | |||||||||
| 58 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 59 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 60 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 61 | |||||||||||
| 62 | 1 | has MasterUserARN => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 63 | 1 | has MasterUserName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 64 | 1 | has MasterUserPassword => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 65 | } | ||||||||||
| 66 | |||||||||||
| 67 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 73 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 74 | 0 | return $f | |||||||||
| 75 | } else { | ||||||||||
| 76 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::VPCOptions->new( %$_ ); | |||||||||
| 77 | } | ||||||||||
| 78 | 1 | }; | |||||||||
| 79 | |||||||||||
| 80 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::VPCOptions { | |||||||||
| 81 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 82 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 83 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 84 | |||||||||||
| 85 | 1 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 86 | 1 | has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 87 | } | ||||||||||
| 88 | |||||||||||
| 89 | 1 | 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 | 2 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
| |||||||||||
| 95 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 96 | 0 | return $f | |||||||||
| 97 | } else { | ||||||||||
| 98 | 2 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::SnapshotOptions->new( %$_ ); | |||||||||
| 99 | } | ||||||||||
| 100 | 1 | }; | |||||||||
| 101 | |||||||||||
| 102 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::SnapshotOptions { | |||||||||
| 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::Value::TypedValue'; | |||||||||
| 106 | |||||||||||
| 107 | 1 | has AutomatedSnapshotStartHour => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 108 | } | ||||||||||
| 109 | |||||||||||
| 110 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 116 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 117 | 0 | return $f | |||||||||
| 118 | } else { | ||||||||||
| 119 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions->new( %$_ ); | |||||||||
| 120 | } | ||||||||||
| 121 | 1 | }; | |||||||||
| 122 | |||||||||||
| 123 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions { | |||||||||
| 124 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 125 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 126 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 127 | |||||||||||
| 128 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 139 | 0 | my $arg = $_; | |||||||||
| 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 | 1 | }; | |||||||||
| 148 | |||||||||||
| 149 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 155 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 156 | 0 | return $f | |||||||||
| 157 | } else { | ||||||||||
| 158 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::LogPublishingOption->new( %$_ ); | |||||||||
| 159 | } | ||||||||||
| 160 | 1 | }; | |||||||||
| 161 | |||||||||||
| 162 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::LogPublishingOption { | |||||||||
| 163 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 164 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 165 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 166 | |||||||||||
| 167 | 1 | has CloudWatchLogsLogGroupArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 168 | 1 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 169 | } | ||||||||||
| 170 | |||||||||||
| 171 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 177 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 178 | 0 | return $f | |||||||||
| 179 | } else { | ||||||||||
| 180 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EncryptionAtRestOptions->new( %$_ ); | |||||||||
| 181 | } | ||||||||||
| 182 | 1 | }; | |||||||||
| 183 | |||||||||||
| 184 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EncryptionAtRestOptions { | |||||||||
| 185 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 186 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 187 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 188 | |||||||||||
| 189 | 1 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 190 | 1 | has KmsKeyId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 191 | } | ||||||||||
| 192 | |||||||||||
| 193 | 1 | 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 | 2 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
| |||||||||||
| 199 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 200 | 0 | return $f | |||||||||
| 201 | } else { | ||||||||||
| 202 | 2 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig->new( %$_ ); | |||||||||
| 203 | } | ||||||||||
| 204 | 1 | }; | |||||||||
| 205 | |||||||||||
| 206 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig { | |||||||||
| 207 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 208 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 209 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 210 | |||||||||||
| 211 | 1 | has DedicatedMasterCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 212 | 1 | has DedicatedMasterEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 213 | 1 | has DedicatedMasterType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 214 | 1 | has InstanceCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 215 | 1 | has InstanceType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 216 | 1 | has WarmCount => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 217 | 1 | has WarmEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 218 | 1 | has WarmType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 219 | 1 | has ZoneAwarenessConfig => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ZoneAwarenessConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 220 | 1 | has ZoneAwarenessEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 221 | } | ||||||||||
| 222 | |||||||||||
| 223 | 1 | 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 | 2 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=8.1
| |||||||||||
| 229 | 2 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 230 | 0 | return $f | |||||||||
| 231 | } else { | ||||||||||
| 232 | 2 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EBSOptions->new( %$_ ); | |||||||||
| 233 | } | ||||||||||
| 234 | 1 | }; | |||||||||
| 235 | |||||||||||
| 236 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::EBSOptions { | |||||||||
| 237 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 238 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 239 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 240 | |||||||||||
| 241 | 1 | has EBSEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 242 | 1 | has Iops => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 243 | 1 | has VolumeSize => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 244 | 1 | has VolumeType => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 245 | } | ||||||||||
| 246 | |||||||||||
| 247 | 1 | 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 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 253 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 254 | 0 | return $f | |||||||||
| 255 | } else { | ||||||||||
| 256 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::DomainEndpointOptions->new( %$_ ); | |||||||||
| 257 | } | ||||||||||
| 258 | 1 | }; | |||||||||
| 259 | |||||||||||
| 260 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::DomainEndpointOptions { | |||||||||
| 261 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 262 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 263 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 264 | |||||||||||
| 265 | 1 | has CustomEndpoint => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 266 | 1 | has CustomEndpointCertificateArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 267 | 1 | has CustomEndpointEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 268 | 1 | has EnforceHTTPS => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 269 | 1 | has TLSSecurityPolicy => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 270 | } | ||||||||||
| 271 | |||||||||||
| 272 | 1 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::CognitoOptions', | |||||||||
| 273 | as 'Cfn::Value'; | ||||||||||
| 274 | |||||||||||
| 275 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::CognitoOptions', | ||||||||||
| 276 | from 'HashRef', | ||||||||||
| 277 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 278 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 279 | 0 | return $f | |||||||||
| 280 | } else { | ||||||||||
| 281 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::CognitoOptions->new( %$_ ); | |||||||||
| 282 | } | ||||||||||
| 283 | 1 | }; | |||||||||
| 284 | |||||||||||
| 285 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::CognitoOptions { | |||||||||
| 286 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 287 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 288 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 289 | |||||||||||
| 290 | 1 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 291 | 1 | has IdentityPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 292 | 1 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 293 | 1 | has UserPoolId => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 294 | } | ||||||||||
| 295 | |||||||||||
| 296 | 1 | subtype 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput', | |||||||||
| 297 | as 'Cfn::Value'; | ||||||||||
| 298 | |||||||||||
| 299 | coerce 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput', | ||||||||||
| 300 | from 'HashRef', | ||||||||||
| 301 | 0 | ▶ | via { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 302 | 0 | ▶ | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 303 | 0 | return $f | |||||||||
| 304 | } else { | ||||||||||
| 305 | 0 | return Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput->new( %$_ ); | |||||||||
| 306 | } | ||||||||||
| 307 | 1 | }; | |||||||||
| 308 | |||||||||||
| 309 | 1 | package Cfn::Resource::Properties::Object::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput { | |||||||||
| 310 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 311 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 312 | 1 | extends 'Cfn::Value::TypedValue'; | |||||||||
| 313 | |||||||||||
| 314 | 1 | has Enabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 315 | 1 | has InternalUserDatabaseEnabled => (isa => 'Cfn::Value::Boolean', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 316 | 1 | has MasterUserOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::MasterUserOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 317 | } | ||||||||||
| 318 | |||||||||||
| 319 | 1 | package Cfn::Resource::Properties::AWS::Elasticsearch::Domain { | |||||||||
| 320 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 321 | 1 | ▶ | use MooseX::StrictConstructor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 322 | 1 | extends 'Cfn::Resource::Properties'; | |||||||||
| 323 | |||||||||||
| 324 | 1 | has AccessPolicies => (isa => 'Cfn::Value::Json|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 325 | 1 | has AdvancedOptions => (isa => 'Cfn::Value::Hash|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 326 | 1 | has AdvancedSecurityOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::AdvancedSecurityOptionsInput', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 327 | 1 | has CognitoOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::CognitoOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 328 | 1 | has DomainEndpointOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::DomainEndpointOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 329 | 1 | has DomainName => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 330 | 1 | has EBSOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EBSOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 331 | 1 | has ElasticsearchClusterConfig => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::ElasticsearchClusterConfig', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 332 | 1 | has ElasticsearchVersion => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Conditional'); | |||||||||
| 333 | 1 | has EncryptionAtRestOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::EncryptionAtRestOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 334 | 1 | has LogPublishingOptions => (isa => 'MapOfCfn::Resource::Properties::AWS::Elasticsearch::Domain::LogPublishingOption', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 335 | 1 | has NodeToNodeEncryptionOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::NodeToNodeEncryptionOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Immutable'); | |||||||||
| 336 | 1 | has SnapshotOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::SnapshotOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 337 | 1 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 338 | 1 | has VPCOptions => (isa => 'Cfn::Resource::Properties::AWS::Elasticsearch::Domain::VPCOptions', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | |||||||||
| 339 | } | ||||||||||
| 340 | |||||||||||
| 341 | 1 | 1; | |||||||||
| 342 | ### main pod documentation begin ### | ||||||||||
| 343 | |||||||||||
| 344 | =encoding UTF-8 | ||||||||||
| 345 | |||||||||||
| 346 | =head1 NAME | ||||||||||
| 347 | |||||||||||
| 348 | Cfn::Resource::AWS::Elasticsearch::Domain - Cfn resource for AWS::Elasticsearch::Domain | ||||||||||
| 349 | |||||||||||
| 350 | =head1 DESCRIPTION | ||||||||||
| 351 | |||||||||||
| 352 | This module implements a Perl module that represents the CloudFormation object AWS::Elasticsearch::Domain. | ||||||||||
| 353 | |||||||||||
| 354 | See L<Cfn> for more information on how to use it. | ||||||||||
| 355 | |||||||||||
| 356 | =head1 AUTHOR | ||||||||||
| 357 | |||||||||||
| 358 | Jose Luis Martinez | ||||||||||
| 359 | CAPSiDE | ||||||||||
| 360 | jlmartinez@capside.com | ||||||||||
| 361 | |||||||||||
| 362 | =head1 COPYRIGHT and LICENSE | ||||||||||
| 363 | |||||||||||
| 364 | Copyright (c) 2013 by CAPSiDE | ||||||||||
| 365 | This code is distributed under the Apache 2 License. The full text of the | ||||||||||
| 366 | license can be found in the LICENSE file included with this module. | ||||||||||
| 367 | |||||||||||
| 368 | =cut | ||||||||||