Skip to content

Commit 97a2604

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: Added LaunchTemplate support for the IMDS IPv6 endpoint
1 parent 7b8e92b commit 97a2604

File tree

2 files changed

+35
-13
lines changed

2 files changed

+35
-13
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "Added LaunchTemplate support for the IMDS IPv6 endpoint"
6+
}

services/ec2/src/main/resources/codegen-resources/service-2.json

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11943,10 +11943,6 @@
1194311943
"type":"structure",
1194411944
"required":["CidrBlock"],
1194511945
"members":{
11946-
"CidrBlock":{
11947-
"shape":"String",
11948-
"documentation":"<p>The IPv4 network range for the VPC, in CIDR notation. For example, <code>10.0.0.0/16</code>. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>"
11949-
},
1195011946
"AmazonProvidedIpv6CidrBlock":{
1195111947
"shape":"Boolean",
1195211948
"documentation":"<p>Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.</p>",
@@ -11978,6 +11974,10 @@
1197811974
"shape":"TagSpecificationList",
1197911975
"documentation":"<p>The tags to assign to the VPC.</p>",
1198011976
"locationName":"TagSpecification"
11977+
},
11978+
"CidrBlock":{
11979+
"shape":"String",
11980+
"documentation":"<p>The IPv4 network range for the VPC, in CIDR notation. For example, <code>10.0.0.0/16</code>. We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>"
1198111981
}
1198211982
}
1198311983
},
@@ -28754,6 +28754,11 @@
2875428754
"shape":"LaunchTemplateInstanceMetadataEndpointState",
2875528755
"documentation":"<p>This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is <code>enabled</code>.</p> <note> <p>If you specify a value of <code>disabled</code>, you will not be able to access your instance metadata. </p> </note>",
2875628756
"locationName":"httpEndpoint"
28757+
},
28758+
"HttpProtocolIpv6":{
28759+
"shape":"LaunchTemplateInstanceMetadataProtocolIpv6",
28760+
"documentation":"<p>Enables or disables the IPv6 endpoint for the instance metadata service.</p> <p>Default: <code>disabled</code> </p>",
28761+
"locationName":"httpProtocolIpv6"
2875728762
}
2875828763
},
2875928764
"documentation":"<p>The metadata options for the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html\">Instance Metadata and User Data</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
@@ -28772,6 +28777,10 @@
2877228777
"HttpEndpoint":{
2877328778
"shape":"LaunchTemplateInstanceMetadataEndpointState",
2877428779
"documentation":"<p>This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is <code>enabled</code>.</p> <note> <p>If you specify a value of <code>disabled</code>, you will not be able to access your instance metadata. </p> </note>"
28780+
},
28781+
"HttpProtocolIpv6":{
28782+
"shape":"LaunchTemplateInstanceMetadataProtocolIpv6",
28783+
"documentation":"<p>Enables or disables the IPv6 endpoint for the instance metadata service.</p> <p>Default: <code>disabled</code> </p>"
2877528784
}
2877628785
},
2877728786
"documentation":"<p>The metadata options for the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html\">Instance Metadata and User Data</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
@@ -28783,6 +28792,13 @@
2878328792
"applied"
2878428793
]
2878528794
},
28795+
"LaunchTemplateInstanceMetadataProtocolIpv6":{
28796+
"type":"string",
28797+
"enum":[
28798+
"disabled",
28799+
"enabled"
28800+
]
28801+
},
2878628802
"LaunchTemplateInstanceNetworkInterfaceSpecification":{
2878728803
"type":"structure",
2878828804
"members":{
@@ -28863,22 +28879,22 @@
2886328879
},
2886428880
"Ipv4Prefixes":{
2886528881
"shape":"Ipv4PrefixListResponse",
28866-
"documentation":"<p>One or more IPv4 delegated prefixes assigned to the network interface.</p>",
28882+
"documentation":"<p>One or more IPv4 prefixes assigned to the network interface.</p>",
2886728883
"locationName":"ipv4PrefixSet"
2886828884
},
2886928885
"Ipv4PrefixCount":{
2887028886
"shape":"Integer",
28871-
"documentation":"<p>The number of IPv4 delegated prefixes that AWS automatically assigned to the network interface.</p>",
28887+
"documentation":"<p>The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.</p>",
2887228888
"locationName":"ipv4PrefixCount"
2887328889
},
2887428890
"Ipv6Prefixes":{
2887528891
"shape":"Ipv6PrefixListResponse",
28876-
"documentation":"<p>One or more IPv6 delegated prefixes assigned to the network interface.</p>",
28892+
"documentation":"<p>One or more IPv6 prefixes assigned to the network interface.</p>",
2887728893
"locationName":"ipv6PrefixSet"
2887828894
},
2887928895
"Ipv6PrefixCount":{
2888028896
"shape":"Integer",
28881-
"documentation":"<p>The number of IPv6 delegated prefixes that AWS automatically assigned to the network interface.</p>",
28897+
"documentation":"<p>The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.</p>",
2888228898
"locationName":"ipv6PrefixCount"
2888328899
}
2888428900
},
@@ -28957,21 +28973,21 @@
2895728973
},
2895828974
"Ipv4Prefixes":{
2895928975
"shape":"Ipv4PrefixList",
28960-
"documentation":"<p>One or more IPv4 delegated prefixes to be assigned to the network interface. You cannot use this option if you use the <code>Ipv4PrefixCount</code> option.</p>",
28976+
"documentation":"<p>One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the <code>Ipv4PrefixCount</code> option.</p>",
2896128977
"locationName":"Ipv4Prefix"
2896228978
},
2896328979
"Ipv4PrefixCount":{
2896428980
"shape":"Integer",
28965-
"documentation":"<p>The number of IPv4 delegated prefixes to be automatically assigned to the network interface. You cannot use this option if you use the <code>Ipv4Prefix</code> option.</p>"
28981+
"documentation":"<p>The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the <code>Ipv4Prefix</code> option.</p>"
2896628982
},
2896728983
"Ipv6Prefixes":{
2896828984
"shape":"Ipv6PrefixList",
28969-
"documentation":"<p>One or more IPv6 delegated prefixes to be assigned to the network interface. You cannot use this option if you use the <code>Ipv6PrefixCount</code> option.</p>",
28985+
"documentation":"<p>One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the <code>Ipv6PrefixCount</code> option.</p>",
2897028986
"locationName":"Ipv6Prefix"
2897128987
},
2897228988
"Ipv6PrefixCount":{
2897328989
"shape":"Integer",
28974-
"documentation":"<p>The number of IPv6 delegated prefixes to be automatically assigned to the network interface. You cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>"
28990+
"documentation":"<p>The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the <code>Ipv6Prefix</code> option.</p>"
2897528991
}
2897628992
},
2897728993
"documentation":"<p>The parameters for a network interface.</p>"
@@ -35589,7 +35605,7 @@
3558935605
},
3559035606
"UserData":{
3559135607
"shape":"String",
35592-
"documentation":"<p>The Base64-encoded user data to make available to the instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html\">Running Commands on Your Linux Instance at Launch</a> (Linux) and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data\">Adding User Data</a> (Windows).</p>"
35608+
"documentation":"<p>The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html\">Running Commands on Your Linux Instance at Launch</a> (Linux) or <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data\">Adding User Data</a> (Windows).</p> <p>If you are creating the launch template for use with Batch, the user data must be provided in the <a href=\"https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive\"> MIME multi-part archive format</a>. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html\">Amazon EC2 user data in launch templates</a> in the <i>Batch User Guide</i>.</p>"
3559335609
},
3559435610
"TagSpecifications":{
3559535611
"shape":"LaunchTemplateTagSpecificationRequestList",

0 commit comments

Comments
 (0)