aws-sdk-lightsail 1.40.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +220 -94
- data/lib/aws-sdk-lightsail/client_api.rb +41 -2
- data/lib/aws-sdk-lightsail/types.rb +319 -57
- metadata +4 -4
@@ -392,7 +392,9 @@ module Aws::Lightsail
|
|
392
392
|
InstanceState = Shapes::StructureShape.new(name: 'InstanceState')
|
393
393
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
394
394
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
395
|
-
|
395
|
+
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
396
|
+
Ipv6Address = Shapes::StringShape.new(name: 'Ipv6Address')
|
397
|
+
Ipv6AddressList = Shapes::ListShape.new(name: 'Ipv6AddressList')
|
396
398
|
IsVpcPeeredRequest = Shapes::StructureShape.new(name: 'IsVpcPeeredRequest')
|
397
399
|
IsVpcPeeredResult = Shapes::StructureShape.new(name: 'IsVpcPeeredResult')
|
398
400
|
IsoDate = Shapes::TimestampShape.new(name: 'IsoDate')
|
@@ -512,6 +514,8 @@ module Aws::Lightsail
|
|
512
514
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
513
515
|
SerialNumber = Shapes::StringShape.new(name: 'SerialNumber')
|
514
516
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
517
|
+
SetIpAddressTypeRequest = Shapes::StructureShape.new(name: 'SetIpAddressTypeRequest')
|
518
|
+
SetIpAddressTypeResult = Shapes::StructureShape.new(name: 'SetIpAddressTypeResult')
|
515
519
|
StartInstanceRequest = Shapes::StructureShape.new(name: 'StartInstanceRequest')
|
516
520
|
StartInstanceResult = Shapes::StructureShape.new(name: 'StartInstanceResult')
|
517
521
|
StartRelationalDatabaseRequest = Shapes::StructureShape.new(name: 'StartRelationalDatabaseRequest')
|
@@ -1005,6 +1009,7 @@ module Aws::Lightsail
|
|
1005
1009
|
CreateDistributionRequest.add_member(:cache_behavior_settings, Shapes::ShapeRef.new(shape: CacheSettings, location_name: "cacheBehaviorSettings"))
|
1006
1010
|
CreateDistributionRequest.add_member(:cache_behaviors, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "cacheBehaviors"))
|
1007
1011
|
CreateDistributionRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "bundleId"))
|
1012
|
+
CreateDistributionRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
1008
1013
|
CreateDistributionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1009
1014
|
CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
|
1010
1015
|
|
@@ -1043,6 +1048,7 @@ module Aws::Lightsail
|
|
1043
1048
|
CreateInstancesFromSnapshotRequest.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "keyPairName"))
|
1044
1049
|
CreateInstancesFromSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1045
1050
|
CreateInstancesFromSnapshotRequest.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnRequestList, location_name: "addOns"))
|
1051
|
+
CreateInstancesFromSnapshotRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
1046
1052
|
CreateInstancesFromSnapshotRequest.add_member(:source_instance_name, Shapes::ShapeRef.new(shape: string, location_name: "sourceInstanceName"))
|
1047
1053
|
CreateInstancesFromSnapshotRequest.add_member(:restore_date, Shapes::ShapeRef.new(shape: string, location_name: "restoreDate"))
|
1048
1054
|
CreateInstancesFromSnapshotRequest.add_member(:use_latest_restorable_auto_snapshot, Shapes::ShapeRef.new(shape: boolean, location_name: "useLatestRestorableAutoSnapshot"))
|
@@ -1060,6 +1066,7 @@ module Aws::Lightsail
|
|
1060
1066
|
CreateInstancesRequest.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "keyPairName"))
|
1061
1067
|
CreateInstancesRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1062
1068
|
CreateInstancesRequest.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnRequestList, location_name: "addOns"))
|
1069
|
+
CreateInstancesRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
1063
1070
|
CreateInstancesRequest.struct_class = Types::CreateInstancesRequest
|
1064
1071
|
|
1065
1072
|
CreateInstancesResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -1082,6 +1089,7 @@ module Aws::Lightsail
|
|
1082
1089
|
CreateLoadBalancerRequest.add_member(:certificate_domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "certificateDomainName"))
|
1083
1090
|
CreateLoadBalancerRequest.add_member(:certificate_alternative_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "certificateAlternativeNames"))
|
1084
1091
|
CreateLoadBalancerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1092
|
+
CreateLoadBalancerRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
1085
1093
|
CreateLoadBalancerRequest.struct_class = Types::CreateLoadBalancerRequest
|
1086
1094
|
|
1087
1095
|
CreateLoadBalancerResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -1916,7 +1924,8 @@ module Aws::Lightsail
|
|
1916
1924
|
Instance.add_member(:is_static_ip, Shapes::ShapeRef.new(shape: boolean, location_name: "isStaticIp"))
|
1917
1925
|
Instance.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "privateIpAddress"))
|
1918
1926
|
Instance.add_member(:public_ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "publicIpAddress"))
|
1919
|
-
Instance.add_member(:
|
1927
|
+
Instance.add_member(:ipv6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "ipv6Addresses"))
|
1928
|
+
Instance.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
1920
1929
|
Instance.add_member(:hardware, Shapes::ShapeRef.new(shape: InstanceHardware, location_name: "hardware"))
|
1921
1930
|
Instance.add_member(:networking, Shapes::ShapeRef.new(shape: InstanceNetworking, location_name: "networking"))
|
1922
1931
|
Instance.add_member(:state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "state"))
|
@@ -1973,6 +1982,7 @@ module Aws::Lightsail
|
|
1973
1982
|
InstancePortInfo.add_member(:common_name, Shapes::ShapeRef.new(shape: string, location_name: "commonName"))
|
1974
1983
|
InstancePortInfo.add_member(:access_direction, Shapes::ShapeRef.new(shape: AccessDirection, location_name: "accessDirection"))
|
1975
1984
|
InstancePortInfo.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1985
|
+
InstancePortInfo.add_member(:ipv6_cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "ipv6Cidrs"))
|
1976
1986
|
InstancePortInfo.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
|
1977
1987
|
InstancePortInfo.struct_class = Types::InstancePortInfo
|
1978
1988
|
|
@@ -1983,6 +1993,7 @@ module Aws::Lightsail
|
|
1983
1993
|
InstancePortState.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
|
1984
1994
|
InstancePortState.add_member(:state, Shapes::ShapeRef.new(shape: PortState, location_name: "state"))
|
1985
1995
|
InstancePortState.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1996
|
+
InstancePortState.add_member(:ipv6_cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "ipv6Cidrs"))
|
1986
1997
|
InstancePortState.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
|
1987
1998
|
InstancePortState.struct_class = Types::InstancePortState
|
1988
1999
|
|
@@ -2023,6 +2034,8 @@ module Aws::Lightsail
|
|
2023
2034
|
InvalidInputException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
|
2024
2035
|
InvalidInputException.struct_class = Types::InvalidInputException
|
2025
2036
|
|
2037
|
+
Ipv6AddressList.member = Shapes::ShapeRef.new(shape: Ipv6Address)
|
2038
|
+
|
2026
2039
|
IsVpcPeeredRequest.struct_class = Types::IsVpcPeeredRequest
|
2027
2040
|
|
2028
2041
|
IsVpcPeeredResult.add_member(:is_peered, Shapes::ShapeRef.new(shape: boolean, location_name: "isPeered"))
|
@@ -2058,6 +2071,7 @@ module Aws::Lightsail
|
|
2058
2071
|
LightsailDistribution.add_member(:cache_behavior_settings, Shapes::ShapeRef.new(shape: CacheSettings, location_name: "cacheBehaviorSettings"))
|
2059
2072
|
LightsailDistribution.add_member(:cache_behaviors, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "cacheBehaviors"))
|
2060
2073
|
LightsailDistribution.add_member(:able_to_update_bundle, Shapes::ShapeRef.new(shape: boolean, location_name: "ableToUpdateBundle"))
|
2074
|
+
LightsailDistribution.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
2061
2075
|
LightsailDistribution.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
2062
2076
|
LightsailDistribution.struct_class = Types::LightsailDistribution
|
2063
2077
|
|
@@ -2077,6 +2091,7 @@ module Aws::Lightsail
|
|
2077
2091
|
LoadBalancer.add_member(:instance_health_summary, Shapes::ShapeRef.new(shape: InstanceHealthSummaryList, location_name: "instanceHealthSummary"))
|
2078
2092
|
LoadBalancer.add_member(:tls_certificate_summaries, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateSummaryList, location_name: "tlsCertificateSummaries"))
|
2079
2093
|
LoadBalancer.add_member(:configuration_options, Shapes::ShapeRef.new(shape: LoadBalancerConfigurationOptions, location_name: "configurationOptions"))
|
2094
|
+
LoadBalancer.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
2080
2095
|
LoadBalancer.struct_class = Types::LoadBalancer
|
2081
2096
|
|
2082
2097
|
LoadBalancerConfigurationOptions.key = Shapes::ShapeRef.new(shape: LoadBalancerAttributeName)
|
@@ -2233,6 +2248,7 @@ module Aws::Lightsail
|
|
2233
2248
|
PortInfo.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
|
2234
2249
|
PortInfo.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
|
2235
2250
|
PortInfo.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
2251
|
+
PortInfo.add_member(:ipv6_cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "ipv6Cidrs"))
|
2236
2252
|
PortInfo.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
|
2237
2253
|
PortInfo.struct_class = Types::PortInfo
|
2238
2254
|
|
@@ -2444,6 +2460,14 @@ module Aws::Lightsail
|
|
2444
2460
|
ServiceException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
|
2445
2461
|
ServiceException.struct_class = Types::ServiceException
|
2446
2462
|
|
2463
|
+
SetIpAddressTypeRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
2464
|
+
SetIpAddressTypeRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
2465
|
+
SetIpAddressTypeRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, required: true, location_name: "ipAddressType"))
|
2466
|
+
SetIpAddressTypeRequest.struct_class = Types::SetIpAddressTypeRequest
|
2467
|
+
|
2468
|
+
SetIpAddressTypeResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
2469
|
+
SetIpAddressTypeResult.struct_class = Types::SetIpAddressTypeResult
|
2470
|
+
|
2447
2471
|
StartInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
2448
2472
|
StartInstanceRequest.struct_class = Types::StartInstanceRequest
|
2449
2473
|
|
@@ -4448,6 +4472,21 @@ module Aws::Lightsail
|
|
4448
4472
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4449
4473
|
end)
|
4450
4474
|
|
4475
|
+
api.add_operation(:set_ip_address_type, Seahorse::Model::Operation.new.tap do |o|
|
4476
|
+
o.name = "SetIpAddressType"
|
4477
|
+
o.http_method = "POST"
|
4478
|
+
o.http_request_uri = "/"
|
4479
|
+
o.input = Shapes::ShapeRef.new(shape: SetIpAddressTypeRequest)
|
4480
|
+
o.output = Shapes::ShapeRef.new(shape: SetIpAddressTypeResult)
|
4481
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
4482
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
4483
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
4484
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
4485
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4486
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
4487
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
4488
|
+
end)
|
4489
|
+
|
4451
4490
|
api.add_operation(:start_instance, Seahorse::Model::Operation.new.tap do |o|
|
4452
4491
|
o.name = "StartInstance"
|
4453
4492
|
o.http_method = "POST"
|
@@ -1215,7 +1215,7 @@ module Aws::Lightsail
|
|
1215
1215
|
#
|
1216
1216
|
# [1]: https://console.aws.amazon.com/support/home
|
1217
1217
|
# [2]: https://www.virustotal.com/gui/home/url
|
1218
|
-
# [3]: https://
|
1218
|
+
# [3]: https://developers.google.com/web/fundamentals/security/hacked
|
1219
1219
|
# @return [String]
|
1220
1220
|
#
|
1221
1221
|
# @!attribute [rw] in_use_resource_count
|
@@ -1361,6 +1361,7 @@ module Aws::Lightsail
|
|
1361
1361
|
# to_port: 1,
|
1362
1362
|
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
1363
1363
|
# cidrs: ["string"],
|
1364
|
+
# ipv6_cidrs: ["string"],
|
1364
1365
|
# cidr_list_aliases: ["string"],
|
1365
1366
|
# },
|
1366
1367
|
# instance_name: "ResourceName", # required
|
@@ -1946,26 +1947,31 @@ module Aws::Lightsail
|
|
1946
1947
|
#
|
1947
1948
|
# @!attribute [rw] healthy_threshold
|
1948
1949
|
# The number of consecutive health checks successes required before
|
1949
|
-
# moving the container to the `Healthy` state.
|
1950
|
+
# moving the container to the `Healthy` state. The default value is
|
1951
|
+
# `2`.
|
1950
1952
|
# @return [Integer]
|
1951
1953
|
#
|
1952
1954
|
# @!attribute [rw] unhealthy_threshold
|
1953
1955
|
# The number of consecutive health check failures required before
|
1954
|
-
# moving the container to the `Unhealthy` state.
|
1956
|
+
# moving the container to the `Unhealthy` state. The default value is
|
1957
|
+
# `2`.
|
1955
1958
|
# @return [Integer]
|
1956
1959
|
#
|
1957
1960
|
# @!attribute [rw] timeout_seconds
|
1958
1961
|
# The amount of time, in seconds, during which no response means a
|
1959
|
-
# failed health check. You
|
1962
|
+
# failed health check. You can specify between 2 and 60 seconds. The
|
1963
|
+
# default value is `2`.
|
1960
1964
|
# @return [Integer]
|
1961
1965
|
#
|
1962
1966
|
# @!attribute [rw] interval_seconds
|
1963
1967
|
# The approximate interval, in seconds, between health checks of an
|
1964
|
-
# individual container. You
|
1968
|
+
# individual container. You can specify between 5 and 300 seconds. The
|
1969
|
+
# default value is `5`.
|
1965
1970
|
# @return [Integer]
|
1966
1971
|
#
|
1967
1972
|
# @!attribute [rw] path
|
1968
|
-
# The path on the container on which to perform the health check.
|
1973
|
+
# The path on the container on which to perform the health check. The
|
1974
|
+
# default value is `/`.
|
1969
1975
|
# @return [String]
|
1970
1976
|
#
|
1971
1977
|
# @!attribute [rw] success_codes
|
@@ -3047,6 +3053,7 @@ module Aws::Lightsail
|
|
3047
3053
|
# },
|
3048
3054
|
# ],
|
3049
3055
|
# bundle_id: "string", # required
|
3056
|
+
# ip_address_type: "dualstack", # accepts dualstack, ipv4
|
3050
3057
|
# tags: [
|
3051
3058
|
# {
|
3052
3059
|
# key: "TagKey",
|
@@ -3092,6 +3099,15 @@ module Aws::Lightsail
|
|
3092
3099
|
# distribution bundle IDs that you can specify.
|
3093
3100
|
# @return [String]
|
3094
3101
|
#
|
3102
|
+
# @!attribute [rw] ip_address_type
|
3103
|
+
# The IP address type for the distribution.
|
3104
|
+
#
|
3105
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
3106
|
+
# IPv4 and IPv6.
|
3107
|
+
#
|
3108
|
+
# The default value is `dualstack`.
|
3109
|
+
# @return [String]
|
3110
|
+
#
|
3095
3111
|
# @!attribute [rw] tags
|
3096
3112
|
# The tag keys and optional values to add to the distribution during
|
3097
3113
|
# create.
|
@@ -3108,6 +3124,7 @@ module Aws::Lightsail
|
|
3108
3124
|
:cache_behavior_settings,
|
3109
3125
|
:cache_behaviors,
|
3110
3126
|
:bundle_id,
|
3127
|
+
:ip_address_type,
|
3111
3128
|
:tags)
|
3112
3129
|
SENSITIVE = []
|
3113
3130
|
include Aws::Structure
|
@@ -3322,6 +3339,7 @@ module Aws::Lightsail
|
|
3322
3339
|
# },
|
3323
3340
|
# },
|
3324
3341
|
# ],
|
3342
|
+
# ip_address_type: "dualstack", # accepts dualstack, ipv4
|
3325
3343
|
# source_instance_name: "string",
|
3326
3344
|
# restore_date: "string",
|
3327
3345
|
# use_latest_restorable_auto_snapshot: false,
|
@@ -3399,6 +3417,15 @@ module Aws::Lightsail
|
|
3399
3417
|
# instance.
|
3400
3418
|
# @return [Array<Types::AddOnRequest>]
|
3401
3419
|
#
|
3420
|
+
# @!attribute [rw] ip_address_type
|
3421
|
+
# The IP address type for the instance.
|
3422
|
+
#
|
3423
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
3424
|
+
# IPv4 and IPv6.
|
3425
|
+
#
|
3426
|
+
# The default value is `dualstack`.
|
3427
|
+
# @return [String]
|
3428
|
+
#
|
3402
3429
|
# @!attribute [rw] source_instance_name
|
3403
3430
|
# The name of the source instance from which the source automatic
|
3404
3431
|
# snapshot was created.
|
@@ -3472,6 +3499,7 @@ module Aws::Lightsail
|
|
3472
3499
|
:key_pair_name,
|
3473
3500
|
:tags,
|
3474
3501
|
:add_ons,
|
3502
|
+
:ip_address_type,
|
3475
3503
|
:source_instance_name,
|
3476
3504
|
:restore_date,
|
3477
3505
|
:use_latest_restorable_auto_snapshot)
|
@@ -3518,6 +3546,7 @@ module Aws::Lightsail
|
|
3518
3546
|
# },
|
3519
3547
|
# },
|
3520
3548
|
# ],
|
3549
|
+
# ip_address_type: "dualstack", # accepts dualstack, ipv4
|
3521
3550
|
# }
|
3522
3551
|
#
|
3523
3552
|
# @!attribute [rw] instance_names
|
@@ -3600,6 +3629,15 @@ module Aws::Lightsail
|
|
3600
3629
|
# instance.
|
3601
3630
|
# @return [Array<Types::AddOnRequest>]
|
3602
3631
|
#
|
3632
|
+
# @!attribute [rw] ip_address_type
|
3633
|
+
# The IP address type for the instance.
|
3634
|
+
#
|
3635
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
3636
|
+
# IPv4 and IPv6.
|
3637
|
+
#
|
3638
|
+
# The default value is `dualstack`.
|
3639
|
+
# @return [String]
|
3640
|
+
#
|
3603
3641
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest AWS API Documentation
|
3604
3642
|
#
|
3605
3643
|
class CreateInstancesRequest < Struct.new(
|
@@ -3611,7 +3649,8 @@ module Aws::Lightsail
|
|
3611
3649
|
:user_data,
|
3612
3650
|
:key_pair_name,
|
3613
3651
|
:tags,
|
3614
|
-
:add_ons
|
3652
|
+
:add_ons,
|
3653
|
+
:ip_address_type)
|
3615
3654
|
SENSITIVE = []
|
3616
3655
|
include Aws::Structure
|
3617
3656
|
end
|
@@ -3709,6 +3748,7 @@ module Aws::Lightsail
|
|
3709
3748
|
# value: "TagValue",
|
3710
3749
|
# },
|
3711
3750
|
# ],
|
3751
|
+
# ip_address_type: "dualstack", # accepts dualstack, ipv4
|
3712
3752
|
# }
|
3713
3753
|
#
|
3714
3754
|
# @!attribute [rw] load_balancer_name
|
@@ -3757,6 +3797,15 @@ module Aws::Lightsail
|
|
3757
3797
|
# Use the `TagResource` action to tag a resource after it's created.
|
3758
3798
|
# @return [Array<Types::Tag>]
|
3759
3799
|
#
|
3800
|
+
# @!attribute [rw] ip_address_type
|
3801
|
+
# The IP address type for the load balancer.
|
3802
|
+
#
|
3803
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
3804
|
+
# IPv4 and IPv6.
|
3805
|
+
#
|
3806
|
+
# The default value is `dualstack`.
|
3807
|
+
# @return [String]
|
3808
|
+
#
|
3760
3809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest AWS API Documentation
|
3761
3810
|
#
|
3762
3811
|
class CreateLoadBalancerRequest < Struct.new(
|
@@ -3766,7 +3815,8 @@ module Aws::Lightsail
|
|
3766
3815
|
:certificate_name,
|
3767
3816
|
:certificate_domain_name,
|
3768
3817
|
:certificate_alternative_names,
|
3769
|
-
:tags
|
3818
|
+
:tags,
|
3819
|
+
:ip_address_type)
|
3770
3820
|
SENSITIVE = []
|
3771
3821
|
include Aws::Structure
|
3772
3822
|
end
|
@@ -4020,7 +4070,7 @@ module Aws::Lightsail
|
|
4020
4070
|
# }
|
4021
4071
|
#
|
4022
4072
|
# @!attribute [rw] relational_database_name
|
4023
|
-
# The name to use for your new database.
|
4073
|
+
# The name to use for your new Lightsail database resource.
|
4024
4074
|
#
|
4025
4075
|
# Constraints:
|
4026
4076
|
#
|
@@ -5403,7 +5453,7 @@ module Aws::Lightsail
|
|
5403
5453
|
# @return [String]
|
5404
5454
|
#
|
5405
5455
|
# @!attribute [rw] progress
|
5406
|
-
# The progress of the
|
5456
|
+
# The progress of the snapshot.
|
5407
5457
|
# @return [String]
|
5408
5458
|
#
|
5409
5459
|
# @!attribute [rw] from_disk_name
|
@@ -9457,8 +9507,15 @@ module Aws::Lightsail
|
|
9457
9507
|
# The public IP address of the instance.
|
9458
9508
|
# @return [String]
|
9459
9509
|
#
|
9460
|
-
# @!attribute [rw]
|
9461
|
-
# The IPv6
|
9510
|
+
# @!attribute [rw] ipv6_addresses
|
9511
|
+
# The IPv6 addresses of the instance.
|
9512
|
+
# @return [Array<String>]
|
9513
|
+
#
|
9514
|
+
# @!attribute [rw] ip_address_type
|
9515
|
+
# The IP address type of the instance.
|
9516
|
+
#
|
9517
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
9518
|
+
# IPv4 and IPv6.
|
9462
9519
|
# @return [String]
|
9463
9520
|
#
|
9464
9521
|
# @!attribute [rw] hardware
|
@@ -9500,7 +9557,8 @@ module Aws::Lightsail
|
|
9500
9557
|
:is_static_ip,
|
9501
9558
|
:private_ip_address,
|
9502
9559
|
:public_ip_address,
|
9503
|
-
:
|
9560
|
+
:ipv6_addresses,
|
9561
|
+
:ip_address_type,
|
9504
9562
|
:hardware,
|
9505
9563
|
:networking,
|
9506
9564
|
:state,
|
@@ -9628,14 +9686,26 @@ module Aws::Lightsail
|
|
9628
9686
|
# The following configuration options are available:
|
9629
9687
|
#
|
9630
9688
|
# * `DEFAULT` - Use the default firewall settings from the Lightsail
|
9631
|
-
# instance blueprint.
|
9689
|
+
# instance blueprint. If this is specified, then IPv4 and IPv6 will
|
9690
|
+
# be configured for the new instance that is created in Amazon EC2.
|
9632
9691
|
#
|
9633
9692
|
# * `INSTANCE` - Use the configured firewall settings from the source
|
9634
|
-
# Lightsail instance.
|
9635
|
-
#
|
9636
|
-
#
|
9637
|
-
#
|
9638
|
-
#
|
9693
|
+
# Lightsail instance. If this is specified, the new instance that is
|
9694
|
+
# created in Amazon EC2 will be configured to match the
|
9695
|
+
# configuration of the source Lightsail instance. For example, if
|
9696
|
+
# the source instance is configured for dual-stack (IPv4 and IPv6),
|
9697
|
+
# then IPv4 and IPv6 will be configured for the new instance that is
|
9698
|
+
# created in Amazon EC2. If the source instance is configured for
|
9699
|
+
# IPv4 only, then only IPv4 will be configured for the new instance
|
9700
|
+
# that is created in Amazon EC2.
|
9701
|
+
#
|
9702
|
+
# * `NONE` - Use the default Amazon EC2 security group. If this is
|
9703
|
+
# specified, then only IPv4 will be configured for the new instance
|
9704
|
+
# that is created in Amazon EC2.
|
9705
|
+
#
|
9706
|
+
# * `CLOSED` - All ports closed. If this is specified, then only IPv4
|
9707
|
+
# will be configured for the new instance that is created in Amazon
|
9708
|
+
# EC2.
|
9639
9709
|
#
|
9640
9710
|
# <note markdown="1"> If you configured `lightsail-connect` as a `cidrListAliases` on your
|
9641
9711
|
# instance, or if you chose to allow the Lightsail browser-based SSH
|
@@ -9810,14 +9880,20 @@ module Aws::Lightsail
|
|
9810
9880
|
#
|
9811
9881
|
# * TCP and UDP - `0` to `65535`
|
9812
9882
|
#
|
9813
|
-
# * ICMP - The ICMP type. For example, specify `8`
|
9814
|
-
# (ICMP type), and `-1` as the `toPort` (ICMP
|
9815
|
-
# Ping. For more information, see [Control
|
9816
|
-
# *Wikipedia*.
|
9883
|
+
# * ICMP - The ICMP type for IPv4 addresses. For example, specify `8`
|
9884
|
+
# as the `fromPort` (ICMP type), and `-1` as the `toPort` (ICMP
|
9885
|
+
# code), to enable ICMP Ping. For more information, see [Control
|
9886
|
+
# Messages][1] on *Wikipedia*.
|
9887
|
+
#
|
9888
|
+
# * ICMPv6 - The ICMP type for IPv6 addresses. For example, specify
|
9889
|
+
# `128` as the `fromPort` (ICMPv6 type), and `0` as `toPort` (ICMPv6
|
9890
|
+
# code). For more information, see [Internet Control Message
|
9891
|
+
# Protocol for IPv6][2].
|
9817
9892
|
#
|
9818
9893
|
#
|
9819
9894
|
#
|
9820
9895
|
# [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
|
9896
|
+
# [2]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6
|
9821
9897
|
# @return [Integer]
|
9822
9898
|
#
|
9823
9899
|
# @!attribute [rw] to_port
|
@@ -9827,14 +9903,20 @@ module Aws::Lightsail
|
|
9827
9903
|
#
|
9828
9904
|
# * TCP and UDP - `0` to `65535`
|
9829
9905
|
#
|
9830
|
-
# * ICMP - The ICMP code. For example, specify `8`
|
9831
|
-
# (ICMP type), and `-1` as the `toPort` (ICMP
|
9832
|
-
# Ping. For more information, see [Control
|
9833
|
-
# *Wikipedia*.
|
9906
|
+
# * ICMP - The ICMP code for IPv4 addresses. For example, specify `8`
|
9907
|
+
# as the `fromPort` (ICMP type), and `-1` as the `toPort` (ICMP
|
9908
|
+
# code), to enable ICMP Ping. For more information, see [Control
|
9909
|
+
# Messages][1] on *Wikipedia*.
|
9910
|
+
#
|
9911
|
+
# * ICMPv6 - The ICMP code for IPv6 addresses. For example, specify
|
9912
|
+
# `128` as the `fromPort` (ICMPv6 type), and `0` as `toPort` (ICMPv6
|
9913
|
+
# code). For more information, see [Internet Control Message
|
9914
|
+
# Protocol for IPv6][2].
|
9834
9915
|
#
|
9835
9916
|
#
|
9836
9917
|
#
|
9837
9918
|
# [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
|
9919
|
+
# [2]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6
|
9838
9920
|
# @return [Integer]
|
9839
9921
|
#
|
9840
9922
|
# @!attribute [rw] protocol
|
@@ -9896,9 +9978,33 @@ module Aws::Lightsail
|
|
9896
9978
|
# @return [String]
|
9897
9979
|
#
|
9898
9980
|
# @!attribute [rw] cidrs
|
9899
|
-
# The
|
9900
|
-
# allowed to connect to an instance through the ports, and the
|
9901
|
-
# protocol.
|
9981
|
+
# The IPv4 address, or range of IPv4 addresses (in CIDR notation) that
|
9982
|
+
# are allowed to connect to an instance through the ports, and the
|
9983
|
+
# protocol.
|
9984
|
+
#
|
9985
|
+
# <note markdown="1"> The `ipv6Cidrs` parameter lists the IPv6 addresses that are allowed
|
9986
|
+
# to connect to an instance.
|
9987
|
+
#
|
9988
|
+
# </note>
|
9989
|
+
#
|
9990
|
+
# For more information about CIDR block notation, see [Classless
|
9991
|
+
# Inter-Domain Routing][1] on *Wikipedia*.
|
9992
|
+
#
|
9993
|
+
#
|
9994
|
+
#
|
9995
|
+
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
9996
|
+
# @return [Array<String>]
|
9997
|
+
#
|
9998
|
+
# @!attribute [rw] ipv6_cidrs
|
9999
|
+
# The IPv6 address, or range of IPv6 addresses (in CIDR notation) that
|
10000
|
+
# are allowed to connect to an instance through the ports, and the
|
10001
|
+
# protocol. Only devices with an IPv6 address can connect to an
|
10002
|
+
# instance through IPv6; otherwise, IPv4 should be used.
|
10003
|
+
#
|
10004
|
+
# <note markdown="1"> The `cidrs` parameter lists the IPv4 addresses that are allowed to
|
10005
|
+
# connect to an instance.
|
10006
|
+
#
|
10007
|
+
# </note>
|
9902
10008
|
#
|
9903
10009
|
# For more information about CIDR block notation, see [Classless
|
9904
10010
|
# Inter-Domain Routing][1] on *Wikipedia*.
|
@@ -9928,6 +10034,7 @@ module Aws::Lightsail
|
|
9928
10034
|
:common_name,
|
9929
10035
|
:access_direction,
|
9930
10036
|
:cidrs,
|
10037
|
+
:ipv6_cidrs,
|
9931
10038
|
:cidr_list_aliases)
|
9932
10039
|
SENSITIVE = []
|
9933
10040
|
include Aws::Structure
|
@@ -9943,14 +10050,20 @@ module Aws::Lightsail
|
|
9943
10050
|
#
|
9944
10051
|
# * TCP and UDP - `0` to `65535`
|
9945
10052
|
#
|
9946
|
-
# * ICMP - The ICMP type. For example, specify `8`
|
9947
|
-
# (ICMP type), and `-1` as the `toPort` (ICMP
|
9948
|
-
# Ping. For more information, see [Control
|
9949
|
-
# *Wikipedia*.
|
10053
|
+
# * ICMP - The ICMP type for IPv4 addresses. For example, specify `8`
|
10054
|
+
# as the `fromPort` (ICMP type), and `-1` as the `toPort` (ICMP
|
10055
|
+
# code), to enable ICMP Ping. For more information, see [Control
|
10056
|
+
# Messages][1] on *Wikipedia*.
|
10057
|
+
#
|
10058
|
+
# * ICMPv6 - The ICMP type for IPv6 addresses. For example, specify
|
10059
|
+
# `128` as the `fromPort` (ICMPv6 type), and `0` as `toPort` (ICMPv6
|
10060
|
+
# code). For more information, see [Internet Control Message
|
10061
|
+
# Protocol for IPv6][2].
|
9950
10062
|
#
|
9951
10063
|
#
|
9952
10064
|
#
|
9953
10065
|
# [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
|
10066
|
+
# [2]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6
|
9954
10067
|
# @return [Integer]
|
9955
10068
|
#
|
9956
10069
|
# @!attribute [rw] to_port
|
@@ -9960,14 +10073,20 @@ module Aws::Lightsail
|
|
9960
10073
|
#
|
9961
10074
|
# * TCP and UDP - `0` to `65535`
|
9962
10075
|
#
|
9963
|
-
# * ICMP - The ICMP code. For example, specify `8`
|
9964
|
-
# (ICMP type), and `-1` as the `toPort` (ICMP
|
9965
|
-
# Ping. For more information, see [Control
|
9966
|
-
# *Wikipedia*.
|
10076
|
+
# * ICMP - The ICMP code for IPv4 addresses. For example, specify `8`
|
10077
|
+
# as the `fromPort` (ICMP type), and `-1` as the `toPort` (ICMP
|
10078
|
+
# code), to enable ICMP Ping. For more information, see [Control
|
10079
|
+
# Messages][1] on *Wikipedia*.
|
10080
|
+
#
|
10081
|
+
# * ICMPv6 - The ICMP code for IPv6 addresses. For example, specify
|
10082
|
+
# `128` as the `fromPort` (ICMPv6 type), and `0` as `toPort` (ICMPv6
|
10083
|
+
# code). For more information, see [Internet Control Message
|
10084
|
+
# Protocol for IPv6][2].
|
9967
10085
|
#
|
9968
10086
|
#
|
9969
10087
|
#
|
9970
10088
|
# [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
|
10089
|
+
# [2]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6
|
9971
10090
|
# @return [Integer]
|
9972
10091
|
#
|
9973
10092
|
# @!attribute [rw] protocol
|
@@ -10015,9 +10134,33 @@ module Aws::Lightsail
|
|
10015
10134
|
# @return [String]
|
10016
10135
|
#
|
10017
10136
|
# @!attribute [rw] cidrs
|
10018
|
-
# The
|
10019
|
-
# allowed to connect to an instance through the ports, and the
|
10020
|
-
# protocol.
|
10137
|
+
# The IPv4 address, or range of IPv4 addresses (in CIDR notation) that
|
10138
|
+
# are allowed to connect to an instance through the ports, and the
|
10139
|
+
# protocol.
|
10140
|
+
#
|
10141
|
+
# <note markdown="1"> The `ipv6Cidrs` parameter lists the IPv6 addresses that are allowed
|
10142
|
+
# to connect to an instance.
|
10143
|
+
#
|
10144
|
+
# </note>
|
10145
|
+
#
|
10146
|
+
# For more information about CIDR block notation, see [Classless
|
10147
|
+
# Inter-Domain Routing][1] on *Wikipedia*.
|
10148
|
+
#
|
10149
|
+
#
|
10150
|
+
#
|
10151
|
+
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
10152
|
+
# @return [Array<String>]
|
10153
|
+
#
|
10154
|
+
# @!attribute [rw] ipv6_cidrs
|
10155
|
+
# The IPv6 address, or range of IPv6 addresses (in CIDR notation) that
|
10156
|
+
# are allowed to connect to an instance through the ports, and the
|
10157
|
+
# protocol. Only devices with an IPv6 address can connect to an
|
10158
|
+
# instance through IPv6; otherwise, IPv4 should be used.
|
10159
|
+
#
|
10160
|
+
# <note markdown="1"> The `cidrs` parameter lists the IPv4 addresses that are allowed to
|
10161
|
+
# connect to an instance.
|
10162
|
+
#
|
10163
|
+
# </note>
|
10021
10164
|
#
|
10022
10165
|
# For more information about CIDR block notation, see [Classless
|
10023
10166
|
# Inter-Domain Routing][1] on *Wikipedia*.
|
@@ -10044,6 +10187,7 @@ module Aws::Lightsail
|
|
10044
10187
|
:protocol,
|
10045
10188
|
:state,
|
10046
10189
|
:cidrs,
|
10190
|
+
:ipv6_cidrs,
|
10047
10191
|
:cidr_list_aliases)
|
10048
10192
|
SENSITIVE = []
|
10049
10193
|
include Aws::Structure
|
@@ -10097,6 +10241,11 @@ module Aws::Lightsail
|
|
10097
10241
|
#
|
10098
10242
|
# @!attribute [rw] progress
|
10099
10243
|
# The progress of the snapshot.
|
10244
|
+
#
|
10245
|
+
# <note markdown="1"> This is populated only for disk snapshots, and is `null` for
|
10246
|
+
# instance snapshots.
|
10247
|
+
#
|
10248
|
+
# </note>
|
10100
10249
|
# @return [String]
|
10101
10250
|
#
|
10102
10251
|
# @!attribute [rw] from_attached_disks
|
@@ -10206,9 +10355,9 @@ module Aws::Lightsail
|
|
10206
10355
|
# Lightsail throws this exception when user input does not conform to
|
10207
10356
|
# the validation rules of an input field.
|
10208
10357
|
#
|
10209
|
-
# <note markdown="1"> Domain
|
10210
|
-
# Region. Please set your AWS Region configuration to
|
10211
|
-
# create, view, or edit these resources.
|
10358
|
+
# <note markdown="1"> Domain and distribution APIs are only available in the N. Virginia
|
10359
|
+
# (`us-east-1`) AWS Region. Please set your AWS Region configuration to
|
10360
|
+
# `us-east-1` to create, view, or edit these resources.
|
10212
10361
|
#
|
10213
10362
|
# </note>
|
10214
10363
|
#
|
@@ -10411,6 +10560,13 @@ module Aws::Lightsail
|
|
10411
10560
|
# distribution's bundle.
|
10412
10561
|
# @return [Boolean]
|
10413
10562
|
#
|
10563
|
+
# @!attribute [rw] ip_address_type
|
10564
|
+
# The IP address type of the distribution.
|
10565
|
+
#
|
10566
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
10567
|
+
# IPv4 and IPv6.
|
10568
|
+
# @return [String]
|
10569
|
+
#
|
10414
10570
|
# @!attribute [rw] tags
|
10415
10571
|
# The tag keys and optional values for the resource. For more
|
10416
10572
|
# information about tags in Lightsail, see the [Lightsail Dev
|
@@ -10442,6 +10598,7 @@ module Aws::Lightsail
|
|
10442
10598
|
:cache_behavior_settings,
|
10443
10599
|
:cache_behaviors,
|
10444
10600
|
:able_to_update_bundle,
|
10601
|
+
:ip_address_type,
|
10445
10602
|
:tags)
|
10446
10603
|
SENSITIVE = []
|
10447
10604
|
include Aws::Structure
|
@@ -10536,6 +10693,13 @@ module Aws::Lightsail
|
|
10536
10693
|
# balancer. Valid values are listed below.
|
10537
10694
|
# @return [Hash<String,String>]
|
10538
10695
|
#
|
10696
|
+
# @!attribute [rw] ip_address_type
|
10697
|
+
# The IP address type of the load balancer.
|
10698
|
+
#
|
10699
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
10700
|
+
# IPv4 and IPv6.
|
10701
|
+
# @return [String]
|
10702
|
+
#
|
10539
10703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer AWS API Documentation
|
10540
10704
|
#
|
10541
10705
|
class LoadBalancer < Struct.new(
|
@@ -10554,7 +10718,8 @@ module Aws::Lightsail
|
|
10554
10718
|
:instance_port,
|
10555
10719
|
:instance_health_summary,
|
10556
10720
|
:tls_certificate_summaries,
|
10557
|
-
:configuration_options
|
10721
|
+
:configuration_options,
|
10722
|
+
:ip_address_type)
|
10558
10723
|
SENSITIVE = []
|
10559
10724
|
include Aws::Structure
|
10560
10725
|
end
|
@@ -10709,7 +10874,7 @@ module Aws::Lightsail
|
|
10709
10874
|
#
|
10710
10875
|
# [1]: https://console.aws.amazon.com/support/home
|
10711
10876
|
# [2]: https://www.virustotal.com/gui/home/url
|
10712
|
-
# [3]: https://
|
10877
|
+
# [3]: https://developers.google.com/web/fundamentals/security/hacked
|
10713
10878
|
# @return [String]
|
10714
10879
|
#
|
10715
10880
|
# @!attribute [rw] issued_at
|
@@ -11092,6 +11257,7 @@ module Aws::Lightsail
|
|
11092
11257
|
# to_port: 1,
|
11093
11258
|
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
11094
11259
|
# cidrs: ["string"],
|
11260
|
+
# ipv6_cidrs: ["string"],
|
11095
11261
|
# cidr_list_aliases: ["string"],
|
11096
11262
|
# },
|
11097
11263
|
# instance_name: "ResourceName", # required
|
@@ -11380,6 +11546,7 @@ module Aws::Lightsail
|
|
11380
11546
|
# to_port: 1,
|
11381
11547
|
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
11382
11548
|
# cidrs: ["string"],
|
11549
|
+
# ipv6_cidrs: ["string"],
|
11383
11550
|
# cidr_list_aliases: ["string"],
|
11384
11551
|
# }
|
11385
11552
|
#
|
@@ -11390,14 +11557,20 @@ module Aws::Lightsail
|
|
11390
11557
|
#
|
11391
11558
|
# * TCP and UDP - `0` to `65535`
|
11392
11559
|
#
|
11393
|
-
# * ICMP - The ICMP type. For example, specify `8`
|
11394
|
-
# (ICMP type), and `-1` as the `toPort` (ICMP
|
11395
|
-
# Ping. For more information, see [Control
|
11396
|
-
# *Wikipedia*.
|
11560
|
+
# * ICMP - The ICMP type for IPv4 addresses. For example, specify `8`
|
11561
|
+
# as the `fromPort` (ICMP type), and `-1` as the `toPort` (ICMP
|
11562
|
+
# code), to enable ICMP Ping. For more information, see [Control
|
11563
|
+
# Messages][1] on *Wikipedia*.
|
11564
|
+
#
|
11565
|
+
# * ICMPv6 - The ICMP type for IPv6 addresses. For example, specify
|
11566
|
+
# `128` as the `fromPort` (ICMPv6 type), and `0` as `toPort` (ICMPv6
|
11567
|
+
# code). For more information, see [Internet Control Message
|
11568
|
+
# Protocol for IPv6][2].
|
11397
11569
|
#
|
11398
11570
|
#
|
11399
11571
|
#
|
11400
11572
|
# [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
|
11573
|
+
# [2]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6
|
11401
11574
|
# @return [Integer]
|
11402
11575
|
#
|
11403
11576
|
# @!attribute [rw] to_port
|
@@ -11407,14 +11580,20 @@ module Aws::Lightsail
|
|
11407
11580
|
#
|
11408
11581
|
# * TCP and UDP - `0` to `65535`
|
11409
11582
|
#
|
11410
|
-
# * ICMP - The ICMP code. For example, specify `8`
|
11411
|
-
# (ICMP type), and `-1` as the `toPort` (ICMP
|
11412
|
-
# Ping. For more information, see [Control
|
11413
|
-
# *Wikipedia*.
|
11583
|
+
# * ICMP - The ICMP code for IPv4 addresses. For example, specify `8`
|
11584
|
+
# as the `fromPort` (ICMP type), and `-1` as the `toPort` (ICMP
|
11585
|
+
# code), to enable ICMP Ping. For more information, see [Control
|
11586
|
+
# Messages][1] on *Wikipedia*.
|
11587
|
+
#
|
11588
|
+
# * ICMPv6 - The ICMP code for IPv6 addresses. For example, specify
|
11589
|
+
# `128` as the `fromPort` (ICMPv6 type), and `0` as `toPort` (ICMPv6
|
11590
|
+
# code). For more information, see [Internet Control Message
|
11591
|
+
# Protocol for IPv6][2].
|
11414
11592
|
#
|
11415
11593
|
#
|
11416
11594
|
#
|
11417
11595
|
# [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
|
11596
|
+
# [2]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6
|
11418
11597
|
# @return [Integer]
|
11419
11598
|
#
|
11420
11599
|
# @!attribute [rw] protocol
|
@@ -11454,9 +11633,14 @@ module Aws::Lightsail
|
|
11454
11633
|
# @return [String]
|
11455
11634
|
#
|
11456
11635
|
# @!attribute [rw] cidrs
|
11457
|
-
# The
|
11458
|
-
# allowed to connect to an instance through the ports, and the
|
11459
|
-
# protocol.
|
11636
|
+
# The IPv4 address, or range of IPv4 addresses (in CIDR notation) that
|
11637
|
+
# are allowed to connect to an instance through the ports, and the
|
11638
|
+
# protocol.
|
11639
|
+
#
|
11640
|
+
# <note markdown="1"> The `ipv6Cidrs` parameter lists the IPv6 addresses that are allowed
|
11641
|
+
# to connect to an instance.
|
11642
|
+
#
|
11643
|
+
# </note>
|
11460
11644
|
#
|
11461
11645
|
# Examples:
|
11462
11646
|
#
|
@@ -11474,6 +11658,25 @@ module Aws::Lightsail
|
|
11474
11658
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
11475
11659
|
# @return [Array<String>]
|
11476
11660
|
#
|
11661
|
+
# @!attribute [rw] ipv6_cidrs
|
11662
|
+
# The IPv6 address, or range of IPv6 addresses (in CIDR notation) that
|
11663
|
+
# are allowed to connect to an instance through the ports, and the
|
11664
|
+
# protocol. Only devices with an IPv6 address can connect to an
|
11665
|
+
# instance through IPv6; otherwise, IPv4 should be used.
|
11666
|
+
#
|
11667
|
+
# <note markdown="1"> The `cidrs` parameter lists the IPv4 addresses that are allowed to
|
11668
|
+
# connect to an instance.
|
11669
|
+
#
|
11670
|
+
# </note>
|
11671
|
+
#
|
11672
|
+
# For more information about CIDR block notation, see [Classless
|
11673
|
+
# Inter-Domain Routing][1] on *Wikipedia*.
|
11674
|
+
#
|
11675
|
+
#
|
11676
|
+
#
|
11677
|
+
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
11678
|
+
# @return [Array<String>]
|
11679
|
+
#
|
11477
11680
|
# @!attribute [rw] cidr_list_aliases
|
11478
11681
|
# An alias that defines access for a preconfigured range of IP
|
11479
11682
|
# addresses.
|
@@ -11490,6 +11693,7 @@ module Aws::Lightsail
|
|
11490
11693
|
:to_port,
|
11491
11694
|
:protocol,
|
11492
11695
|
:cidrs,
|
11696
|
+
:ipv6_cidrs,
|
11493
11697
|
:cidr_list_aliases)
|
11494
11698
|
SENSITIVE = []
|
11495
11699
|
include Aws::Structure
|
@@ -11706,6 +11910,7 @@ module Aws::Lightsail
|
|
11706
11910
|
# to_port: 1,
|
11707
11911
|
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
11708
11912
|
# cidrs: ["string"],
|
11913
|
+
# ipv6_cidrs: ["string"],
|
11709
11914
|
# cidr_list_aliases: ["string"],
|
11710
11915
|
# },
|
11711
11916
|
# ],
|
@@ -12700,6 +12905,63 @@ module Aws::Lightsail
|
|
12700
12905
|
include Aws::Structure
|
12701
12906
|
end
|
12702
12907
|
|
12908
|
+
# @note When making an API call, you may pass SetIpAddressTypeRequest
|
12909
|
+
# data as a hash:
|
12910
|
+
#
|
12911
|
+
# {
|
12912
|
+
# resource_type: "ContainerService", # required, accepts ContainerService, Instance, StaticIp, KeyPair, InstanceSnapshot, Domain, PeeredVpc, LoadBalancer, LoadBalancerTlsCertificate, Disk, DiskSnapshot, RelationalDatabase, RelationalDatabaseSnapshot, ExportSnapshotRecord, CloudFormationStackRecord, Alarm, ContactMethod, Distribution, Certificate
|
12913
|
+
# resource_name: "ResourceName", # required
|
12914
|
+
# ip_address_type: "dualstack", # required, accepts dualstack, ipv4
|
12915
|
+
# }
|
12916
|
+
#
|
12917
|
+
# @!attribute [rw] resource_type
|
12918
|
+
# The resource type.
|
12919
|
+
#
|
12920
|
+
# The possible values are `Distribution`, `Instance`, and
|
12921
|
+
# `LoadBalancer`.
|
12922
|
+
#
|
12923
|
+
# <note markdown="1"> Distribution-related APIs are available only in the N. Virginia
|
12924
|
+
# (`us-east-1`) AWS Region. Set your AWS Region configuration to
|
12925
|
+
# `us-east-1` to create, view, or edit distributions.
|
12926
|
+
#
|
12927
|
+
# </note>
|
12928
|
+
# @return [String]
|
12929
|
+
#
|
12930
|
+
# @!attribute [rw] resource_name
|
12931
|
+
# The name of the resource for which to set the IP address type.
|
12932
|
+
# @return [String]
|
12933
|
+
#
|
12934
|
+
# @!attribute [rw] ip_address_type
|
12935
|
+
# The IP address type to set for the specified resource.
|
12936
|
+
#
|
12937
|
+
# The possible values are `ipv4` for IPv4 only, and `dualstack` for
|
12938
|
+
# IPv4 and IPv6.
|
12939
|
+
# @return [String]
|
12940
|
+
#
|
12941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetIpAddressTypeRequest AWS API Documentation
|
12942
|
+
#
|
12943
|
+
class SetIpAddressTypeRequest < Struct.new(
|
12944
|
+
:resource_type,
|
12945
|
+
:resource_name,
|
12946
|
+
:ip_address_type)
|
12947
|
+
SENSITIVE = []
|
12948
|
+
include Aws::Structure
|
12949
|
+
end
|
12950
|
+
|
12951
|
+
# @!attribute [rw] operations
|
12952
|
+
# An array of objects that describe the result of the action, such as
|
12953
|
+
# the status of the request, the timestamp of the request, and the
|
12954
|
+
# resources affected by the request.
|
12955
|
+
# @return [Array<Types::Operation>]
|
12956
|
+
#
|
12957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetIpAddressTypeResult AWS API Documentation
|
12958
|
+
#
|
12959
|
+
class SetIpAddressTypeResult < Struct.new(
|
12960
|
+
:operations)
|
12961
|
+
SENSITIVE = []
|
12962
|
+
include Aws::Structure
|
12963
|
+
end
|
12964
|
+
|
12703
12965
|
# @note When making an API call, you may pass StartInstanceRequest
|
12704
12966
|
# data as a hash:
|
12705
12967
|
#
|