« Cfn/Resource/AWS/GroundStation/Config.pm
↑ Summary
Cfn/Resource/AWS/GroundStation/MissionProfile.pm »
| 1 | # AWS::GroundStation::DataflowEndpointGroup generated from spec 34.0.0 | ||
| 2 | use Moose::Util::TypeConstraints; | ||
| 3 | |||
| 4 | coerce 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup', | ||
| 5 | from 'HashRef', | ||
| 6 | via { Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup->new( %$_ ) }; | ||
| 7 | |||
| 8 | package Cfn::Resource::AWS::GroundStation::DataflowEndpointGroup { | ||
| 9 | use Moose; | ||
| 10 | extends 'Cfn::Resource'; | ||
| 11 | has Properties => (isa => 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup', is => 'rw', coerce => 1); | ||
| 12 | |||
| 13 | sub AttributeList { | ||
| 14 | [ 'Arn','Id' ] | ||
| 15 | } | ||
| 16 | sub supported_regions { | ||
| 17 | [ 'af-south-1','ap-southeast-2','eu-central-1','eu-north-1','eu-west-1','me-south-1','us-east-1','us-east-2','us-west-2' ] | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | subtype 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::SocketAddress', | ||
| 24 | as 'Cfn::Value'; | ||
| 25 | |||
| 26 | coerce 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::SocketAddress', | ||
| 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::GroundStation::DataflowEndpointGroup::SocketAddress->new( %$_ ); | ||
| 33 | } | ||
| 34 | }; | ||
| 35 | |||
| 36 | package Cfn::Resource::Properties::Object::AWS::GroundStation::DataflowEndpointGroup::SocketAddress { | ||
| 37 | use Moose; | ||
| 38 | use MooseX::StrictConstructor; | ||
| 39 | extends 'Cfn::Value::TypedValue'; | ||
| 40 | |||
| 41 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 42 | has Port => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 43 | } | ||
| 44 | |||
| 45 | subtype 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::SecurityDetails', | ||
| 46 | as 'Cfn::Value'; | ||
| 47 | |||
| 48 | coerce 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::SecurityDetails', | ||
| 49 | from 'HashRef', | ||
| 50 | via { | ||
| 51 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 52 | return $f | ||
| 53 | } else { | ||
| 54 | return Cfn::Resource::Properties::Object::AWS::GroundStation::DataflowEndpointGroup::SecurityDetails->new( %$_ ); | ||
| 55 | } | ||
| 56 | }; | ||
| 57 | |||
| 58 | package Cfn::Resource::Properties::Object::AWS::GroundStation::DataflowEndpointGroup::SecurityDetails { | ||
| 59 | use Moose; | ||
| 60 | use MooseX::StrictConstructor; | ||
| 61 | extends 'Cfn::Value::TypedValue'; | ||
| 62 | |||
| 63 | has RoleArn => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 64 | has SecurityGroupIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 65 | has SubnetIds => (isa => 'Cfn::Value::Array|Cfn::Value::Function|Cfn::DynamicValue', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 66 | } | ||
| 67 | |||
| 68 | subtype 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::DataflowEndpoint', | ||
| 69 | as 'Cfn::Value'; | ||
| 70 | |||
| 71 | coerce 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::DataflowEndpoint', | ||
| 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::GroundStation::DataflowEndpointGroup::DataflowEndpoint->new( %$_ ); | ||
| 78 | } | ||
| 79 | }; | ||
| 80 | |||
| 81 | package Cfn::Resource::Properties::Object::AWS::GroundStation::DataflowEndpointGroup::DataflowEndpoint { | ||
| 82 | use Moose; | ||
| 83 | use MooseX::StrictConstructor; | ||
| 84 | extends 'Cfn::Value::TypedValue'; | ||
| 85 | |||
| 86 | has Address => (isa => 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::SocketAddress', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 87 | has Mtu => (isa => 'Cfn::Value::Integer', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 88 | has Name => (isa => 'Cfn::Value::String', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 89 | } | ||
| 90 | subtype 'ArrayOfCfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails', | ||
| 91 | as 'Cfn::Value', | ||
| 92 | where { $_->isa('Cfn::Value::Array') or $_->isa('Cfn::Value::Function') }, | ||
| 93 | message { "$_ is not a Cfn::Value or a Cfn::Value::Function" }; | ||
| 94 | |||
| 95 | coerce 'ArrayOfCfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails', | ||
| 96 | from 'HashRef', | ||
| 97 | via { | ||
| 98 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 99 | return $f | ||
| 100 | } else { | ||
| 101 | die 'Only accepts functions'; | ||
| 102 | } | ||
| 103 | }, | ||
| 104 | from 'ArrayRef', | ||
| 105 | via { | ||
| 106 | Cfn::Value::Array->new(Value => [ | ||
| 107 | map { | ||
| 108 | Moose::Util::TypeConstraints::find_type_constraint('Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails')->coerce($_) | ||
| 109 | } @$_ | ||
| 110 | ]); | ||
| 111 | }; | ||
| 112 | |||
| 113 | subtype 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails', | ||
| 114 | as 'Cfn::Value'; | ||
| 115 | |||
| 116 | coerce 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails', | ||
| 117 | from 'HashRef', | ||
| 118 | via { | ||
| 119 | if (my $f = Cfn::TypeLibrary::try_function($_)) { | ||
| 120 | return $f | ||
| 121 | } else { | ||
| 122 | return Cfn::Resource::Properties::Object::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails->new( %$_ ); | ||
| 123 | } | ||
| 124 | }; | ||
| 125 | |||
| 126 | package Cfn::Resource::Properties::Object::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails { | ||
| 127 | use Moose; | ||
| 128 | use MooseX::StrictConstructor; | ||
| 129 | extends 'Cfn::Value::TypedValue'; | ||
| 130 | |||
| 131 | has Endpoint => (isa => 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::DataflowEndpoint', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 132 | has SecurityDetails => (isa => 'Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::SecurityDetails', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 133 | } | ||
| 134 | |||
| 135 | package Cfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup { | ||
| 136 | use Moose; | ||
| 137 | use MooseX::StrictConstructor; | ||
| 138 | extends 'Cfn::Resource::Properties'; | ||
| 139 | |||
| 140 | has EndpointDetails => (isa => 'ArrayOfCfn::Resource::Properties::AWS::GroundStation::DataflowEndpointGroup::EndpointDetails', is => 'rw', coerce => 1, required => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 141 | has Tags => (isa => 'ArrayOfCfn::Resource::Properties::TagType', is => 'rw', coerce => 1, traits => [ 'CfnMutability' ], mutability => 'Mutable'); | ||
| 142 | } | ||
| 143 | |||
| 144 | 1; | ||
| 145 | ### main pod documentation begin ### | ||
| 146 | |||
| 147 | =encoding UTF-8 | ||
| 148 | |||
| 149 | =head1 NAME | ||
| 150 | |||
| 151 | Cfn::Resource::AWS::GroundStation::DataflowEndpointGroup - Cfn resource for AWS::GroundStation::DataflowEndpointGroup | ||
| 152 | |||
| 153 | =head1 DESCRIPTION | ||
| 154 | |||
| 155 | This module implements a Perl module that represents the CloudFormation object AWS::GroundStation::DataflowEndpointGroup. | ||
| 156 | |||
| 157 | See L<Cfn> for more information on how to use it. | ||
| 158 | |||
| 159 | =head1 AUTHOR | ||
| 160 | |||
| 161 | Jose Luis Martinez | ||
| 162 | CAPSiDE | ||
| 163 | jlmartinez@capside.com | ||
| 164 | |||
| 165 | =head1 COPYRIGHT and LICENSE | ||
| 166 | |||
| 167 | Copyright (c) 2013 by CAPSiDE | ||
| 168 | This code is distributed under the Apache 2 License. The full text of the | ||
| 169 | license can be found in the LICENSE file included with this module. | ||
| 170 | |||
| 171 | =cut |