aws-sdk-ec2 1.435.0 → 1.436.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +1 -1
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +102 -0
- data/sig/client.rbs +13220 -0
- data/sig/dhcp_options.rbs +84 -0
- data/sig/errors.rbs +16 -0
- data/sig/image.rbs +213 -0
- data/sig/instance.rbs +557 -0
- data/sig/internet_gateway.rbs +91 -0
- data/sig/key_pair.rbs +54 -0
- data/sig/key_pair_info.rbs +63 -0
- data/sig/nat_gateway.rbs +107 -0
- data/sig/network_acl.rbs +144 -0
- data/sig/network_interface.rbs +232 -0
- data/sig/network_interface_association.rbs +62 -0
- data/sig/placement_group.rbs +78 -0
- data/sig/resource.rbs +1009 -0
- data/sig/route.rbs +113 -0
- data/sig/route_table.rbs +117 -0
- data/sig/route_table_association.rbs +69 -0
- data/sig/security_group.rbs +308 -0
- data/sig/snapshot.rbs +188 -0
- data/sig/subnet.rbs +422 -0
- data/sig/tag.rbs +63 -0
- data/sig/types.rbs +15047 -0
- data/sig/volume.rbs +203 -0
- data/sig/vpc.rbs +398 -0
- data/sig/vpc_address.rbs +98 -0
- data/sig/vpc_peering_connection.rbs +84 -0
- data/sig/waiters.rbs +664 -0
- metadata +32 -4
data/sig/resource.rbs
ADDED
@@ -0,0 +1,1009 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module EC2
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_dhcp_options-instance_method
|
78
|
+
def create_dhcp_options: (
|
79
|
+
dhcp_configurations: Array[
|
80
|
+
{
|
81
|
+
key: ::String?,
|
82
|
+
values: Array[::String]?
|
83
|
+
},
|
84
|
+
],
|
85
|
+
?tag_specifications: Array[
|
86
|
+
{
|
87
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
88
|
+
tags: Array[
|
89
|
+
{
|
90
|
+
key: ::String?,
|
91
|
+
value: ::String?
|
92
|
+
},
|
93
|
+
]?
|
94
|
+
},
|
95
|
+
],
|
96
|
+
?dry_run: bool
|
97
|
+
) -> DhcpOptions
|
98
|
+
| (?Hash[Symbol, untyped]) -> DhcpOptions
|
99
|
+
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_instances-instance_method
|
101
|
+
def create_instances: (
|
102
|
+
?block_device_mappings: Array[
|
103
|
+
{
|
104
|
+
device_name: ::String?,
|
105
|
+
virtual_name: ::String?,
|
106
|
+
ebs: {
|
107
|
+
delete_on_termination: bool?,
|
108
|
+
iops: ::Integer?,
|
109
|
+
snapshot_id: ::String?,
|
110
|
+
volume_size: ::Integer?,
|
111
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
112
|
+
kms_key_id: ::String?,
|
113
|
+
throughput: ::Integer?,
|
114
|
+
outpost_arn: ::String?,
|
115
|
+
encrypted: bool?
|
116
|
+
}?,
|
117
|
+
no_device: ::String?
|
118
|
+
},
|
119
|
+
],
|
120
|
+
?image_id: ::String,
|
121
|
+
?instance_type: ("a1.medium" | "a1.large" | "a1.xlarge" | "a1.2xlarge" | "a1.4xlarge" | "a1.metal" | "c1.medium" | "c1.xlarge" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5.metal" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "c5ad.large" | "c5ad.xlarge" | "c5ad.2xlarge" | "c5ad.4xlarge" | "c5ad.8xlarge" | "c5ad.12xlarge" | "c5ad.16xlarge" | "c5ad.24xlarge" | "c5d.large" | "c5d.xlarge" | "c5d.2xlarge" | "c5d.4xlarge" | "c5d.9xlarge" | "c5d.12xlarge" | "c5d.18xlarge" | "c5d.24xlarge" | "c5d.metal" | "c5n.large" | "c5n.xlarge" | "c5n.2xlarge" | "c5n.4xlarge" | "c5n.9xlarge" | "c5n.18xlarge" | "c5n.metal" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "c6g.metal" | "c6gd.medium" | "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.12xlarge" | "c6gd.16xlarge" | "c6gd.metal" | "c6gn.medium" | "c6gn.large" | "c6gn.xlarge" | "c6gn.2xlarge" | "c6gn.4xlarge" | "c6gn.8xlarge" | "c6gn.12xlarge" | "c6gn.16xlarge" | "c6i.large" | "c6i.xlarge" | "c6i.2xlarge" | "c6i.4xlarge" | "c6i.8xlarge" | "c6i.12xlarge" | "c6i.16xlarge" | "c6i.24xlarge" | "c6i.32xlarge" | "c6i.metal" | "cc1.4xlarge" | "cc2.8xlarge" | "cg1.4xlarge" | "cr1.8xlarge" | "d2.xlarge" | "d2.2xlarge" | "d2.4xlarge" | "d2.8xlarge" | "d3.xlarge" | "d3.2xlarge" | "d3.4xlarge" | "d3.8xlarge" | "d3en.xlarge" | "d3en.2xlarge" | "d3en.4xlarge" | "d3en.6xlarge" | "d3en.8xlarge" | "d3en.12xlarge" | "dl1.24xlarge" | "f1.2xlarge" | "f1.4xlarge" | "f1.16xlarge" | "g2.2xlarge" | "g2.8xlarge" | "g3.4xlarge" | "g3.8xlarge" | "g3.16xlarge" | "g3s.xlarge" | "g4ad.xlarge" | "g4ad.2xlarge" | "g4ad.4xlarge" | "g4ad.8xlarge" | "g4ad.16xlarge" | "g4dn.xlarge" | "g4dn.2xlarge" | "g4dn.4xlarge" | "g4dn.8xlarge" | "g4dn.12xlarge" | "g4dn.16xlarge" | "g4dn.metal" | "g5.xlarge" | "g5.2xlarge" | "g5.4xlarge" | "g5.8xlarge" | "g5.12xlarge" | "g5.16xlarge" | "g5.24xlarge" | "g5.48xlarge" | "g5g.xlarge" | "g5g.2xlarge" | "g5g.4xlarge" | "g5g.8xlarge" | "g5g.16xlarge" | "g5g.metal" | "hi1.4xlarge" | "hpc6a.48xlarge" | "hs1.8xlarge" | "h1.2xlarge" | "h1.4xlarge" | "h1.8xlarge" | "h1.16xlarge" | "i2.xlarge" | "i2.2xlarge" | "i2.4xlarge" | "i2.8xlarge" | "i3.large" | "i3.xlarge" | "i3.2xlarge" | "i3.4xlarge" | "i3.8xlarge" | "i3.16xlarge" | "i3.metal" | "i3en.large" | "i3en.xlarge" | "i3en.2xlarge" | "i3en.3xlarge" | "i3en.6xlarge" | "i3en.12xlarge" | "i3en.24xlarge" | "i3en.metal" | "im4gn.large" | "im4gn.xlarge" | "im4gn.2xlarge" | "im4gn.4xlarge" | "im4gn.8xlarge" | "im4gn.16xlarge" | "inf1.xlarge" | "inf1.2xlarge" | "inf1.6xlarge" | "inf1.24xlarge" | "is4gen.medium" | "is4gen.large" | "is4gen.xlarge" | "is4gen.2xlarge" | "is4gen.4xlarge" | "is4gen.8xlarge" | "m1.small" | "m1.medium" | "m1.large" | "m1.xlarge" | "m2.xlarge" | "m2.2xlarge" | "m2.4xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m4.16xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5.metal" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "m5ad.large" | "m5ad.xlarge" | "m5ad.2xlarge" | "m5ad.4xlarge" | "m5ad.8xlarge" | "m5ad.12xlarge" | "m5ad.16xlarge" | "m5ad.24xlarge" | "m5d.large" | "m5d.xlarge" | "m5d.2xlarge" | "m5d.4xlarge" | "m5d.8xlarge" | "m5d.12xlarge" | "m5d.16xlarge" | "m5d.24xlarge" | "m5d.metal" | "m5dn.large" | "m5dn.xlarge" | "m5dn.2xlarge" | "m5dn.4xlarge" | "m5dn.8xlarge" | "m5dn.12xlarge" | "m5dn.16xlarge" | "m5dn.24xlarge" | "m5dn.metal" | "m5n.large" | "m5n.xlarge" | "m5n.2xlarge" | "m5n.4xlarge" | "m5n.8xlarge" | "m5n.12xlarge" | "m5n.16xlarge" | "m5n.24xlarge" | "m5n.metal" | "m5zn.large" | "m5zn.xlarge" | "m5zn.2xlarge" | "m5zn.3xlarge" | "m5zn.6xlarge" | "m5zn.12xlarge" | "m5zn.metal" | "m6a.large" | "m6a.xlarge" | "m6a.2xlarge" | "m6a.4xlarge" | "m6a.8xlarge" | "m6a.12xlarge" | "m6a.16xlarge" | "m6a.24xlarge" | "m6a.32xlarge" | "m6a.48xlarge" | "m6g.metal" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge" | "m6gd.metal" | "m6gd.medium" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.12xlarge" | "m6gd.16xlarge" | "m6i.large" | "m6i.xlarge" | "m6i.2xlarge" | "m6i.4xlarge" | "m6i.8xlarge" | "m6i.12xlarge" | "m6i.16xlarge" | "m6i.24xlarge" | "m6i.32xlarge" | "m6i.metal" | "mac1.metal" | "p2.xlarge" | "p2.8xlarge" | "p2.16xlarge" | "p3.2xlarge" | "p3.8xlarge" | "p3.16xlarge" | "p3dn.24xlarge" | "p4d.24xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5.metal" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "r5ad.large" | "r5ad.xlarge" | "r5ad.2xlarge" | "r5ad.4xlarge" | "r5ad.8xlarge" | "r5ad.12xlarge" | "r5ad.16xlarge" | "r5ad.24xlarge" | "r5b.large" | "r5b.xlarge" | "r5b.2xlarge" | "r5b.4xlarge" | "r5b.8xlarge" | "r5b.12xlarge" | "r5b.16xlarge" | "r5b.24xlarge" | "r5b.metal" | "r5d.large" | "r5d.xlarge" | "r5d.2xlarge" | "r5d.4xlarge" | "r5d.8xlarge" | "r5d.12xlarge" | "r5d.16xlarge" | "r5d.24xlarge" | "r5d.metal" | "r5dn.large" | "r5dn.xlarge" | "r5dn.2xlarge" | "r5dn.4xlarge" | "r5dn.8xlarge" | "r5dn.12xlarge" | "r5dn.16xlarge" | "r5dn.24xlarge" | "r5dn.metal" | "r5n.large" | "r5n.xlarge" | "r5n.2xlarge" | "r5n.4xlarge" | "r5n.8xlarge" | "r5n.12xlarge" | "r5n.16xlarge" | "r5n.24xlarge" | "r5n.metal" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "r6g.metal" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r6gd.metal" | "r6i.large" | "r6i.xlarge" | "r6i.2xlarge" | "r6i.4xlarge" | "r6i.8xlarge" | "r6i.12xlarge" | "r6i.16xlarge" | "r6i.24xlarge" | "r6i.32xlarge" | "r6i.metal" | "t1.micro" | "t2.nano" | "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "t2.xlarge" | "t2.2xlarge" | "t3.nano" | "t3.micro" | "t3.small" | "t3.medium" | "t3.large" | "t3.xlarge" | "t3.2xlarge" | "t3a.nano" | "t3a.micro" | "t3a.small" | "t3a.medium" | "t3a.large" | "t3a.xlarge" | "t3a.2xlarge" | "t4g.nano" | "t4g.micro" | "t4g.small" | "t4g.medium" | "t4g.large" | "t4g.xlarge" | "t4g.2xlarge" | "u-6tb1.56xlarge" | "u-6tb1.112xlarge" | "u-9tb1.112xlarge" | "u-12tb1.112xlarge" | "u-6tb1.metal" | "u-9tb1.metal" | "u-12tb1.metal" | "u-18tb1.metal" | "u-24tb1.metal" | "vt1.3xlarge" | "vt1.6xlarge" | "vt1.24xlarge" | "x1.16xlarge" | "x1.32xlarge" | "x1e.xlarge" | "x1e.2xlarge" | "x1e.4xlarge" | "x1e.8xlarge" | "x1e.16xlarge" | "x1e.32xlarge" | "x2iezn.2xlarge" | "x2iezn.4xlarge" | "x2iezn.6xlarge" | "x2iezn.8xlarge" | "x2iezn.12xlarge" | "x2iezn.metal" | "x2gd.medium" | "x2gd.large" | "x2gd.xlarge" | "x2gd.2xlarge" | "x2gd.4xlarge" | "x2gd.8xlarge" | "x2gd.12xlarge" | "x2gd.16xlarge" | "x2gd.metal" | "z1d.large" | "z1d.xlarge" | "z1d.2xlarge" | "z1d.3xlarge" | "z1d.6xlarge" | "z1d.12xlarge" | "z1d.metal" | "x2idn.16xlarge" | "x2idn.24xlarge" | "x2idn.32xlarge" | "x2iedn.xlarge" | "x2iedn.2xlarge" | "x2iedn.4xlarge" | "x2iedn.8xlarge" | "x2iedn.16xlarge" | "x2iedn.24xlarge" | "x2iedn.32xlarge" | "c6a.large" | "c6a.xlarge" | "c6a.2xlarge" | "c6a.4xlarge" | "c6a.8xlarge" | "c6a.12xlarge" | "c6a.16xlarge" | "c6a.24xlarge" | "c6a.32xlarge" | "c6a.48xlarge" | "c6a.metal" | "m6a.metal" | "i4i.large" | "i4i.xlarge" | "i4i.2xlarge" | "i4i.4xlarge" | "i4i.8xlarge" | "i4i.16xlarge" | "i4i.32xlarge" | "i4i.metal" | "x2idn.metal" | "x2iedn.metal" | "c7g.medium" | "c7g.large" | "c7g.xlarge" | "c7g.2xlarge" | "c7g.4xlarge" | "c7g.8xlarge" | "c7g.12xlarge" | "c7g.16xlarge" | "mac2.metal" | "c6id.large" | "c6id.xlarge" | "c6id.2xlarge" | "c6id.4xlarge" | "c6id.8xlarge" | "c6id.12xlarge" | "c6id.16xlarge" | "c6id.24xlarge" | "c6id.32xlarge" | "c6id.metal" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.12xlarge" | "m6id.16xlarge" | "m6id.24xlarge" | "m6id.32xlarge" | "m6id.metal" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r6id.metal" | "r6a.large" | "r6a.xlarge" | "r6a.2xlarge" | "r6a.4xlarge" | "r6a.8xlarge" | "r6a.12xlarge" | "r6a.16xlarge" | "r6a.24xlarge" | "r6a.32xlarge" | "r6a.48xlarge" | "r6a.metal" | "p4de.24xlarge" | "u-3tb1.56xlarge" | "u-18tb1.112xlarge" | "u-24tb1.112xlarge" | "trn1.2xlarge" | "trn1.32xlarge" | "hpc6id.32xlarge" | "c6in.large" | "c6in.xlarge" | "c6in.2xlarge" | "c6in.4xlarge" | "c6in.8xlarge" | "c6in.12xlarge" | "c6in.16xlarge" | "c6in.24xlarge" | "c6in.32xlarge" | "m6in.large" | "m6in.xlarge" | "m6in.2xlarge" | "m6in.4xlarge" | "m6in.8xlarge" | "m6in.12xlarge" | "m6in.16xlarge" | "m6in.24xlarge" | "m6in.32xlarge" | "m6idn.large" | "m6idn.xlarge" | "m6idn.2xlarge" | "m6idn.4xlarge" | "m6idn.8xlarge" | "m6idn.12xlarge" | "m6idn.16xlarge" | "m6idn.24xlarge" | "m6idn.32xlarge" | "r6in.large" | "r6in.xlarge" | "r6in.2xlarge" | "r6in.4xlarge" | "r6in.8xlarge" | "r6in.12xlarge" | "r6in.16xlarge" | "r6in.24xlarge" | "r6in.32xlarge" | "r6idn.large" | "r6idn.xlarge" | "r6idn.2xlarge" | "r6idn.4xlarge" | "r6idn.8xlarge" | "r6idn.12xlarge" | "r6idn.16xlarge" | "r6idn.24xlarge" | "r6idn.32xlarge" | "c7g.metal" | "m7g.medium" | "m7g.large" | "m7g.xlarge" | "m7g.2xlarge" | "m7g.4xlarge" | "m7g.8xlarge" | "m7g.12xlarge" | "m7g.16xlarge" | "m7g.metal" | "r7g.medium" | "r7g.large" | "r7g.xlarge" | "r7g.2xlarge" | "r7g.4xlarge" | "r7g.8xlarge" | "r7g.12xlarge" | "r7g.16xlarge" | "r7g.metal" | "c6in.metal" | "m6in.metal" | "m6idn.metal" | "r6in.metal" | "r6idn.metal" | "inf2.xlarge" | "inf2.8xlarge" | "inf2.24xlarge" | "inf2.48xlarge" | "trn1n.32xlarge" | "i4g.large" | "i4g.xlarge" | "i4g.2xlarge" | "i4g.4xlarge" | "i4g.8xlarge" | "i4g.16xlarge" | "hpc7g.4xlarge" | "hpc7g.8xlarge" | "hpc7g.16xlarge" | "c7gn.medium" | "c7gn.large" | "c7gn.xlarge" | "c7gn.2xlarge" | "c7gn.4xlarge" | "c7gn.8xlarge" | "c7gn.12xlarge" | "c7gn.16xlarge" | "p5.48xlarge" | "m7i.large" | "m7i.xlarge" | "m7i.2xlarge" | "m7i.4xlarge" | "m7i.8xlarge" | "m7i.12xlarge" | "m7i.16xlarge" | "m7i.24xlarge" | "m7i.48xlarge" | "m7i-flex.large" | "m7i-flex.xlarge" | "m7i-flex.2xlarge" | "m7i-flex.4xlarge" | "m7i-flex.8xlarge" | "m7a.medium" | "m7a.large" | "m7a.xlarge" | "m7a.2xlarge" | "m7a.4xlarge" | "m7a.8xlarge" | "m7a.12xlarge" | "m7a.16xlarge" | "m7a.24xlarge" | "m7a.32xlarge" | "m7a.48xlarge" | "m7a.metal-48xl" | "hpc7a.12xlarge" | "hpc7a.24xlarge" | "hpc7a.48xlarge" | "hpc7a.96xlarge" | "c7gd.medium" | "c7gd.large" | "c7gd.xlarge" | "c7gd.2xlarge" | "c7gd.4xlarge" | "c7gd.8xlarge" | "c7gd.12xlarge" | "c7gd.16xlarge" | "m7gd.medium" | "m7gd.large" | "m7gd.xlarge" | "m7gd.2xlarge" | "m7gd.4xlarge" | "m7gd.8xlarge" | "m7gd.12xlarge" | "m7gd.16xlarge" | "r7gd.medium" | "r7gd.large" | "r7gd.xlarge" | "r7gd.2xlarge" | "r7gd.4xlarge" | "r7gd.8xlarge" | "r7gd.12xlarge" | "r7gd.16xlarge" | "r7a.medium" | "r7a.large" | "r7a.xlarge" | "r7a.2xlarge" | "r7a.4xlarge" | "r7a.8xlarge" | "r7a.12xlarge" | "r7a.16xlarge" | "r7a.24xlarge" | "r7a.32xlarge" | "r7a.48xlarge" | "c7i.large" | "c7i.xlarge" | "c7i.2xlarge" | "c7i.4xlarge" | "c7i.8xlarge" | "c7i.12xlarge" | "c7i.16xlarge" | "c7i.24xlarge" | "c7i.48xlarge" | "mac2-m2pro.metal" | "r7iz.large" | "r7iz.xlarge" | "r7iz.2xlarge" | "r7iz.4xlarge" | "r7iz.8xlarge" | "r7iz.12xlarge" | "r7iz.16xlarge" | "r7iz.32xlarge" | "c7a.medium" | "c7a.large" | "c7a.xlarge" | "c7a.2xlarge" | "c7a.4xlarge" | "c7a.8xlarge" | "c7a.12xlarge" | "c7a.16xlarge" | "c7a.24xlarge" | "c7a.32xlarge" | "c7a.48xlarge" | "c7a.metal-48xl" | "r7a.metal-48xl" | "r7i.large" | "r7i.xlarge" | "r7i.2xlarge" | "r7i.4xlarge" | "r7i.8xlarge" | "r7i.12xlarge" | "r7i.16xlarge" | "r7i.24xlarge" | "r7i.48xlarge" | "dl2q.24xlarge" | "mac2-m2.metal" | "i4i.12xlarge" | "i4i.24xlarge" | "c7i.metal-24xl" | "c7i.metal-48xl" | "m7i.metal-24xl" | "m7i.metal-48xl" | "r7i.metal-24xl" | "r7i.metal-48xl" | "r7iz.metal-16xl" | "r7iz.metal-32xl"),
|
122
|
+
?ipv_6_address_count: ::Integer,
|
123
|
+
?ipv_6_addresses: Array[
|
124
|
+
{
|
125
|
+
ipv_6_address: ::String?,
|
126
|
+
is_primary_ipv_6: bool?
|
127
|
+
},
|
128
|
+
],
|
129
|
+
?kernel_id: ::String,
|
130
|
+
?key_name: ::String,
|
131
|
+
max_count: ::Integer,
|
132
|
+
min_count: ::Integer,
|
133
|
+
?monitoring: {
|
134
|
+
enabled: bool
|
135
|
+
},
|
136
|
+
?placement: {
|
137
|
+
availability_zone: ::String?,
|
138
|
+
affinity: ::String?,
|
139
|
+
group_name: ::String?,
|
140
|
+
partition_number: ::Integer?,
|
141
|
+
host_id: ::String?,
|
142
|
+
tenancy: ("default" | "dedicated" | "host")?,
|
143
|
+
spread_domain: ::String?,
|
144
|
+
host_resource_group_arn: ::String?,
|
145
|
+
group_id: ::String?
|
146
|
+
},
|
147
|
+
?ramdisk_id: ::String,
|
148
|
+
?security_group_ids: Array[::String],
|
149
|
+
?security_groups: Array[::String],
|
150
|
+
?subnet_id: ::String,
|
151
|
+
?user_data: ::String,
|
152
|
+
?additional_info: ::String,
|
153
|
+
?client_token: ::String,
|
154
|
+
?disable_api_termination: bool,
|
155
|
+
?dry_run: bool,
|
156
|
+
?ebs_optimized: bool,
|
157
|
+
?iam_instance_profile: {
|
158
|
+
arn: ::String?,
|
159
|
+
name: ::String?
|
160
|
+
},
|
161
|
+
?instance_initiated_shutdown_behavior: ("stop" | "terminate"),
|
162
|
+
?network_interfaces: Array[
|
163
|
+
{
|
164
|
+
associate_public_ip_address: bool?,
|
165
|
+
delete_on_termination: bool?,
|
166
|
+
description: ::String?,
|
167
|
+
device_index: ::Integer?,
|
168
|
+
groups: Array[::String]?,
|
169
|
+
ipv_6_address_count: ::Integer?,
|
170
|
+
ipv_6_addresses: Array[
|
171
|
+
{
|
172
|
+
ipv_6_address: ::String?,
|
173
|
+
is_primary_ipv_6: bool?
|
174
|
+
},
|
175
|
+
]?,
|
176
|
+
network_interface_id: ::String?,
|
177
|
+
private_ip_address: ::String?,
|
178
|
+
private_ip_addresses: Array[
|
179
|
+
{
|
180
|
+
primary: bool?,
|
181
|
+
private_ip_address: ::String?
|
182
|
+
},
|
183
|
+
]?,
|
184
|
+
secondary_private_ip_address_count: ::Integer?,
|
185
|
+
subnet_id: ::String?,
|
186
|
+
associate_carrier_ip_address: bool?,
|
187
|
+
interface_type: ::String?,
|
188
|
+
network_card_index: ::Integer?,
|
189
|
+
ipv_4_prefixes: Array[
|
190
|
+
{
|
191
|
+
ipv_4_prefix: ::String?
|
192
|
+
},
|
193
|
+
]?,
|
194
|
+
ipv_4_prefix_count: ::Integer?,
|
195
|
+
ipv_6_prefixes: Array[
|
196
|
+
{
|
197
|
+
ipv_6_prefix: ::String?
|
198
|
+
},
|
199
|
+
]?,
|
200
|
+
ipv_6_prefix_count: ::Integer?,
|
201
|
+
primary_ipv_6: bool?,
|
202
|
+
ena_srd_specification: {
|
203
|
+
ena_srd_enabled: bool?,
|
204
|
+
ena_srd_udp_specification: {
|
205
|
+
ena_srd_udp_enabled: bool?
|
206
|
+
}?
|
207
|
+
}?,
|
208
|
+
connection_tracking_specification: {
|
209
|
+
tcp_established_timeout: ::Integer?,
|
210
|
+
udp_stream_timeout: ::Integer?,
|
211
|
+
udp_timeout: ::Integer?
|
212
|
+
}?
|
213
|
+
},
|
214
|
+
],
|
215
|
+
?private_ip_address: ::String,
|
216
|
+
?elastic_gpu_specification: Array[
|
217
|
+
{
|
218
|
+
type: ::String
|
219
|
+
},
|
220
|
+
],
|
221
|
+
?elastic_inference_accelerators: Array[
|
222
|
+
{
|
223
|
+
type: ::String,
|
224
|
+
count: ::Integer?
|
225
|
+
},
|
226
|
+
],
|
227
|
+
?tag_specifications: Array[
|
228
|
+
{
|
229
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
230
|
+
tags: Array[
|
231
|
+
{
|
232
|
+
key: ::String?,
|
233
|
+
value: ::String?
|
234
|
+
},
|
235
|
+
]?
|
236
|
+
},
|
237
|
+
],
|
238
|
+
?launch_template: {
|
239
|
+
launch_template_id: ::String?,
|
240
|
+
launch_template_name: ::String?,
|
241
|
+
version: ::String?
|
242
|
+
},
|
243
|
+
?instance_market_options: {
|
244
|
+
market_type: ("spot" | "capacity-block")?,
|
245
|
+
spot_options: {
|
246
|
+
max_price: ::String?,
|
247
|
+
spot_instance_type: ("one-time" | "persistent")?,
|
248
|
+
block_duration_minutes: ::Integer?,
|
249
|
+
valid_until: ::Time?,
|
250
|
+
instance_interruption_behavior: ("hibernate" | "stop" | "terminate")?
|
251
|
+
}?
|
252
|
+
},
|
253
|
+
?credit_specification: {
|
254
|
+
cpu_credits: ::String
|
255
|
+
},
|
256
|
+
?cpu_options: {
|
257
|
+
core_count: ::Integer?,
|
258
|
+
threads_per_core: ::Integer?,
|
259
|
+
amd_sev_snp: ("enabled" | "disabled")?
|
260
|
+
},
|
261
|
+
?capacity_reservation_specification: {
|
262
|
+
capacity_reservation_preference: ("open" | "none")?,
|
263
|
+
capacity_reservation_target: {
|
264
|
+
capacity_reservation_id: ::String?,
|
265
|
+
capacity_reservation_resource_group_arn: ::String?
|
266
|
+
}?
|
267
|
+
},
|
268
|
+
?hibernation_options: {
|
269
|
+
configured: bool?
|
270
|
+
},
|
271
|
+
?license_specifications: Array[
|
272
|
+
{
|
273
|
+
license_configuration_arn: ::String?
|
274
|
+
},
|
275
|
+
],
|
276
|
+
?metadata_options: {
|
277
|
+
http_tokens: ("optional" | "required")?,
|
278
|
+
http_put_response_hop_limit: ::Integer?,
|
279
|
+
http_endpoint: ("disabled" | "enabled")?,
|
280
|
+
http_protocol_ipv_6: ("disabled" | "enabled")?,
|
281
|
+
instance_metadata_tags: ("disabled" | "enabled")?
|
282
|
+
},
|
283
|
+
?enclave_options: {
|
284
|
+
enabled: bool?
|
285
|
+
},
|
286
|
+
?private_dns_name_options: {
|
287
|
+
hostname_type: ("ip-name" | "resource-name")?,
|
288
|
+
enable_resource_name_dns_a_record: bool?,
|
289
|
+
enable_resource_name_dns_aaaa_record: bool?
|
290
|
+
},
|
291
|
+
?maintenance_options: {
|
292
|
+
auto_recovery: ("disabled" | "default")?
|
293
|
+
},
|
294
|
+
?disable_api_stop: bool,
|
295
|
+
?enable_primary_ipv_6: bool
|
296
|
+
) -> Instance::Collection
|
297
|
+
| (?Hash[Symbol, untyped]) -> Instance::Collection
|
298
|
+
|
299
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_internet_gateway-instance_method
|
300
|
+
def create_internet_gateway: (
|
301
|
+
?tag_specifications: Array[
|
302
|
+
{
|
303
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
304
|
+
tags: Array[
|
305
|
+
{
|
306
|
+
key: ::String?,
|
307
|
+
value: ::String?
|
308
|
+
},
|
309
|
+
]?
|
310
|
+
},
|
311
|
+
],
|
312
|
+
?dry_run: bool
|
313
|
+
) -> InternetGateway
|
314
|
+
| (?Hash[Symbol, untyped]) -> InternetGateway
|
315
|
+
|
316
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_key_pair-instance_method
|
317
|
+
def create_key_pair: (
|
318
|
+
key_name: ::String,
|
319
|
+
?dry_run: bool,
|
320
|
+
?key_type: ("rsa" | "ed25519"),
|
321
|
+
?tag_specifications: Array[
|
322
|
+
{
|
323
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
324
|
+
tags: Array[
|
325
|
+
{
|
326
|
+
key: ::String?,
|
327
|
+
value: ::String?
|
328
|
+
},
|
329
|
+
]?
|
330
|
+
},
|
331
|
+
],
|
332
|
+
?key_format: ("pem" | "ppk")
|
333
|
+
) -> KeyPair
|
334
|
+
| (?Hash[Symbol, untyped]) -> KeyPair
|
335
|
+
|
336
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_nat_gateway-instance_method
|
337
|
+
def create_nat_gateway: (
|
338
|
+
?allocation_id: ::String,
|
339
|
+
?client_token: ::String,
|
340
|
+
?dry_run: bool,
|
341
|
+
subnet_id: ::String,
|
342
|
+
?tag_specifications: Array[
|
343
|
+
{
|
344
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
345
|
+
tags: Array[
|
346
|
+
{
|
347
|
+
key: ::String?,
|
348
|
+
value: ::String?
|
349
|
+
},
|
350
|
+
]?
|
351
|
+
},
|
352
|
+
],
|
353
|
+
?connectivity_type: ("private" | "public"),
|
354
|
+
?private_ip_address: ::String,
|
355
|
+
?secondary_allocation_ids: Array[::String],
|
356
|
+
?secondary_private_ip_addresses: Array[::String],
|
357
|
+
?secondary_private_ip_address_count: ::Integer
|
358
|
+
) -> NatGateway
|
359
|
+
| (?Hash[Symbol, untyped]) -> NatGateway
|
360
|
+
|
361
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_network_acl-instance_method
|
362
|
+
def create_network_acl: (
|
363
|
+
?dry_run: bool,
|
364
|
+
vpc_id: ::String,
|
365
|
+
?tag_specifications: Array[
|
366
|
+
{
|
367
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
368
|
+
tags: Array[
|
369
|
+
{
|
370
|
+
key: ::String?,
|
371
|
+
value: ::String?
|
372
|
+
},
|
373
|
+
]?
|
374
|
+
},
|
375
|
+
],
|
376
|
+
?client_token: ::String
|
377
|
+
) -> NetworkAcl
|
378
|
+
| (?Hash[Symbol, untyped]) -> NetworkAcl
|
379
|
+
|
380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_network_interface-instance_method
|
381
|
+
def create_network_interface: (
|
382
|
+
?description: ::String,
|
383
|
+
?dry_run: bool,
|
384
|
+
?groups: Array[::String],
|
385
|
+
?ipv_6_address_count: ::Integer,
|
386
|
+
?ipv_6_addresses: Array[
|
387
|
+
{
|
388
|
+
ipv_6_address: ::String?,
|
389
|
+
is_primary_ipv_6: bool?
|
390
|
+
},
|
391
|
+
],
|
392
|
+
?private_ip_address: ::String,
|
393
|
+
?private_ip_addresses: Array[
|
394
|
+
{
|
395
|
+
primary: bool?,
|
396
|
+
private_ip_address: ::String?
|
397
|
+
},
|
398
|
+
],
|
399
|
+
?secondary_private_ip_address_count: ::Integer,
|
400
|
+
?ipv_4_prefixes: Array[
|
401
|
+
{
|
402
|
+
ipv_4_prefix: ::String?
|
403
|
+
},
|
404
|
+
],
|
405
|
+
?ipv_4_prefix_count: ::Integer,
|
406
|
+
?ipv_6_prefixes: Array[
|
407
|
+
{
|
408
|
+
ipv_6_prefix: ::String?
|
409
|
+
},
|
410
|
+
],
|
411
|
+
?ipv_6_prefix_count: ::Integer,
|
412
|
+
?interface_type: ("efa" | "branch" | "trunk"),
|
413
|
+
subnet_id: ::String,
|
414
|
+
?tag_specifications: Array[
|
415
|
+
{
|
416
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
417
|
+
tags: Array[
|
418
|
+
{
|
419
|
+
key: ::String?,
|
420
|
+
value: ::String?
|
421
|
+
},
|
422
|
+
]?
|
423
|
+
},
|
424
|
+
],
|
425
|
+
?client_token: ::String,
|
426
|
+
?enable_primary_ipv_6: bool,
|
427
|
+
?connection_tracking_specification: {
|
428
|
+
tcp_established_timeout: ::Integer?,
|
429
|
+
udp_stream_timeout: ::Integer?,
|
430
|
+
udp_timeout: ::Integer?
|
431
|
+
}
|
432
|
+
) -> NetworkInterface
|
433
|
+
| (?Hash[Symbol, untyped]) -> NetworkInterface
|
434
|
+
|
435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_placement_group-instance_method
|
436
|
+
def create_placement_group: (
|
437
|
+
?dry_run: bool,
|
438
|
+
?group_name: ::String,
|
439
|
+
?strategy: ("cluster" | "spread" | "partition"),
|
440
|
+
?partition_count: ::Integer,
|
441
|
+
?tag_specifications: Array[
|
442
|
+
{
|
443
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
444
|
+
tags: Array[
|
445
|
+
{
|
446
|
+
key: ::String?,
|
447
|
+
value: ::String?
|
448
|
+
},
|
449
|
+
]?
|
450
|
+
},
|
451
|
+
],
|
452
|
+
?spread_level: ("host" | "rack")
|
453
|
+
) -> PlacementGroup
|
454
|
+
| (?Hash[Symbol, untyped]) -> PlacementGroup
|
455
|
+
|
456
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_route_table-instance_method
|
457
|
+
def create_route_table: (
|
458
|
+
?dry_run: bool,
|
459
|
+
vpc_id: ::String,
|
460
|
+
?tag_specifications: Array[
|
461
|
+
{
|
462
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
463
|
+
tags: Array[
|
464
|
+
{
|
465
|
+
key: ::String?,
|
466
|
+
value: ::String?
|
467
|
+
},
|
468
|
+
]?
|
469
|
+
},
|
470
|
+
],
|
471
|
+
?client_token: ::String
|
472
|
+
) -> RouteTable
|
473
|
+
| (?Hash[Symbol, untyped]) -> RouteTable
|
474
|
+
|
475
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_security_group-instance_method
|
476
|
+
def create_security_group: (
|
477
|
+
description: ::String,
|
478
|
+
group_name: ::String,
|
479
|
+
?vpc_id: ::String,
|
480
|
+
?tag_specifications: Array[
|
481
|
+
{
|
482
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
483
|
+
tags: Array[
|
484
|
+
{
|
485
|
+
key: ::String?,
|
486
|
+
value: ::String?
|
487
|
+
},
|
488
|
+
]?
|
489
|
+
},
|
490
|
+
],
|
491
|
+
?dry_run: bool
|
492
|
+
) -> SecurityGroup
|
493
|
+
| (?Hash[Symbol, untyped]) -> SecurityGroup
|
494
|
+
|
495
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_snapshot-instance_method
|
496
|
+
def create_snapshot: (
|
497
|
+
?description: ::String,
|
498
|
+
?outpost_arn: ::String,
|
499
|
+
volume_id: ::String,
|
500
|
+
?tag_specifications: Array[
|
501
|
+
{
|
502
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
503
|
+
tags: Array[
|
504
|
+
{
|
505
|
+
key: ::String?,
|
506
|
+
value: ::String?
|
507
|
+
},
|
508
|
+
]?
|
509
|
+
},
|
510
|
+
],
|
511
|
+
?dry_run: bool
|
512
|
+
) -> Snapshot
|
513
|
+
| (?Hash[Symbol, untyped]) -> Snapshot
|
514
|
+
|
515
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_subnet-instance_method
|
516
|
+
def create_subnet: (
|
517
|
+
?tag_specifications: Array[
|
518
|
+
{
|
519
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
520
|
+
tags: Array[
|
521
|
+
{
|
522
|
+
key: ::String?,
|
523
|
+
value: ::String?
|
524
|
+
},
|
525
|
+
]?
|
526
|
+
},
|
527
|
+
],
|
528
|
+
?availability_zone: ::String,
|
529
|
+
?availability_zone_id: ::String,
|
530
|
+
?cidr_block: ::String,
|
531
|
+
?ipv_6_cidr_block: ::String,
|
532
|
+
?outpost_arn: ::String,
|
533
|
+
vpc_id: ::String,
|
534
|
+
?dry_run: bool,
|
535
|
+
?ipv_6_native: bool,
|
536
|
+
?ipv_4_ipam_pool_id: ::String,
|
537
|
+
?ipv_4_netmask_length: ::Integer,
|
538
|
+
?ipv_6_ipam_pool_id: ::String,
|
539
|
+
?ipv_6_netmask_length: ::Integer
|
540
|
+
) -> Subnet
|
541
|
+
| (?Hash[Symbol, untyped]) -> Subnet
|
542
|
+
|
543
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_tags-instance_method
|
544
|
+
def create_tags: (
|
545
|
+
?dry_run: bool,
|
546
|
+
resources: Array[::String],
|
547
|
+
tags: Array[
|
548
|
+
{
|
549
|
+
key: ::String?,
|
550
|
+
value: ::String?
|
551
|
+
},
|
552
|
+
]
|
553
|
+
) -> ::Aws::EmptyStructure
|
554
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
555
|
+
|
556
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#delete_tags-instance_method
|
557
|
+
def delete_tags: (
|
558
|
+
?dry_run: bool,
|
559
|
+
resources: Array[::String],
|
560
|
+
?tags: Array[
|
561
|
+
{
|
562
|
+
key: ::String?,
|
563
|
+
value: ::String?
|
564
|
+
},
|
565
|
+
]
|
566
|
+
) -> ::Aws::EmptyStructure
|
567
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
568
|
+
|
569
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_volume-instance_method
|
570
|
+
def create_volume: (
|
571
|
+
availability_zone: ::String,
|
572
|
+
?encrypted: bool,
|
573
|
+
?iops: ::Integer,
|
574
|
+
?kms_key_id: ::String,
|
575
|
+
?outpost_arn: ::String,
|
576
|
+
?size: ::Integer,
|
577
|
+
?snapshot_id: ::String,
|
578
|
+
?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
|
579
|
+
?dry_run: bool,
|
580
|
+
?tag_specifications: Array[
|
581
|
+
{
|
582
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
583
|
+
tags: Array[
|
584
|
+
{
|
585
|
+
key: ::String?,
|
586
|
+
value: ::String?
|
587
|
+
},
|
588
|
+
]?
|
589
|
+
},
|
590
|
+
],
|
591
|
+
?multi_attach_enabled: bool,
|
592
|
+
?throughput: ::Integer,
|
593
|
+
?client_token: ::String
|
594
|
+
) -> Volume
|
595
|
+
| (?Hash[Symbol, untyped]) -> Volume
|
596
|
+
|
597
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_vpc-instance_method
|
598
|
+
def create_vpc: (
|
599
|
+
?cidr_block: ::String,
|
600
|
+
?amazon_provided_ipv_6_cidr_block: bool,
|
601
|
+
?ipv_6_pool: ::String,
|
602
|
+
?ipv_6_cidr_block: ::String,
|
603
|
+
?ipv_4_ipam_pool_id: ::String,
|
604
|
+
?ipv_4_netmask_length: ::Integer,
|
605
|
+
?ipv_6_ipam_pool_id: ::String,
|
606
|
+
?ipv_6_netmask_length: ::Integer,
|
607
|
+
?dry_run: bool,
|
608
|
+
?instance_tenancy: ("default" | "dedicated" | "host"),
|
609
|
+
?ipv_6_cidr_block_network_border_group: ::String,
|
610
|
+
?tag_specifications: Array[
|
611
|
+
{
|
612
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
613
|
+
tags: Array[
|
614
|
+
{
|
615
|
+
key: ::String?,
|
616
|
+
value: ::String?
|
617
|
+
},
|
618
|
+
]?
|
619
|
+
},
|
620
|
+
]
|
621
|
+
) -> Vpc
|
622
|
+
| (?Hash[Symbol, untyped]) -> Vpc
|
623
|
+
|
624
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_vpc_peering_connection-instance_method
|
625
|
+
def create_vpc_peering_connection: (
|
626
|
+
?dry_run: bool,
|
627
|
+
?peer_owner_id: ::String,
|
628
|
+
?peer_vpc_id: ::String,
|
629
|
+
vpc_id: ::String,
|
630
|
+
?peer_region: ::String,
|
631
|
+
?tag_specifications: Array[
|
632
|
+
{
|
633
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
634
|
+
tags: Array[
|
635
|
+
{
|
636
|
+
key: ::String?,
|
637
|
+
value: ::String?
|
638
|
+
},
|
639
|
+
]?
|
640
|
+
},
|
641
|
+
]
|
642
|
+
) -> VpcPeeringConnection
|
643
|
+
| (?Hash[Symbol, untyped]) -> VpcPeeringConnection
|
644
|
+
|
645
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#disassociate_route_table-instance_method
|
646
|
+
def disassociate_route_table: (
|
647
|
+
association_id: ::String,
|
648
|
+
?dry_run: bool
|
649
|
+
) -> ::Aws::EmptyStructure
|
650
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
651
|
+
|
652
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#import_key_pair-instance_method
|
653
|
+
def import_key_pair: (
|
654
|
+
?dry_run: bool,
|
655
|
+
key_name: ::String,
|
656
|
+
public_key_material: ::String,
|
657
|
+
?tag_specifications: Array[
|
658
|
+
{
|
659
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
|
660
|
+
tags: Array[
|
661
|
+
{
|
662
|
+
key: ::String?,
|
663
|
+
value: ::String?
|
664
|
+
},
|
665
|
+
]?
|
666
|
+
},
|
667
|
+
]
|
668
|
+
) -> KeyPairInfo
|
669
|
+
| (?Hash[Symbol, untyped]) -> KeyPairInfo
|
670
|
+
|
671
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#register_image-instance_method
|
672
|
+
def register_image: (
|
673
|
+
?image_location: ::String,
|
674
|
+
?architecture: ("i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac"),
|
675
|
+
?block_device_mappings: Array[
|
676
|
+
{
|
677
|
+
device_name: ::String?,
|
678
|
+
virtual_name: ::String?,
|
679
|
+
ebs: {
|
680
|
+
delete_on_termination: bool?,
|
681
|
+
iops: ::Integer?,
|
682
|
+
snapshot_id: ::String?,
|
683
|
+
volume_size: ::Integer?,
|
684
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
685
|
+
kms_key_id: ::String?,
|
686
|
+
throughput: ::Integer?,
|
687
|
+
outpost_arn: ::String?,
|
688
|
+
encrypted: bool?
|
689
|
+
}?,
|
690
|
+
no_device: ::String?
|
691
|
+
},
|
692
|
+
],
|
693
|
+
?description: ::String,
|
694
|
+
?dry_run: bool,
|
695
|
+
?ena_support: bool,
|
696
|
+
?kernel_id: ::String,
|
697
|
+
name: ::String,
|
698
|
+
?billing_products: Array[::String],
|
699
|
+
?ramdisk_id: ::String,
|
700
|
+
?root_device_name: ::String,
|
701
|
+
?sriov_net_support: ::String,
|
702
|
+
?virtualization_type: ::String,
|
703
|
+
?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
|
704
|
+
?tpm_support: ("v2.0"),
|
705
|
+
?uefi_data: ::String,
|
706
|
+
?imds_support: ("v2.0")
|
707
|
+
) -> Image
|
708
|
+
| (?Hash[Symbol, untyped]) -> Image
|
709
|
+
|
710
|
+
|
711
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#classic_addresses-instance_method
|
712
|
+
def classic_addresses: (
|
713
|
+
?filters: Array[
|
714
|
+
{
|
715
|
+
name: ::String?,
|
716
|
+
values: Array[::String]?
|
717
|
+
},
|
718
|
+
],
|
719
|
+
?public_ips: Array[::String],
|
720
|
+
?allocation_ids: Array[::String],
|
721
|
+
?dry_run: bool
|
722
|
+
) -> ClassicAddress::Collection
|
723
|
+
| (?Hash[Symbol, untyped]) -> ClassicAddress::Collection
|
724
|
+
|
725
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#dhcp_options-instance_method
|
726
|
+
def dhcp_options: (String id) -> DhcpOptions
|
727
|
+
|
728
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#dhcp_options_sets-instance_method
|
729
|
+
def dhcp_options_sets: (
|
730
|
+
?dhcp_options_ids: Array[::String],
|
731
|
+
?filters: Array[
|
732
|
+
{
|
733
|
+
name: ::String?,
|
734
|
+
values: Array[::String]?
|
735
|
+
},
|
736
|
+
],
|
737
|
+
?dry_run: bool
|
738
|
+
) -> DhcpOptions::Collection
|
739
|
+
| (?Hash[Symbol, untyped]) -> DhcpOptions::Collection
|
740
|
+
|
741
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#image-instance_method
|
742
|
+
def image: (String id) -> Image
|
743
|
+
|
744
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#images-instance_method
|
745
|
+
def images: (
|
746
|
+
?executable_users: Array[::String],
|
747
|
+
?filters: Array[
|
748
|
+
{
|
749
|
+
name: ::String?,
|
750
|
+
values: Array[::String]?
|
751
|
+
},
|
752
|
+
],
|
753
|
+
?image_ids: Array[::String],
|
754
|
+
?owners: Array[::String],
|
755
|
+
?include_deprecated: bool,
|
756
|
+
?include_disabled: bool,
|
757
|
+
?dry_run: bool
|
758
|
+
) -> Image::Collection
|
759
|
+
| (?Hash[Symbol, untyped]) -> Image::Collection
|
760
|
+
|
761
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#instance-instance_method
|
762
|
+
def instance: (String id) -> Instance
|
763
|
+
|
764
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#instances-instance_method
|
765
|
+
def instances: (
|
766
|
+
?filters: Array[
|
767
|
+
{
|
768
|
+
name: ::String?,
|
769
|
+
values: Array[::String]?
|
770
|
+
},
|
771
|
+
],
|
772
|
+
?instance_ids: Array[::String],
|
773
|
+
?dry_run: bool
|
774
|
+
) -> Instance::Collection
|
775
|
+
| (?Hash[Symbol, untyped]) -> Instance::Collection
|
776
|
+
|
777
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#internet_gateway-instance_method
|
778
|
+
def internet_gateway: (String id) -> InternetGateway
|
779
|
+
|
780
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#internet_gateways-instance_method
|
781
|
+
def internet_gateways: (
|
782
|
+
?filters: Array[
|
783
|
+
{
|
784
|
+
name: ::String?,
|
785
|
+
values: Array[::String]?
|
786
|
+
},
|
787
|
+
],
|
788
|
+
?dry_run: bool,
|
789
|
+
?internet_gateway_ids: Array[::String]
|
790
|
+
) -> InternetGateway::Collection
|
791
|
+
| (?Hash[Symbol, untyped]) -> InternetGateway::Collection
|
792
|
+
|
793
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#key_pair-instance_method
|
794
|
+
def key_pair: (String name) -> KeyPairInfo
|
795
|
+
|
796
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#key_pairs-instance_method
|
797
|
+
def key_pairs: (
|
798
|
+
?filters: Array[
|
799
|
+
{
|
800
|
+
name: ::String?,
|
801
|
+
values: Array[::String]?
|
802
|
+
},
|
803
|
+
],
|
804
|
+
?key_names: Array[::String],
|
805
|
+
?key_pair_ids: Array[::String],
|
806
|
+
?dry_run: bool,
|
807
|
+
?include_public_key: bool
|
808
|
+
) -> KeyPairInfo::Collection
|
809
|
+
| (?Hash[Symbol, untyped]) -> KeyPairInfo::Collection
|
810
|
+
|
811
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#nat_gateway-instance_method
|
812
|
+
def nat_gateway: (String id) -> NatGateway
|
813
|
+
|
814
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#nat_gateways-instance_method
|
815
|
+
def nat_gateways: (
|
816
|
+
?dry_run: bool,
|
817
|
+
?filter: Array[
|
818
|
+
{
|
819
|
+
name: ::String?,
|
820
|
+
values: Array[::String]?
|
821
|
+
},
|
822
|
+
],
|
823
|
+
?nat_gateway_ids: Array[::String]
|
824
|
+
) -> NatGateway::Collection
|
825
|
+
| (?Hash[Symbol, untyped]) -> NatGateway::Collection
|
826
|
+
|
827
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_acl-instance_method
|
828
|
+
def network_acl: (String id) -> NetworkAcl
|
829
|
+
|
830
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_acls-instance_method
|
831
|
+
def network_acls: (
|
832
|
+
?filters: Array[
|
833
|
+
{
|
834
|
+
name: ::String?,
|
835
|
+
values: Array[::String]?
|
836
|
+
},
|
837
|
+
],
|
838
|
+
?dry_run: bool,
|
839
|
+
?network_acl_ids: Array[::String]
|
840
|
+
) -> NetworkAcl::Collection
|
841
|
+
| (?Hash[Symbol, untyped]) -> NetworkAcl::Collection
|
842
|
+
|
843
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_interface-instance_method
|
844
|
+
def network_interface: (String id) -> NetworkInterface
|
845
|
+
|
846
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_interfaces-instance_method
|
847
|
+
def network_interfaces: (
|
848
|
+
?filters: Array[
|
849
|
+
{
|
850
|
+
name: ::String?,
|
851
|
+
values: Array[::String]?
|
852
|
+
},
|
853
|
+
],
|
854
|
+
?dry_run: bool,
|
855
|
+
?network_interface_ids: Array[::String]
|
856
|
+
) -> NetworkInterface::Collection
|
857
|
+
| (?Hash[Symbol, untyped]) -> NetworkInterface::Collection
|
858
|
+
|
859
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#placement_group-instance_method
|
860
|
+
def placement_group: (String name) -> PlacementGroup
|
861
|
+
|
862
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#placement_groups-instance_method
|
863
|
+
def placement_groups: (
|
864
|
+
?filters: Array[
|
865
|
+
{
|
866
|
+
name: ::String?,
|
867
|
+
values: Array[::String]?
|
868
|
+
},
|
869
|
+
],
|
870
|
+
?dry_run: bool,
|
871
|
+
?group_names: Array[::String],
|
872
|
+
?group_ids: Array[::String]
|
873
|
+
) -> PlacementGroup::Collection
|
874
|
+
| (?Hash[Symbol, untyped]) -> PlacementGroup::Collection
|
875
|
+
|
876
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#route_table-instance_method
|
877
|
+
def route_table: (String id) -> RouteTable
|
878
|
+
|
879
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#route_table_association-instance_method
|
880
|
+
def route_table_association: (String id) -> RouteTableAssociation
|
881
|
+
|
882
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#route_tables-instance_method
|
883
|
+
def route_tables: (
|
884
|
+
?filters: Array[
|
885
|
+
{
|
886
|
+
name: ::String?,
|
887
|
+
values: Array[::String]?
|
888
|
+
},
|
889
|
+
],
|
890
|
+
?dry_run: bool,
|
891
|
+
?route_table_ids: Array[::String]
|
892
|
+
) -> RouteTable::Collection
|
893
|
+
| (?Hash[Symbol, untyped]) -> RouteTable::Collection
|
894
|
+
|
895
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#security_group-instance_method
|
896
|
+
def security_group: (String id) -> SecurityGroup
|
897
|
+
|
898
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#security_groups-instance_method
|
899
|
+
def security_groups: (
|
900
|
+
?filters: Array[
|
901
|
+
{
|
902
|
+
name: ::String?,
|
903
|
+
values: Array[::String]?
|
904
|
+
},
|
905
|
+
],
|
906
|
+
?group_ids: Array[::String],
|
907
|
+
?group_names: Array[::String],
|
908
|
+
?dry_run: bool
|
909
|
+
) -> SecurityGroup::Collection
|
910
|
+
| (?Hash[Symbol, untyped]) -> SecurityGroup::Collection
|
911
|
+
|
912
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#snapshot-instance_method
|
913
|
+
def snapshot: (String id) -> Snapshot
|
914
|
+
|
915
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#snapshots-instance_method
|
916
|
+
def snapshots: (
|
917
|
+
?filters: Array[
|
918
|
+
{
|
919
|
+
name: ::String?,
|
920
|
+
values: Array[::String]?
|
921
|
+
},
|
922
|
+
],
|
923
|
+
?owner_ids: Array[::String],
|
924
|
+
?restorable_by_user_ids: Array[::String],
|
925
|
+
?snapshot_ids: Array[::String],
|
926
|
+
?dry_run: bool
|
927
|
+
) -> Snapshot::Collection
|
928
|
+
| (?Hash[Symbol, untyped]) -> Snapshot::Collection
|
929
|
+
|
930
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#subnet-instance_method
|
931
|
+
def subnet: (String id) -> Subnet
|
932
|
+
|
933
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#subnets-instance_method
|
934
|
+
def subnets: (
|
935
|
+
?filters: Array[
|
936
|
+
{
|
937
|
+
name: ::String?,
|
938
|
+
values: Array[::String]?
|
939
|
+
},
|
940
|
+
],
|
941
|
+
?subnet_ids: Array[::String],
|
942
|
+
?dry_run: bool
|
943
|
+
) -> Subnet::Collection
|
944
|
+
| (?Hash[Symbol, untyped]) -> Subnet::Collection
|
945
|
+
|
946
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#volume-instance_method
|
947
|
+
def volume: (String id) -> Volume
|
948
|
+
|
949
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#volumes-instance_method
|
950
|
+
def volumes: (
|
951
|
+
?filters: Array[
|
952
|
+
{
|
953
|
+
name: ::String?,
|
954
|
+
values: Array[::String]?
|
955
|
+
},
|
956
|
+
],
|
957
|
+
?volume_ids: Array[::String],
|
958
|
+
?dry_run: bool
|
959
|
+
) -> Volume::Collection
|
960
|
+
| (?Hash[Symbol, untyped]) -> Volume::Collection
|
961
|
+
|
962
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpc-instance_method
|
963
|
+
def vpc: (String id) -> Vpc
|
964
|
+
|
965
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpc_addresses-instance_method
|
966
|
+
def vpc_addresses: (
|
967
|
+
?filters: Array[
|
968
|
+
{
|
969
|
+
name: ::String?,
|
970
|
+
values: Array[::String]?
|
971
|
+
},
|
972
|
+
],
|
973
|
+
?public_ips: Array[::String],
|
974
|
+
?allocation_ids: Array[::String],
|
975
|
+
?dry_run: bool
|
976
|
+
) -> VpcAddress::Collection
|
977
|
+
| (?Hash[Symbol, untyped]) -> VpcAddress::Collection
|
978
|
+
|
979
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpc_peering_connection-instance_method
|
980
|
+
def vpc_peering_connection: (String id) -> VpcPeeringConnection
|
981
|
+
|
982
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpc_peering_connections-instance_method
|
983
|
+
def vpc_peering_connections: (
|
984
|
+
?filters: Array[
|
985
|
+
{
|
986
|
+
name: ::String?,
|
987
|
+
values: Array[::String]?
|
988
|
+
},
|
989
|
+
],
|
990
|
+
?dry_run: bool,
|
991
|
+
?vpc_peering_connection_ids: Array[::String]
|
992
|
+
) -> VpcPeeringConnection::Collection
|
993
|
+
| (?Hash[Symbol, untyped]) -> VpcPeeringConnection::Collection
|
994
|
+
|
995
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpcs-instance_method
|
996
|
+
def vpcs: (
|
997
|
+
?filters: Array[
|
998
|
+
{
|
999
|
+
name: ::String?,
|
1000
|
+
values: Array[::String]?
|
1001
|
+
},
|
1002
|
+
],
|
1003
|
+
?vpc_ids: Array[::String],
|
1004
|
+
?dry_run: bool
|
1005
|
+
) -> Vpc::Collection
|
1006
|
+
| (?Hash[Symbol, untyped]) -> Vpc::Collection
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
end
|