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/route.rbs
ADDED
@@ -0,0 +1,113 @@
|
|
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/Route.html
|
11
|
+
class Route
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#initialize-instance_method
|
13
|
+
def initialize: (String route_table_id, String destination_cidr_block, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (route_table_id: String, destination_cidr_block: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#route_table_id-instance_method
|
18
|
+
def route_table_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#destination_cidr_block-instance_method
|
21
|
+
def destination_cidr_block: () -> String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#destination_ipv_6_cidr_block-instance_method
|
24
|
+
def destination_ipv_6_cidr_block: () -> ::String
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#destination_prefix_list_id-instance_method
|
27
|
+
def destination_prefix_list_id: () -> ::String
|
28
|
+
|
29
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#egress_only_internet_gateway_id-instance_method
|
30
|
+
def egress_only_internet_gateway_id: () -> ::String
|
31
|
+
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#gateway_id-instance_method
|
33
|
+
def gateway_id: () -> ::String
|
34
|
+
|
35
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#instance_id-instance_method
|
36
|
+
def instance_id: () -> ::String
|
37
|
+
|
38
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#instance_owner_id-instance_method
|
39
|
+
def instance_owner_id: () -> ::String
|
40
|
+
|
41
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#nat_gateway_id-instance_method
|
42
|
+
def nat_gateway_id: () -> ::String
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#transit_gateway_id-instance_method
|
45
|
+
def transit_gateway_id: () -> ::String
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#local_gateway_id-instance_method
|
48
|
+
def local_gateway_id: () -> ::String
|
49
|
+
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#carrier_gateway_id-instance_method
|
51
|
+
def carrier_gateway_id: () -> ::String
|
52
|
+
|
53
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#network_interface_id-instance_method
|
54
|
+
def network_interface_id: () -> ::String
|
55
|
+
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#origin-instance_method
|
57
|
+
def origin: () -> ("CreateRouteTable" | "CreateRoute" | "EnableVgwRoutePropagation")
|
58
|
+
|
59
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#state-instance_method
|
60
|
+
def state: () -> ("active" | "blackhole")
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#vpc_peering_connection_id-instance_method
|
63
|
+
def vpc_peering_connection_id: () -> ::String
|
64
|
+
|
65
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#core_network_arn-instance_method
|
66
|
+
def core_network_arn: () -> ::String
|
67
|
+
|
68
|
+
def client: () -> Client
|
69
|
+
|
70
|
+
|
71
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#data-instance_method
|
72
|
+
def data: () -> Types::Route
|
73
|
+
|
74
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#data_loaded?-instance_method
|
75
|
+
def data_loaded?: () -> bool
|
76
|
+
|
77
|
+
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#delete-instance_method
|
79
|
+
def delete: (
|
80
|
+
?destination_ipv_6_cidr_block: ::String,
|
81
|
+
?destination_prefix_list_id: ::String,
|
82
|
+
?dry_run: bool
|
83
|
+
) -> ::Aws::EmptyStructure
|
84
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
85
|
+
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#replace-instance_method
|
87
|
+
def replace: (
|
88
|
+
?destination_ipv_6_cidr_block: ::String,
|
89
|
+
?destination_prefix_list_id: ::String,
|
90
|
+
?dry_run: bool,
|
91
|
+
?vpc_endpoint_id: ::String,
|
92
|
+
?egress_only_internet_gateway_id: ::String,
|
93
|
+
?gateway_id: ::String,
|
94
|
+
?instance_id: ::String,
|
95
|
+
?local_target: bool,
|
96
|
+
?nat_gateway_id: ::String,
|
97
|
+
?transit_gateway_id: ::String,
|
98
|
+
?local_gateway_id: ::String,
|
99
|
+
?carrier_gateway_id: ::String,
|
100
|
+
?network_interface_id: ::String,
|
101
|
+
?vpc_peering_connection_id: ::String,
|
102
|
+
?core_network_arn: ::String
|
103
|
+
) -> ::Aws::EmptyStructure
|
104
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
105
|
+
|
106
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#route_table-instance_method
|
107
|
+
def route_table: () -> RouteTable
|
108
|
+
|
109
|
+
class Collection < ::Aws::Resources::Collection[Route]
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
data/sig/route_table.rbs
ADDED
@@ -0,0 +1,117 @@
|
|
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/RouteTable.html
|
11
|
+
class RouteTable
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#initialize-instance_method
|
13
|
+
def initialize: (String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#id-instance_method
|
18
|
+
def id: () -> String
|
19
|
+
alias route_table_id id
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#propagating_vgws-instance_method
|
22
|
+
def propagating_vgws: () -> ::Array[Types::PropagatingVgw]
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#tags-instance_method
|
25
|
+
def tags: () -> ::Array[Types::Tag]
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#vpc_id-instance_method
|
28
|
+
def vpc_id: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#owner_id-instance_method
|
31
|
+
def owner_id: () -> ::String
|
32
|
+
|
33
|
+
def client: () -> Client
|
34
|
+
|
35
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#load-instance_method
|
36
|
+
def load: () -> self
|
37
|
+
alias reload load
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#data-instance_method
|
40
|
+
def data: () -> Types::RouteTable
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#data_loaded?-instance_method
|
43
|
+
def data_loaded?: () -> bool
|
44
|
+
|
45
|
+
|
46
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#associate_with_subnet-instance_method
|
47
|
+
def associate_with_subnet: (
|
48
|
+
?dry_run: bool,
|
49
|
+
?subnet_id: ::String,
|
50
|
+
?gateway_id: ::String
|
51
|
+
) -> RouteTableAssociation
|
52
|
+
| (?Hash[Symbol, untyped]) -> RouteTableAssociation
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#create_route-instance_method
|
55
|
+
def create_route: (
|
56
|
+
?destination_cidr_block: ::String,
|
57
|
+
?destination_ipv_6_cidr_block: ::String,
|
58
|
+
?destination_prefix_list_id: ::String,
|
59
|
+
?dry_run: bool,
|
60
|
+
?vpc_endpoint_id: ::String,
|
61
|
+
?egress_only_internet_gateway_id: ::String,
|
62
|
+
?gateway_id: ::String,
|
63
|
+
?instance_id: ::String,
|
64
|
+
?nat_gateway_id: ::String,
|
65
|
+
?transit_gateway_id: ::String,
|
66
|
+
?local_gateway_id: ::String,
|
67
|
+
?carrier_gateway_id: ::String,
|
68
|
+
?network_interface_id: ::String,
|
69
|
+
?vpc_peering_connection_id: ::String,
|
70
|
+
?core_network_arn: ::String
|
71
|
+
) -> Route
|
72
|
+
| (?Hash[Symbol, untyped]) -> Route
|
73
|
+
|
74
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#create_tags-instance_method
|
75
|
+
def create_tags: (
|
76
|
+
?dry_run: bool,
|
77
|
+
tags: Array[
|
78
|
+
{
|
79
|
+
key: ::String?,
|
80
|
+
value: ::String?
|
81
|
+
},
|
82
|
+
]
|
83
|
+
) -> Tag::Collection
|
84
|
+
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
85
|
+
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#delete_tags-instance_method
|
87
|
+
def delete_tags: (
|
88
|
+
?dry_run: bool,
|
89
|
+
?tags: Array[
|
90
|
+
{
|
91
|
+
key: ::String?,
|
92
|
+
value: ::String?
|
93
|
+
},
|
94
|
+
]
|
95
|
+
) -> Tag::Collection
|
96
|
+
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
97
|
+
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#delete-instance_method
|
99
|
+
def delete: (
|
100
|
+
?dry_run: bool
|
101
|
+
) -> ::Aws::EmptyStructure
|
102
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
103
|
+
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#associations-instance_method
|
105
|
+
def associations: () -> RouteTableAssociation::Collection
|
106
|
+
|
107
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#routes-instance_method
|
108
|
+
def routes: () -> Route::Collection
|
109
|
+
|
110
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#vpc-instance_method
|
111
|
+
def vpc: () -> Vpc?
|
112
|
+
|
113
|
+
class Collection < ::Aws::Resources::Collection[RouteTable]
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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/RouteTableAssociation.html
|
11
|
+
class RouteTableAssociation
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#initialize-instance_method
|
13
|
+
def initialize: (String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#id-instance_method
|
18
|
+
def id: () -> String
|
19
|
+
alias route_table_association_id id
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#main-instance_method
|
22
|
+
def main: () -> bool
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#route_table_id-instance_method
|
25
|
+
def route_table_id: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#subnet_id-instance_method
|
28
|
+
def subnet_id: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#gateway_id-instance_method
|
31
|
+
def gateway_id: () -> ::String
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#association_state-instance_method
|
34
|
+
def association_state: () -> Types::RouteTableAssociationState
|
35
|
+
|
36
|
+
def client: () -> Client
|
37
|
+
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#data-instance_method
|
40
|
+
def data: () -> Types::RouteTableAssociation
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#data_loaded?-instance_method
|
43
|
+
def data_loaded?: () -> bool
|
44
|
+
|
45
|
+
|
46
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#delete-instance_method
|
47
|
+
def delete: (
|
48
|
+
?dry_run: bool
|
49
|
+
) -> ::Aws::EmptyStructure
|
50
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
51
|
+
|
52
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#replace_subnet-instance_method
|
53
|
+
def replace_subnet: (
|
54
|
+
?dry_run: bool,
|
55
|
+
route_table_id: ::String
|
56
|
+
) -> RouteTableAssociation
|
57
|
+
| (?Hash[Symbol, untyped]) -> RouteTableAssociation
|
58
|
+
|
59
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#route_table-instance_method
|
60
|
+
def route_table: () -> RouteTable?
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#subnet-instance_method
|
63
|
+
def subnet: () -> Subnet?
|
64
|
+
|
65
|
+
class Collection < ::Aws::Resources::Collection[RouteTableAssociation]
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,308 @@
|
|
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/SecurityGroup.html
|
11
|
+
class SecurityGroup
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#initialize-instance_method
|
13
|
+
def initialize: (String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#id-instance_method
|
18
|
+
def id: () -> String
|
19
|
+
alias group_id id
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#description-instance_method
|
22
|
+
def description: () -> ::String
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#group_name-instance_method
|
25
|
+
def group_name: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#ip_permissions-instance_method
|
28
|
+
def ip_permissions: () -> ::Array[Types::IpPermission]
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#owner_id-instance_method
|
31
|
+
def owner_id: () -> ::String
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#ip_permissions_egress-instance_method
|
34
|
+
def ip_permissions_egress: () -> ::Array[Types::IpPermission]
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#tags-instance_method
|
37
|
+
def tags: () -> ::Array[Types::Tag]
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#vpc_id-instance_method
|
40
|
+
def vpc_id: () -> ::String
|
41
|
+
|
42
|
+
def client: () -> Client
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#load-instance_method
|
45
|
+
def load: () -> self
|
46
|
+
alias reload load
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#data-instance_method
|
49
|
+
def data: () -> Types::SecurityGroup
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#data_loaded?-instance_method
|
52
|
+
def data_loaded?: () -> bool
|
53
|
+
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#authorize_egress-instance_method
|
56
|
+
def authorize_egress: (
|
57
|
+
?dry_run: bool,
|
58
|
+
?ip_permissions: Array[
|
59
|
+
{
|
60
|
+
from_port: ::Integer?,
|
61
|
+
ip_protocol: ::String?,
|
62
|
+
ip_ranges: Array[
|
63
|
+
{
|
64
|
+
cidr_ip: ::String?,
|
65
|
+
description: ::String?
|
66
|
+
},
|
67
|
+
]?,
|
68
|
+
ipv_6_ranges: Array[
|
69
|
+
{
|
70
|
+
cidr_ipv_6: ::String?,
|
71
|
+
description: ::String?
|
72
|
+
},
|
73
|
+
]?,
|
74
|
+
prefix_list_ids: Array[
|
75
|
+
{
|
76
|
+
description: ::String?,
|
77
|
+
prefix_list_id: ::String?
|
78
|
+
},
|
79
|
+
]?,
|
80
|
+
to_port: ::Integer?,
|
81
|
+
user_id_group_pairs: Array[
|
82
|
+
{
|
83
|
+
description: ::String?,
|
84
|
+
group_id: ::String?,
|
85
|
+
group_name: ::String?,
|
86
|
+
peering_status: ::String?,
|
87
|
+
user_id: ::String?,
|
88
|
+
vpc_id: ::String?,
|
89
|
+
vpc_peering_connection_id: ::String?
|
90
|
+
},
|
91
|
+
]?
|
92
|
+
},
|
93
|
+
],
|
94
|
+
?tag_specifications: Array[
|
95
|
+
{
|
96
|
+
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")?,
|
97
|
+
tags: Array[
|
98
|
+
{
|
99
|
+
key: ::String?,
|
100
|
+
value: ::String?
|
101
|
+
},
|
102
|
+
]?
|
103
|
+
},
|
104
|
+
],
|
105
|
+
?cidr_ip: ::String,
|
106
|
+
?from_port: ::Integer,
|
107
|
+
?ip_protocol: ::String,
|
108
|
+
?to_port: ::Integer,
|
109
|
+
?source_security_group_name: ::String,
|
110
|
+
?source_security_group_owner_id: ::String
|
111
|
+
) -> Types::AuthorizeSecurityGroupEgressResult
|
112
|
+
| (?Hash[Symbol, untyped]) -> Types::AuthorizeSecurityGroupEgressResult
|
113
|
+
|
114
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#authorize_ingress-instance_method
|
115
|
+
def authorize_ingress: (
|
116
|
+
?cidr_ip: ::String,
|
117
|
+
?from_port: ::Integer,
|
118
|
+
?group_name: ::String,
|
119
|
+
?ip_permissions: Array[
|
120
|
+
{
|
121
|
+
from_port: ::Integer?,
|
122
|
+
ip_protocol: ::String?,
|
123
|
+
ip_ranges: Array[
|
124
|
+
{
|
125
|
+
cidr_ip: ::String?,
|
126
|
+
description: ::String?
|
127
|
+
},
|
128
|
+
]?,
|
129
|
+
ipv_6_ranges: Array[
|
130
|
+
{
|
131
|
+
cidr_ipv_6: ::String?,
|
132
|
+
description: ::String?
|
133
|
+
},
|
134
|
+
]?,
|
135
|
+
prefix_list_ids: Array[
|
136
|
+
{
|
137
|
+
description: ::String?,
|
138
|
+
prefix_list_id: ::String?
|
139
|
+
},
|
140
|
+
]?,
|
141
|
+
to_port: ::Integer?,
|
142
|
+
user_id_group_pairs: Array[
|
143
|
+
{
|
144
|
+
description: ::String?,
|
145
|
+
group_id: ::String?,
|
146
|
+
group_name: ::String?,
|
147
|
+
peering_status: ::String?,
|
148
|
+
user_id: ::String?,
|
149
|
+
vpc_id: ::String?,
|
150
|
+
vpc_peering_connection_id: ::String?
|
151
|
+
},
|
152
|
+
]?
|
153
|
+
},
|
154
|
+
],
|
155
|
+
?ip_protocol: ::String,
|
156
|
+
?source_security_group_name: ::String,
|
157
|
+
?source_security_group_owner_id: ::String,
|
158
|
+
?to_port: ::Integer,
|
159
|
+
?dry_run: bool,
|
160
|
+
?tag_specifications: Array[
|
161
|
+
{
|
162
|
+
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")?,
|
163
|
+
tags: Array[
|
164
|
+
{
|
165
|
+
key: ::String?,
|
166
|
+
value: ::String?
|
167
|
+
},
|
168
|
+
]?
|
169
|
+
},
|
170
|
+
]
|
171
|
+
) -> Types::AuthorizeSecurityGroupIngressResult
|
172
|
+
| (?Hash[Symbol, untyped]) -> Types::AuthorizeSecurityGroupIngressResult
|
173
|
+
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#create_tags-instance_method
|
175
|
+
def create_tags: (
|
176
|
+
?dry_run: bool,
|
177
|
+
tags: Array[
|
178
|
+
{
|
179
|
+
key: ::String?,
|
180
|
+
value: ::String?
|
181
|
+
},
|
182
|
+
]
|
183
|
+
) -> Tag::Collection
|
184
|
+
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
185
|
+
|
186
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#delete_tags-instance_method
|
187
|
+
def delete_tags: (
|
188
|
+
?dry_run: bool,
|
189
|
+
?tags: Array[
|
190
|
+
{
|
191
|
+
key: ::String?,
|
192
|
+
value: ::String?
|
193
|
+
},
|
194
|
+
]
|
195
|
+
) -> Tag::Collection
|
196
|
+
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
197
|
+
|
198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#delete-instance_method
|
199
|
+
def delete: (
|
200
|
+
?group_name: ::String,
|
201
|
+
?dry_run: bool
|
202
|
+
) -> ::Aws::EmptyStructure
|
203
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
204
|
+
|
205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#revoke_egress-instance_method
|
206
|
+
def revoke_egress: (
|
207
|
+
?dry_run: bool,
|
208
|
+
?ip_permissions: Array[
|
209
|
+
{
|
210
|
+
from_port: ::Integer?,
|
211
|
+
ip_protocol: ::String?,
|
212
|
+
ip_ranges: Array[
|
213
|
+
{
|
214
|
+
cidr_ip: ::String?,
|
215
|
+
description: ::String?
|
216
|
+
},
|
217
|
+
]?,
|
218
|
+
ipv_6_ranges: Array[
|
219
|
+
{
|
220
|
+
cidr_ipv_6: ::String?,
|
221
|
+
description: ::String?
|
222
|
+
},
|
223
|
+
]?,
|
224
|
+
prefix_list_ids: Array[
|
225
|
+
{
|
226
|
+
description: ::String?,
|
227
|
+
prefix_list_id: ::String?
|
228
|
+
},
|
229
|
+
]?,
|
230
|
+
to_port: ::Integer?,
|
231
|
+
user_id_group_pairs: Array[
|
232
|
+
{
|
233
|
+
description: ::String?,
|
234
|
+
group_id: ::String?,
|
235
|
+
group_name: ::String?,
|
236
|
+
peering_status: ::String?,
|
237
|
+
user_id: ::String?,
|
238
|
+
vpc_id: ::String?,
|
239
|
+
vpc_peering_connection_id: ::String?
|
240
|
+
},
|
241
|
+
]?
|
242
|
+
},
|
243
|
+
],
|
244
|
+
?security_group_rule_ids: Array[::String],
|
245
|
+
?cidr_ip: ::String,
|
246
|
+
?from_port: ::Integer,
|
247
|
+
?ip_protocol: ::String,
|
248
|
+
?to_port: ::Integer,
|
249
|
+
?source_security_group_name: ::String,
|
250
|
+
?source_security_group_owner_id: ::String
|
251
|
+
) -> Types::RevokeSecurityGroupEgressResult
|
252
|
+
| (?Hash[Symbol, untyped]) -> Types::RevokeSecurityGroupEgressResult
|
253
|
+
|
254
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#revoke_ingress-instance_method
|
255
|
+
def revoke_ingress: (
|
256
|
+
?cidr_ip: ::String,
|
257
|
+
?from_port: ::Integer,
|
258
|
+
?group_name: ::String,
|
259
|
+
?ip_permissions: Array[
|
260
|
+
{
|
261
|
+
from_port: ::Integer?,
|
262
|
+
ip_protocol: ::String?,
|
263
|
+
ip_ranges: Array[
|
264
|
+
{
|
265
|
+
cidr_ip: ::String?,
|
266
|
+
description: ::String?
|
267
|
+
},
|
268
|
+
]?,
|
269
|
+
ipv_6_ranges: Array[
|
270
|
+
{
|
271
|
+
cidr_ipv_6: ::String?,
|
272
|
+
description: ::String?
|
273
|
+
},
|
274
|
+
]?,
|
275
|
+
prefix_list_ids: Array[
|
276
|
+
{
|
277
|
+
description: ::String?,
|
278
|
+
prefix_list_id: ::String?
|
279
|
+
},
|
280
|
+
]?,
|
281
|
+
to_port: ::Integer?,
|
282
|
+
user_id_group_pairs: Array[
|
283
|
+
{
|
284
|
+
description: ::String?,
|
285
|
+
group_id: ::String?,
|
286
|
+
group_name: ::String?,
|
287
|
+
peering_status: ::String?,
|
288
|
+
user_id: ::String?,
|
289
|
+
vpc_id: ::String?,
|
290
|
+
vpc_peering_connection_id: ::String?
|
291
|
+
},
|
292
|
+
]?
|
293
|
+
},
|
294
|
+
],
|
295
|
+
?ip_protocol: ::String,
|
296
|
+
?source_security_group_name: ::String,
|
297
|
+
?source_security_group_owner_id: ::String,
|
298
|
+
?to_port: ::Integer,
|
299
|
+
?dry_run: bool,
|
300
|
+
?security_group_rule_ids: Array[::String]
|
301
|
+
) -> Types::RevokeSecurityGroupIngressResult
|
302
|
+
| (?Hash[Symbol, untyped]) -> Types::RevokeSecurityGroupIngressResult
|
303
|
+
|
304
|
+
class Collection < ::Aws::Resources::Collection[SecurityGroup]
|
305
|
+
end
|
306
|
+
end
|
307
|
+
end
|
308
|
+
end
|