This repository has been archived by the owner on Aug 13, 2019. It is now read-only.
forked from cloudify-cosmo/cloudify-aws-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yaml
1110 lines (1058 loc) · 38.8 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
##################################################################################
# Cloudify AWS EC2 built in types and plugins definitions.
##################################################################################
plugins:
aws:
executor: central_deployment_agent
source: https://github.com/cloudify-cosmo/cloudify-aws-plugin/archive/1.4.10.zip
package_name: cloudify-aws-plugin
package_version: '1.4.10'
data_types:
cloudify.datatypes.aws.Config:
properties:
aws_access_key_id:
description: >
The ID of your AWS ACCESS KEY.
type: string
required: false
aws_secret_access_key:
description: >
The ID of your AWS SECRET KEY.
type: string
required: false
region:
description: >
This is for backward compatibility with version 1.2.
type: string
required: false
ec2_region_name:
description: >
The EC2 Region RegionName, such as us-east-1.
(Not us-east-1b, which is an availability zone, or US East, which is a Region.)
type: string
required: false
ec2_region_endpoint:
description: >
The endpoint for the given region.
type: string
required: false
elb_region_name:
description: >
The ELB Region RegionName, such as us-east-1.
(Not us-east-1b, which is an availability zone, or US East, which is a Region.)
Required for aws_config for node type cloudify.aws.nodes.ElasticLoadBalancer.
type: string
required: false
elb_region_endpoint:
description: >
The endpoint for the given ELB region.
type: string
required: false
cloudify.datatypes.aws.Route:
properties:
route_table_id:
description: >
In most cases, leave this blank, because the route table is implicit from the node or relationship that is creating the route.
type: string
required: false
destination_cidr_block:
description: >
This is the cidr_block that you want to route traffic for to the device.
type: string
required: true
gateway_id:
description: >
The id of the gateway (either internet gateway, customer gateway, or vpn gateway).
type: string
required: false
instance_id:
description: >
The id of the instance (if you are routing to a NAT instance).
type: string
required: false
interface_id:
description: >
The id of an attached network interface.
type: string
required: false
vpc_peering_connection_id:
description: >
The id of a VPC peering connection.
type: string
required: false
cloudify.datatypes.aws.NetworkAclEntry:
properties:
rule_number:
description: >
Some number to identify this rule. Cannot duplicate an existing rule number.
type: integer
required: true
protocol:
description: >
The Assigned Internet Protocol Number for the protocol (e.g. 1 is ICMP, 6 is TCP, and 17 is UDP).
type: integer
required: true
rule_action:
description: Either ALLOW or DENY.
type: string
required: true
cidr_block:
description: >
The cidr_block.
type: string
required: true
egress:
description: >
Whether the rule applies to egress traffic from the subnet.
type: boolean
default: false
required: false
icmp_type:
description: >
If in protocol you chose 1 for ICMP, the ICMP type, -1 for all ICMP types.
type: integer
required: false
icmp_code:
description: >
If in protocol you chose 1 for ICMP, the ICMP code, -1 for all ICMP codes.
type: integer
required: false
port_range_from:
description: >
The first port in the range.
type: integer
required: true
port_range_to:
description: >
The last port in the range.
type: integer
required: true
cloudify.datatypes.aws.SecurityGroupRule:
properties:
egress:
description: >
Whether the rule applies to egress traffic.
type: boolean
default: false
required: false
ip_protocol:
description: >
The Assigned Internet Protocol Number for the protocol.
type: string
required: false
from_port:
description: >
The first port in the range.
type: integer
required: false
to_port:
description: >
The last port in the range.
type: integer
required: false
cidr_ip:
description: >
The cidr_block.
type: string
required: false
src_group_id:
description: >
The security group ID.
type: string
required: false
node_types:
cloudify.aws.nodes.Instance:
derived_from: cloudify.nodes.Compute
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
name:
description: >
Optional field if you want to add a specific name to the instance.
default: ''
required: false
image_id:
description: >
The ID of the AMI image in your Amazon account.
type: string
required: true
instance_type:
description: >
The instance's size.
type: string
required: true
use_password:
default: false
parameters:
description: >
The key value pair parameters allowed by Amazon API to the
ec2.connection.EC2Connection.run_instances command. It should be mentioned that
although this field is listed as optional. A non-trivial use case requires
that both the key_name parameter and the security_groups parameter be specified.
default: {}
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: aws.cloudify_aws.ec2.instance.create
start:
implementation: aws.cloudify_aws.ec2.instance.start
inputs:
start_retry_interval:
description: Polling interval until the server is active in seconds
type: integer
default: 30
private_key_path:
description: >
Path to private key which matches the server's
public key. Will be used to decrypt password in case
the "use_password" property is set to "true"
type: string
default: ''
stop:
implementation: aws.cloudify_aws.ec2.instance.stop
delete:
implementation: aws.cloudify_aws.ec2.instance.delete
cloudify.interfaces.validation:
creation:
implementation: aws.cloudify_aws.ec2.instance.creation_validation
cloudify.aws.nodes.WindowsInstance:
derived_from: cloudify.aws.nodes.Instance
properties:
use_password:
default: true
os_family:
default: windows
agent_config:
type: cloudify.datatypes.AgentConfig
default:
port: 5985
cloudify.aws.nodes.ElasticIP:
derived_from: cloudify.nodes.VirtualIP
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
domain:
description: >
Set this to 'vpc' if you want to use VPC.
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.ec2.elasticip.create
delete: aws.cloudify_aws.ec2.elasticip.delete
cloudify.interfaces.validation:
creation: aws.cloudify_aws.ec2.elasticip.creation_validation
cloudify.aws.nodes.SecurityGroup:
derived_from: cloudify.nodes.SecurityGroup
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
description:
description: >
The description field that is required for every security group that you create
in Amazon.
type: string
required: true
rules:
default: []
description: >
You need to pass in either src_group_id (security group ID) OR cidr_ip,
and then the following three: ip_protocol, from_port and to_port.
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.ec2.securitygroup.create
start: aws.cloudify_aws.ec2.securitygroup.start
delete: aws.cloudify_aws.ec2.securitygroup.delete
cloudify.interfaces.validation:
creation: aws.cloudify_aws.ec2.securitygroup.creation_validation
cloudify.aws.nodes.Volume:
derived_from: cloudify.nodes.Volume
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
size:
description: >
The size of the volume in GB.
type: string
required: true
zone:
description: >
A string representing the AWS availability zone.
type: string
required: true
device:
description: >
The device on the instance
type: string
required: true
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: aws.cloudify_aws.ec2.ebs.create
inputs:
args:
default: {}
start: aws.cloudify_aws.ec2.ebs.start
delete:
implementation: aws.cloudify_aws.ec2.ebs.delete
inputs:
args:
default: {}
cloudify.interfaces.validation:
creation: aws.cloudify_aws.ec2.ebs.creation_validation
cloudify.interfaces.aws.snapshot:
create:
implementation: aws.cloudify_aws.ec2.ebs.create_snapshot
inputs:
args:
default: {}
cloudify.aws.nodes.KeyPair:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
If use_external_resource is false, this will be the keys name and ID in AWS.
If left blank, the plugin will set a name for you.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
private_key_path:
description: >
The path where the key should be saved on the machine. If this is a bootstrap
process, this refers to the local computer. If this will run on the manager,
this will be saved on the manager.
type: string
required: true
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.ec2.keypair.create
delete: aws.cloudify_aws.ec2.keypair.delete
cloudify.interfaces.validation:
creation: aws.cloudify_aws.ec2.keypair.creation_validation
cloudify.aws.nodes.ElasticLoadBalancer:
derived_from: cloudify.nodes.LoadBalancer
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
elb_name:
type: string
description: >
The mnemonic name associated with the new load balancer
required: true
zones:
description: >
zones (List of strings) - The names of the availability zone(s) to add.
example: ['us-east-1b','us-east-1b']
required: true
security_groups:
description: >
security_groups (list of strings) - The security groups assigned to your LoadBalancer
within your VPC.
example: ['sg-123456','sg-7891011']
FYI: security groups only supported with vpc
default: []
required: false
listeners:
description: >
listeners (List of tuples) - Each tuple contains three or four values, (LoadBalancerPortNumber,
InstancePortNumber, Protocol, [SSLCertificateId]) where LoadBalancerPortNumber and
InstancePortNumber are integer values between 1 and 65535, Protocol is a string containing
either 'TCP', 'SSL', 'HTTP', or 'HTTPS'; SSLCertificateID is the ARN of a AWS IAM certificate,
and must be specified when doing HTTPS.
example: [[80, 8080, 'http'], [443, 8443, 'tcp']]
required: true
health_checks:
description: >
list of healthchecks (dicts) to use as criteria for instance health
example: [{'target': 'HTTP:8080/health'}, {'target': 'HTTP:80/alive'}]
default: []
required: false
scheme:
type: string
description: >
The type of a LoadBalancer. By default, Elastic Load Balancing creates an internet-facing
LoadBalancer with a publicly resolvable DNS name, which resolves to public IP addresses.
Specify the value internal for this option to create an internal LoadBalancer with a DNS
name that resolves to private IP addresses.
This option is only available for LoadBalancers attached to an Amazon VPC.
default: ''
required: false
subnets:
description: >
list of strings - A list of subnet IDs in your VPC to attach to your LoadBalancer.
example:
default: []
required: false
complex_listeners:
description: >
List of tuples - Each tuple contains four or five values, (LoadBalancerPortNumber,
InstancePortNumber, Protocol, InstanceProtocol, SSLCertificateId).
Where:
LoadBalancerPortNumber and InstancePortNumber are integer values between 1 and 65535
Protocol and InstanceProtocol is a string containing either 'TCP', 'SSL', 'HTTP', or 'HTTPS'
SSLCertificateId is the ARN of an SSL certificate loaded into AWS IAM
default: []
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: aws.cloudify_aws.ec2.elasticloadbalancer.create
start: aws.cloudify_aws.ec2.elasticloadbalancer.start
delete:
implementation: aws.cloudify_aws.ec2.elasticloadbalancer.delete
cloudify.interfaces.validation:
creation:
implementation: aws.cloudify_aws.ec2.elasticloadbalancer.creation_validation
cloudify.aws.nodes.VPC:
derived_from: cloudify.nodes.Network
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
cidr_block:
description: >
The CIDR Block that you will split this VPCs subnets across.
type: string
required: true
instance_tenancy:
description: >
Default or dedicated.
type: string
default: default
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.vpc.create_vpc
start: aws.cloudify_aws.vpc.vpc.start
delete: aws.cloudify_aws.vpc.vpc.delete
cloudify.interfaces.validation:
creation: aws.cloudify_aws.vpc.vpc.creation_validation
cloudify.aws.nodes.Subnet:
derived_from: cloudify.nodes.Subnet
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
cidr_block:
description: >
The CIDR Block that instances will be on.
type: string
required: true
availability_zone:
description: >
The availability zone that you want your subnet in.
default: ''
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.subnet.create_subnet
start: aws.cloudify_aws.vpc.subnet.start_subnet
delete: aws.cloudify_aws.vpc.subnet.delete_subnet
cloudify.interfaces.validation:
creation: aws.cloudify_aws.vpc.subnet.creation_validation
cloudify.aws.nodes.Gateway:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.validation:
creation: aws.cloudify_aws.vpc.gateway.creation_validation
cloudify.aws.nodes.InternetGateway:
derived_from: cloudify.aws.nodes.Gateway
properties:
cidr_block:
description: >
The cidr_block that you want this internet gateway to service. Default is for all internet traffic.
default: '0.0.0.0/0'
required: true
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.gateway.create_internet_gateway
start: aws.cloudify_aws.vpc.gateway.start_internet_gateway
delete: aws.cloudify_aws.vpc.gateway.delete_internet_gateway
cloudify.aws.nodes.VPNGateway:
derived_from: cloudify.aws.nodes.Gateway
properties:
type:
description: >
Type of VPN Connection. Only valid value currently is ipsec.1
default: ipsec.1
required: true
availability_zone:
description: >
The Availability Zone where you want the VPN gateway.
default: ''
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.gateway.create_vpn_gateway
start: aws.cloudify_aws.vpc.gateway.start_vpn_gateway
delete: aws.cloudify_aws.vpc.gateway.delete_vpn_gateway
cloudify.aws.nodes.CustomerGateway:
derived_from: cloudify.aws.nodes.Gateway
properties:
type:
description: >
Type of VPN Connection. Only valid value currently is ipsec.1
default: ipsec.1
required: true
ip_address:
description: >
Internet-routable IP address for customers gateway. Must be a static address
required: true
bgp_asn:
description: >
Customer gateways Border Gateway Protocol (BGP) Autonomous System Number (ASN)
required: true
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.gateway.create_customer_gateway
start: aws.cloudify_aws.vpc.gateway.start_customer_gateway
delete: aws.cloudify_aws.vpc.gateway.delete_customer_gateway
cloudify.aws.nodes.ACL:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
acl_network_entries:
description: >
A list of rules of data type cloudify.datatypes.aws.NetworkAclEntry (see above).
default: []
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.networkacl.create_network_acl
start: aws.cloudify_aws.vpc.networkacl.start_network_acl
delete: aws.cloudify_aws.vpc.networkacl.delete_network_acl
cloudify.interfaces.validation:
creation: aws.cloudify_aws.vpc.networkacl.creation_validation
cloudify.aws.nodes.DHCPOptions:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
domain_name:
description: >
A domain name.
required: false
domain_name_servers:
description: >
A list of up to four DNS servers.
default: []
required: false
ntp_servers:
description: >
A list of up to four NTP servers.
default: []
required: false
netbios_name_servers:
description: >
A list of up to four netbios servers.
default: []
required: false
netbios_node_type:
description: >
netbios type. recommended two.
default: ''
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: aws.cloudify_aws.vpc.dhcp.create_dhcp_options
start: aws.cloudify_aws.vpc.dhcp.start_dhcp_options
delete: aws.cloudify_aws.vpc.dhcp.delete_dhcp_options
cloudify.interfaces.validation:
creation: aws.cloudify_aws.vpc.dhcp.creation_validation
cloudify.aws.nodes.RouteTable:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
required: true
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: aws.cloudify_aws.vpc.routetable.create_route_table
inputs:
routes:
description: >
A list of cloudify.datatypes.aws.Route.
default: []
start: aws.cloudify_aws.vpc.routetable.start_route_table
delete: aws.cloudify_aws.vpc.routetable.delete_route_table
cloudify.interfaces.validation:
creation: aws.cloudify_aws.vpc.routetable.creation_validation
cloudify.aws.nodes.Interface:
derived_from: cloudify.nodes.Port
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource,
true if you are bringing an existing resource, false if you want cloudify to create it.
type: boolean
default: false
required: true
resource_id:
description: >
The AWS resource ID of the external resource, if use_external_resource is true.
Otherwise it is an empty string.
type: string
default: ''
tags:
description: >
A dictionary of key/value pairs of tags you want to add.
default: {}
parameters:
description: >
Any parameters accepted by the create_network_interface operation.
default: {}
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
required: false
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: aws.cloudify_aws.ec2.eni.create
inputs:
args:
default: {}
start: aws.cloudify_aws.ec2.eni.start
delete:
implementation: aws.cloudify_aws.ec2.eni.delete
inputs:
args:
default: {}
cloudify.aws.nodes.SecurityGroupRule:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
type: boolean
default: False
resource_id:
description: >
The resource ID.
type: string
default: ''
required: false
rule:
description: >
A list of rules of data type cloudify.datatypes.aws.SecurityGroupRule (see above).
default: []
required: false
aws_config:
description: >
A dictionary of values to pass to authenticate with the AWS API.
type: cloudify.datatypes.aws.Config
cloudify.aws.nodes.SecurityGroupRule.Multi:
derived_from: cloudify.aws.nodes.SecurityGroupRule
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: aws.cloudify_aws.ec2.securitygroup.create_rule
inputs:
args:
default: {}
delete:
implementation: aws.cloudify_aws.ec2.securitygroup.delete_rule
inputs:
args:
default: {}
relationships:
cloudify.aws.relationships.connected_to_elastic_ip:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish: aws.cloudify_aws.ec2.elasticip.associate
unlink: aws.cloudify_aws.ec2.elasticip.disassociate
cloudify.aws.relationships.instance_connected_to_elastic_ip:
derived_from: cloudify.aws.relationships.connected_to_elastic_ip
cloudify.aws.relationships.instance_connected_to_keypair:
derived_from: cloudify.relationships.connected_to
cloudify.aws.relationships.connected_to_security_group:
derived_from: cloudify.relationships.connected_to
cloudify.aws.relationships.instance_connected_to_security_group:
derived_from: cloudify.aws.relationships.connected_to_security_group
cloudify.aws.relationships.instance_connected_to_load_balancer:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish: aws.cloudify_aws.ec2.elasticloadbalancer.associate
unlink: aws.cloudify_aws.ec2.elasticloadbalancer.disassociate
cloudify.aws.relationships.volume_connected_to_instance:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: aws.cloudify_aws.ec2.ebs.associate
inputs:
args:
default: {}
force:
default: False
unlink:
implementation: aws.cloudify_aws.ec2.ebs.disassociate
inputs:
args:
default: {}
force:
default: False
cloudify.aws.relationships.subnet_contained_in_vpc:
derived_from: cloudify.relationships.contained_in
cloudify.aws.relationships.routetable_contained_in_vpc:
derived_from: cloudify.relationships.contained_in
cloudify.aws.relationships.routetable_associated_with_subnet:
derived_from: cloudify.relationships.connected_to
target_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: aws.cloudify_aws.vpc.routetable.associate_route_table
unlink:
implementation: aws.cloudify_aws.vpc.routetable.disassociate_route_table
cloudify.aws.relationships.route_table_to_gateway:
derived_from: cloudify.relationships.connected_to
target_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: aws.cloudify_aws.vpc.routetable.create_route_to_gateway
inputs: