@aws-sdk/client-ec2 3.1158.0 → 3.1159.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +153 -65
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/GetCapacityManagerSupportabilityScoresCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +52 -29
  7. package/dist-es/schemas/schemas_0.js +88 -35
  8. package/dist-types/EC2.d.ts +7 -0
  9. package/dist-types/EC2Client.d.ts +3 -2
  10. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +82 -1
  11. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +81 -0
  13. package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -2
  14. package/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +183 -0
  16. package/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -1
  17. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -2
  18. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  19. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -2
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/enums.d.ts +124 -77
  22. package/dist-types/models/models_0.d.ts +109 -281
  23. package/dist-types/models/models_1.d.ts +1775 -1588
  24. package/dist-types/models/models_2.d.ts +2 -2
  25. package/dist-types/models/models_3.d.ts +17 -2
  26. package/dist-types/models/models_6.d.ts +139 -80
  27. package/dist-types/models/models_7.d.ts +54 -45
  28. package/dist-types/models/models_8.d.ts +45 -1
  29. package/dist-types/schemas/schemas_0.d.ts +4 -0
  30. package/dist-types/ts3.4/EC2.d.ts +17 -0
  31. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +1 -2
  34. package/dist-types/ts3.4/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/enums.d.ts +62 -35
  41. package/dist-types/ts3.4/models/models_0.d.ts +15 -57
  42. package/dist-types/ts3.4/models/models_1.d.ts +115 -66
  43. package/dist-types/ts3.4/models/models_2.d.ts +1 -1
  44. package/dist-types/ts3.4/models/models_3.d.ts +6 -2
  45. package/dist-types/ts3.4/models/models_6.d.ts +26 -18
  46. package/dist-types/ts3.4/models/models_7.d.ts +13 -12
  47. package/dist-types/ts3.4/models/models_8.d.ts +12 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  49. package/package.json +4 -4
@@ -1,1070 +1,1451 @@
1
- import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationPreference, ClientVpnAuthenticationType, ClientVpnDeviceTrustProviderType, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
2
- import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, CarrierGateway, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
1
+ import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationPreference, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnDeviceTrustProviderType, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMatchCriteria, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
2
+ import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, BaselineEbsBandwidthMbpsRequest, BaselinePerformanceFactorsRequest, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, MemoryGiBPerVCpuRequest, MemoryMiBRequest, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
3
  /**
4
+ * <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
5
+ * <note>
6
+ * <p>Setting the minimum bandwidth does not guarantee that your instance will achieve the
7
+ * minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum
8
+ * bandwidth, but the actual bandwidth of your instance might go below the specified minimum
9
+ * at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
10
+ * <i>Amazon EC2 User Guide</i>.</p>
11
+ * </note>
4
12
  * @public
5
13
  */
6
- export interface CreateCarrierGatewayResult {
7
- /**
8
- * <p>Information about the carrier gateway.</p>
9
- * @public
10
- */
11
- CarrierGateway?: CarrierGateway | undefined;
12
- }
13
- /**
14
- * <p>Describes the Active Directory to be used for client authentication.</p>
15
- * @public
16
- */
17
- export interface DirectoryServiceAuthenticationRequest {
18
- /**
19
- * <p>The ID of the Active Directory to be used for authentication.</p>
20
- * @public
21
- */
22
- DirectoryId?: string | undefined;
23
- }
24
- /**
25
- * <p>The IAM SAML identity provider used for federated authentication.</p>
26
- * @public
27
- */
28
- export interface FederatedAuthenticationRequest {
29
- /**
30
- * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider.</p>
31
- * @public
32
- */
33
- SAMLProviderArn?: string | undefined;
14
+ export interface NetworkBandwidthGbpsRequest {
34
15
  /**
35
- * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.</p>
16
+ * <p>The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this
17
+ * parameter.</p>
36
18
  * @public
37
19
  */
38
- SelfServiceSAMLProviderArn?: string | undefined;
39
- }
40
- /**
41
- * <p>Information about the client certificate to be used for authentication.</p>
42
- * @public
43
- */
44
- export interface CertificateAuthenticationRequest {
20
+ Min?: number | undefined;
45
21
  /**
46
- * <p>The ARN of the client certificate. The certificate must be signed by a certificate
47
- * authority (CA) and it must be provisioned in Certificate Manager (ACM).</p>
22
+ * <p>The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this
23
+ * parameter.</p>
48
24
  * @public
49
25
  */
50
- ClientRootCertificateChainArn?: string | undefined;
26
+ Max?: number | undefined;
51
27
  }
52
28
  /**
53
- * <p>Describes the authentication method to be used by a Client VPN endpoint. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication">Authentication</a>
54
- * in the <i>Client VPN Administrator Guide</i>.</p>
29
+ * <p>The minimum and maximum number of network interfaces.</p>
55
30
  * @public
56
31
  */
57
- export interface ClientVpnAuthenticationRequest {
58
- /**
59
- * <p>The type of client authentication to be used.</p>
60
- * @public
61
- */
62
- Type?: ClientVpnAuthenticationType | undefined;
63
- /**
64
- * <p>Information about the Active Directory to be used, if applicable. You must provide this information if <b>Type</b> is <code>directory-service-authentication</code>.</p>
65
- * @public
66
- */
67
- ActiveDirectory?: DirectoryServiceAuthenticationRequest | undefined;
32
+ export interface NetworkInterfaceCountRequest {
68
33
  /**
69
- * <p>Information about the authentication certificates to be used, if applicable. You must provide this information if <b>Type</b> is <code>certificate-authentication</code>.</p>
34
+ * <p>The minimum number of network interfaces. To specify no minimum limit, omit this
35
+ * parameter.</p>
70
36
  * @public
71
37
  */
72
- MutualAuthentication?: CertificateAuthenticationRequest | undefined;
38
+ Min?: number | undefined;
73
39
  /**
74
- * <p>Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if <b>Type</b> is <code>federated-authentication</code>.</p>
40
+ * <p>The maximum number of network interfaces. To specify no maximum limit, omit this
41
+ * parameter.</p>
75
42
  * @public
76
43
  */
77
- FederatedAuthentication?: FederatedAuthenticationRequest | undefined;
44
+ Max?: number | undefined;
78
45
  }
79
46
  /**
80
- * <p>The options for managing connection authorization for new client connections.</p>
47
+ * <p>The minimum and maximum amount of total local storage, in GB.</p>
81
48
  * @public
82
49
  */
83
- export interface ClientConnectOptions {
50
+ export interface TotalLocalStorageGBRequest {
84
51
  /**
85
- * <p>Indicates whether client connect options are enabled. The default is <code>false</code> (not enabled).</p>
52
+ * <p>The minimum amount of total local storage, in GB. To specify no minimum limit, omit this
53
+ * parameter.</p>
86
54
  * @public
87
55
  */
88
- Enabled?: boolean | undefined;
56
+ Min?: number | undefined;
89
57
  /**
90
- * <p>The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.</p>
58
+ * <p>The maximum amount of total local storage, in GB. To specify no maximum limit, omit this
59
+ * parameter.</p>
91
60
  * @public
92
61
  */
93
- LambdaFunctionArn?: string | undefined;
62
+ Max?: number | undefined;
94
63
  }
95
64
  /**
96
- * <p>Options for enabling a customizable text banner that will be displayed on
97
- * Amazon Web Services provided clients when a VPN session is established.</p>
65
+ * <p>The minimum and maximum number of vCPUs.</p>
98
66
  * @public
99
67
  */
100
- export interface ClientLoginBannerOptions {
101
- /**
102
- * <p>Enable or disable a customizable text banner that will be displayed on
103
- * Amazon Web Services provided clients when a VPN session is established.</p>
104
- * <p>Valid values: <code>true | false</code>
105
- * </p>
106
- * <p>Default value: <code>false</code>
107
- * </p>
108
- * @public
109
- */
110
- Enabled?: boolean | undefined;
68
+ export interface VCpuCountRangeRequest {
111
69
  /**
112
- * <p>Customizable text that will be displayed in a banner on Amazon Web Services provided
113
- * clients when a VPN session is established. UTF-8 encoded characters only. Maximum of
114
- * 1400 characters.</p>
70
+ * <p>The minimum number of vCPUs. To specify no minimum limit, specify <code>0</code>.</p>
115
71
  * @public
116
72
  */
117
- BannerText?: string | undefined;
118
- }
119
- /**
120
- * <p>Client Route Enforcement is a feature of Client VPN that helps enforce administrator defined
121
- * routes on devices connected through the VPN. This feature helps improve your security
122
- * posture by ensuring that network traffic originating from a connected client is not
123
- * inadvertently sent outside the VPN tunnel.</p>
124
- * <p>Client Route Enforcement works by monitoring the route table of a connected device for
125
- * routing policy changes to the VPN connection. If the feature detects any VPN routing
126
- * policy modifications, it will automatically force an update to the route table,
127
- * reverting it back to the expected route configurations.</p>
128
- * @public
129
- */
130
- export interface ClientRouteEnforcementOptions {
73
+ Min: number | undefined;
131
74
  /**
132
- * <p>Enable or disable Client Route Enforcement. The state can either be <code>true</code>
133
- * (enabled) or <code>false</code> (disabled). The default is <code>false</code>.</p>
134
- * <p>Valid values: <code>true | false</code>
135
- * </p>
136
- * <p>Default value: <code>false</code>
137
- * </p>
75
+ * <p>The maximum number of vCPUs. To specify no maximum limit, omit this parameter.</p>
138
76
  * @public
139
77
  */
140
- Enforced?: boolean | undefined;
78
+ Max?: number | undefined;
141
79
  }
142
80
  /**
143
- * <p>Describes the client connection logging options for the Client VPN endpoint.</p>
81
+ * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
82
+ * identify instance types with these attributes.</p>
83
+ * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
84
+ * are optional. Any unspecified optional attribute is set to its default.</p>
85
+ * <p>When you specify multiple attributes, you get instance types that satisfy all of the
86
+ * specified attributes. If you specify multiple values for an attribute, you get instance
87
+ * types that satisfy any of the specified values.</p>
88
+ * <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
89
+ * you can use one of the following parameters, but not both in the same request:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>
93
+ * <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
94
+ * other instance types are ignored, even if they match your specified attributes.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>
98
+ * <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
99
+ * even if they match your specified attributes.</p>
100
+ * </li>
101
+ * </ul>
102
+ * <note>
103
+ * <p>If you specify <code>InstanceRequirements</code>, you can't specify
104
+ * <code>InstanceType</code>.</p>
105
+ * <p>Attribute-based instance type selection is only supported when using Auto Scaling
106
+ * groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in
107
+ * the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html">launch instance
108
+ * wizard</a>, or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> API or
109
+ * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify
110
+ * <code>InstanceRequirements</code>.</p>
111
+ * </note>
112
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Specify attributes for instance type selection for EC2 Fleet or Spot Fleet</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
113
+ * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
144
114
  * @public
145
115
  */
146
- export interface ConnectionLogOptions {
147
- /**
148
- * <p>Indicates whether connection logging is enabled.</p>
149
- * @public
150
- */
151
- Enabled?: boolean | undefined;
152
- /**
153
- * <p>The name of the CloudWatch Logs log group. Required if connection logging is enabled.</p>
154
- * @public
155
- */
156
- CloudwatchLogGroup?: string | undefined;
116
+ export interface InstanceRequirementsRequest {
157
117
  /**
158
- * <p>The name of the CloudWatch Logs log stream to which the connection data is published.</p>
118
+ * <p>The minimum and maximum number of vCPUs.</p>
159
119
  * @public
160
120
  */
161
- CloudwatchLogStream?: string | undefined;
121
+ VCpuCount: VCpuCountRangeRequest | undefined;
162
122
  /**
163
- * <p>Specifies whether to include the authorization policy evaluation context in the connection logs for the Client VPN endpoint.</p>
123
+ * <p>The minimum and maximum amount of memory, in MiB.</p>
164
124
  * @public
165
125
  */
166
- IncludeAuthorizationPolicyContext?: boolean | undefined;
167
- }
168
- /**
169
- * <p>Describes a device trust provider to configure for a Client VPN endpoint.</p>
170
- * @public
171
- */
172
- export interface ClientVpnTrustProviderRequest {
126
+ MemoryMiB: MemoryMiBRequest | undefined;
173
127
  /**
174
- * <p>The type of the device trust provider. Possible values include:</p>
128
+ * <p>The CPU manufacturers to include.</p>
175
129
  * <ul>
176
130
  * <li>
177
- * <p>
178
- * <code>crowdstrike</code> - CrowdStrike device trust provider.</p>
131
+ * <p>For instance types with Intel CPUs, specify <code>intel</code>.</p>
179
132
  * </li>
180
133
  * <li>
181
- * <p>
182
- * <code>jamf</code> - Jamf device trust provider.</p>
134
+ * <p>For instance types with AMD CPUs, specify <code>amd</code>.</p>
183
135
  * </li>
184
136
  * <li>
185
- * <p>
186
- * <code>jumpcloud</code> - JumpCloud device trust provider.</p>
137
+ * <p>For instance types with Amazon Web Services CPUs, specify <code>amazon-web-services</code>.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>For instance types with Apple CPUs, specify <code>apple</code>.</p>
187
141
  * </li>
188
142
  * </ul>
143
+ * <note>
144
+ * <p>Don't confuse the CPU manufacturer with the CPU architecture. Instances will
145
+ * be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you
146
+ * specify in your launch template.</p>
147
+ * </note>
148
+ * <p>Default: Any manufacturer</p>
189
149
  * @public
190
150
  */
191
- TrustProviderType?: ClientVpnDeviceTrustProviderType | undefined;
151
+ CpuManufacturers?: CpuManufacturer[] | undefined;
192
152
  /**
193
- * <p>The tenant ID associated with your device trust provider account.</p>
153
+ * <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
154
+ * <p>Default: No minimum or maximum limits</p>
194
155
  * @public
195
156
  */
196
- TenantId?: string | undefined;
157
+ MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
197
158
  /**
198
- * <p>The URL of the public signing key that is used to verify the identity token issued by the device trust provider.</p>
159
+ * <p>The instance types to exclude.</p>
160
+ * <p>You can use strings with one or more wild cards, represented by
161
+ * an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The
162
+ * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
163
+ * <code>r*</code>, <code>*3*</code>.</p>
164
+ * <p>For example, if you specify <code>c5*</code>,Amazon EC2 will exclude the entire C5 instance
165
+ * family, which includes all C5a and C5n instance types. If you specify
166
+ * <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n
167
+ * instance types.</p>
168
+ * <note>
169
+ * <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.</p>
170
+ * </note>
171
+ * <p>Default: No excluded instance types</p>
199
172
  * @public
200
173
  */
201
- PublicSigningKeyUrl?: string | undefined;
202
- }
203
- /**
204
- * <p>Describes the device posture options for a Client VPN endpoint. Device posture options specify the device trust providers that the endpoint uses to evaluate the security posture of connecting devices.</p>
205
- * @public
206
- */
207
- export interface DevicePostureOptions {
174
+ ExcludedInstanceTypes?: string[] | undefined;
208
175
  /**
209
- * <p>The device trust providers to configure for the Client VPN endpoint.</p>
176
+ * <p>Indicates whether current or previous generation instance types are included. The
177
+ * current generation instance types are recommended for use. Current generation instance types are
178
+ * typically the latest two to three generations in each instance family. For more
179
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
180
+ * <i>Amazon EC2 User Guide</i>.</p>
181
+ * <p>For current generation instance types, specify <code>current</code>.</p>
182
+ * <p>For previous generation instance types, specify <code>previous</code>.</p>
183
+ * <p>Default: Current and previous generation instance types</p>
210
184
  * @public
211
185
  */
212
- TrustProviders?: ClientVpnTrustProviderRequest[] | undefined;
186
+ InstanceGenerations?: InstanceGeneration[] | undefined;
213
187
  /**
214
- * <p>Indicates whether device posture evaluation is enabled for the Client VPN endpoint. Specify <code>false</code> to disable device posture, which clears the configured device trust providers.</p>
188
+ * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage higher than
189
+ * an identified Spot price. The identified Spot price is the Spot price of the lowest priced
190
+ * current generation C, M, or R instance type with your specified attributes. If no current
191
+ * generation C, M, or R instance type matches your attributes, then the identified Spot price
192
+ * is from the lowest priced current generation instance types, and failing that, from the
193
+ * lowest priced previous generation instance types that match your attributes. When Amazon EC2
194
+ * selects instance types with your attributes, it will exclude instance types whose Spot
195
+ * price exceeds your specified threshold.</p>
196
+ * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
197
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
198
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
199
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
200
+ * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
201
+ * <note>
202
+ * <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
203
+ * <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you
204
+ * don't specify either, Amazon EC2 will automatically apply optimal price protection to
205
+ * consistently select from a wide range of instance types. To indicate no price protection
206
+ * threshold for Spot Instances, meaning you want to consider all instance types that match your
207
+ * attributes, include one of these parameters and specify a high value, such as
208
+ * <code>999999</code>.</p>
209
+ * </note>
210
+ * <p>Default: <code>100</code>
211
+ * </p>
215
212
  * @public
216
213
  */
217
- Enabled?: boolean | undefined;
218
- }
219
- /**
220
- * <p>The Transit Gateway configuration for a Client VPN endpoint.</p>
221
- * @public
222
- */
223
- export interface TransitGatewayConfigurationInputStructure {
214
+ SpotMaxPricePercentageOverLowestPrice?: number | undefined;
224
215
  /**
225
- * <p>The ID of the Transit Gateway to associate with the Client VPN endpoint.</p>
216
+ * <p>[Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than
217
+ * an identified On-Demand price. The identified On-Demand price is the price of the lowest
218
+ * priced current generation C, M, or R instance type with your specified attributes. When
219
+ * Amazon EC2 selects instance types with your attributes, it will exclude instance types whose
220
+ * price exceeds your specified threshold.</p>
221
+ * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
222
+ * <p>To indicate no price protection threshold, specify a high value, such as
223
+ * <code>999999</code>.</p>
224
+ * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
225
+ * <note>
226
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
227
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
228
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
229
+ * </note>
230
+ * <p>Default: <code>20</code>
231
+ * </p>
226
232
  * @public
227
233
  */
228
- TransitGatewayId?: string | undefined;
234
+ OnDemandMaxPricePercentageOverLowestPrice?: number | undefined;
229
235
  /**
230
- * <p>The Availability Zone names for the Transit Gateway association. You can specify up to the maximum number of Availability Zones supported by the Transit Gateway. You cannot specify both <code>AvailabilityZones</code> and <code>AvailabilityZoneIds</code>.</p>
236
+ * <p>Indicates whether bare metal instance types must be included, excluded, or required.</p>
237
+ * <ul>
238
+ * <li>
239
+ * <p>To include bare metal instance types, specify <code>included</code>.</p>
240
+ * </li>
241
+ * <li>
242
+ * <p>To require only bare metal instance types, specify <code>required</code>.</p>
243
+ * </li>
244
+ * <li>
245
+ * <p>To exclude bare metal instance types, specify <code>excluded</code>.</p>
246
+ * </li>
247
+ * </ul>
248
+ * <p>Default: <code>excluded</code>
249
+ * </p>
231
250
  * @public
232
251
  */
233
- AvailabilityZones?: string[] | undefined;
252
+ BareMetal?: BareMetal | undefined;
234
253
  /**
235
- * <p>The Availability Zone IDs for the Transit Gateway association. You can specify up to the maximum number of Availability Zones supported by the Transit Gateway. You cannot specify both <code>AvailabilityZones</code> and <code>AvailabilityZoneIds</code>.</p>
254
+ * <p>Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see
255
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable performance instances</a>.</p>
256
+ * <ul>
257
+ * <li>
258
+ * <p>To include burstable performance instance types, specify <code>included</code>.</p>
259
+ * </li>
260
+ * <li>
261
+ * <p>To require only burstable performance instance types, specify <code>required</code>.</p>
262
+ * </li>
263
+ * <li>
264
+ * <p>To exclude burstable performance instance types, specify <code>excluded</code>.</p>
265
+ * </li>
266
+ * </ul>
267
+ * <p>Default: <code>excluded</code>
268
+ * </p>
236
269
  * @public
237
270
  */
238
- AvailabilityZoneIds?: string[] | undefined;
239
- }
240
- /**
241
- * @public
242
- */
243
- export interface CreateClientVpnEndpointRequest {
271
+ BurstablePerformance?: BurstablePerformance | undefined;
244
272
  /**
245
- * <p>The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.</p>
273
+ * <p>Indicates whether instance types must support hibernation for On-Demand Instances.</p>
274
+ * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a>.</p>
275
+ * <p>Default: <code>false</code>
276
+ * </p>
246
277
  * @public
247
278
  */
248
- ClientCidrBlock?: string | undefined;
279
+ RequireHibernateSupport?: boolean | undefined;
249
280
  /**
250
- * <p>The ARN of the server certificate. For more information, see
251
- * the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
281
+ * <p>The minimum and maximum number of network interfaces.</p>
282
+ * <p>Default: No minimum or maximum limits</p>
252
283
  * @public
253
284
  */
254
- ServerCertificateArn: string | undefined;
285
+ NetworkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
255
286
  /**
256
- * <p>Information about the authentication method to be used to authenticate clients.</p>
287
+ * <p>Indicates whether instance types with instance store volumes are included, excluded, or required. For more information,
288
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon
289
+ * EC2 instance store</a> in the <i>Amazon EC2 User Guide</i>.</p>
290
+ * <ul>
291
+ * <li>
292
+ * <p>To include instance types with instance store volumes, specify
293
+ * <code>included</code>.</p>
294
+ * </li>
295
+ * <li>
296
+ * <p>To require only instance types with instance store volumes, specify
297
+ * <code>required</code>.</p>
298
+ * </li>
299
+ * <li>
300
+ * <p>To exclude instance types with instance store volumes, specify
301
+ * <code>excluded</code>.</p>
302
+ * </li>
303
+ * </ul>
304
+ * <p>Default: <code>included</code>
305
+ * </p>
257
306
  * @public
258
307
  */
259
- AuthenticationOptions: ClientVpnAuthenticationRequest[] | undefined;
308
+ LocalStorage?: LocalStorage | undefined;
260
309
  /**
261
- * <p>Information about the client connection logging options.</p>
262
- * <p>If you enable client connection logging, data about client connections is sent to a
263
- * Cloudwatch Logs log stream. The following information is logged:</p>
310
+ * <p>The type of local storage that is required.</p>
264
311
  * <ul>
265
312
  * <li>
266
- * <p>Client connection requests</p>
313
+ * <p>For instance types with hard disk drive (HDD) storage, specify <code>hdd</code>.</p>
267
314
  * </li>
268
315
  * <li>
269
- * <p>Client connection results (successful and unsuccessful)</p>
316
+ * <p>For instance types with solid state drive (SSD) storage, specify
317
+ * <code>ssd</code>.</p>
318
+ * </li>
319
+ * </ul>
320
+ * <p>Default: <code>hdd</code> and <code>ssd</code>
321
+ * </p>
322
+ * @public
323
+ */
324
+ LocalStorageTypes?: LocalStorageType[] | undefined;
325
+ /**
326
+ * <p>The minimum and maximum amount of total local storage, in GB.</p>
327
+ * <p>Default: No minimum or maximum limits</p>
328
+ * @public
329
+ */
330
+ TotalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
331
+ /**
332
+ * <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
333
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
334
+ * EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
335
+ * <p>Default: No minimum or maximum limits</p>
336
+ * @public
337
+ */
338
+ BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
339
+ /**
340
+ * <p>The accelerator types that must be on the instance type.</p>
341
+ * <ul>
342
+ * <li>
343
+ * <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p>
270
344
  * </li>
271
345
  * <li>
272
- * <p>Reasons for unsuccessful client connection requests</p>
346
+ * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
273
347
  * </li>
274
348
  * <li>
275
- * <p>Client connection termination time</p>
349
+ * <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
350
+ * </li>
351
+ * <li>
352
+ * <p>For instance types with Media accelerators, specify <code>media</code>.</p>
276
353
  * </li>
277
354
  * </ul>
355
+ * <p>Default: Any accelerator type</p>
278
356
  * @public
279
357
  */
280
- ConnectionLogOptions: ConnectionLogOptions | undefined;
358
+ AcceleratorTypes?: AcceleratorType[] | undefined;
281
359
  /**
282
- * <p>Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can
283
- * have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.</p>
360
+ * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on
361
+ * an instance.</p>
362
+ * <p>To exclude accelerator-enabled instance types, set <code>Max</code> to <code>0</code>.</p>
363
+ * <p>Default: No minimum or maximum limits</p>
284
364
  * @public
285
365
  */
286
- DnsServers?: string[] | undefined;
366
+ AcceleratorCount?: AcceleratorCountRequest | undefined;
367
+ /**
368
+ * <p>Indicates whether instance types must have accelerators by specific manufacturers.</p>
369
+ * <ul>
370
+ * <li>
371
+ * <p>For instance types with Amazon Web Services devices, specify <code>amazon-web-services</code>.</p>
372
+ * </li>
373
+ * <li>
374
+ * <p>For instance types with AMD devices, specify <code>amd</code>.</p>
375
+ * </li>
376
+ * <li>
377
+ * <p>For instance types with Habana devices, specify <code>habana</code>.</p>
378
+ * </li>
379
+ * <li>
380
+ * <p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p>
381
+ * </li>
382
+ * <li>
383
+ * <p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p>
384
+ * </li>
385
+ * </ul>
386
+ * <p>Default: Any manufacturer</p>
387
+ * @public
388
+ */
389
+ AcceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
390
+ /**
391
+ * <p>The accelerators that must be on the instance type.</p>
392
+ * <ul>
393
+ * <li>
394
+ * <p>For instance types with NVIDIA A10G GPUs, specify <code>a10g</code>.</p>
395
+ * </li>
396
+ * <li>
397
+ * <p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p>
398
+ * </li>
399
+ * <li>
400
+ * <p>For instance types with NVIDIA H100 GPUs, specify <code>h100</code>.</p>
401
+ * </li>
402
+ * <li>
403
+ * <p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p>
404
+ * </li>
405
+ * <li>
406
+ * <p>For instance types with Amazon Web Services Inferentia2 chips, specify <code>inferentia2</code>.</p>
407
+ * </li>
408
+ * <li>
409
+ * <p>For instance types with Habana Gaudi HL-205 GPUs, specify <code>gaudi-hl-205</code>.</p>
410
+ * </li>
411
+ * <li>
412
+ * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
413
+ * </li>
414
+ * <li>
415
+ * <p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p>
416
+ * </li>
417
+ * <li>
418
+ * <p>For instance types with NVIDIA L4 GPUs, specify <code>l4</code>.</p>
419
+ * </li>
420
+ * <li>
421
+ * <p>For instance types with NVIDIA L40S GPUs, specify <code>l40s</code>.</p>
422
+ * </li>
423
+ * <li>
424
+ * <p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p>
425
+ * </li>
426
+ * <li>
427
+ * <p>For instance types with AMD Radeon Pro V520 GPUs, specify <code>radeon-pro-v520</code>.</p>
428
+ * </li>
429
+ * <li>
430
+ * <p>For instance types with Amazon Web Services Trainium chips, specify <code>trainium</code>.</p>
431
+ * </li>
432
+ * <li>
433
+ * <p>For instance types with Amazon Web Services Trainium2 chips, specify <code>trainium2</code>.</p>
434
+ * </li>
435
+ * <li>
436
+ * <p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p>
437
+ * </li>
438
+ * <li>
439
+ * <p>For instance types with NVIDIA T4G GPUs, specify <code>t4g</code>.</p>
440
+ * </li>
441
+ * <li>
442
+ * <p>For instance types with Xilinx U30 cards, specify <code>u30</code>.</p>
443
+ * </li>
444
+ * <li>
445
+ * <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
446
+ * </li>
447
+ * <li>
448
+ * <p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p>
449
+ * </li>
450
+ * </ul>
451
+ * <p>Default: Any accelerator</p>
452
+ * @public
453
+ */
454
+ AcceleratorNames?: AcceleratorName[] | undefined;
455
+ /**
456
+ * <p>The minimum and maximum amount of total accelerator memory, in MiB.</p>
457
+ * <p>Default: No minimum or maximum limits</p>
458
+ * @public
459
+ */
460
+ AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
461
+ /**
462
+ * <p>The minimum and maximum amount of baseline network bandwidth, in gigabits per second
463
+ * (Gbps). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html">Amazon EC2 instance network bandwidth</a> in the <i>Amazon EC2 User Guide</i>.</p>
464
+ * <p>Default: No minimum or maximum limits</p>
465
+ * @public
466
+ */
467
+ NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
468
+ /**
469
+ * <p>The instance types to apply your specified attributes against. All other instance types
470
+ * are ignored, even if they match your specified attributes.</p>
471
+ * <p>You can use strings with one or more wild cards, represented by
472
+ * an asterisk (<code>*</code>), to allow an instance type, size, or generation. The
473
+ * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
474
+ * <code>r*</code>, <code>*3*</code>.</p>
475
+ * <p>For example, if you specify <code>c5*</code>,Amazon EC2 will allow the entire C5 instance
476
+ * family, which includes all C5a and C5n instance types. If you specify
477
+ * <code>m5a.*</code>, Amazon EC2 will allow all the M5a instance types, but not the M5n
478
+ * instance types.</p>
479
+ * <note>
480
+ * <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify <code>ExcludedInstanceTypes</code>.</p>
481
+ * </note>
482
+ * <p>Default: All instance types</p>
483
+ * @public
484
+ */
485
+ AllowedInstanceTypes?: string[] | undefined;
486
+ /**
487
+ * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an
488
+ * identified On-Demand price. The identified On-Demand price is the price of the lowest
489
+ * priced current generation C, M, or R instance type with your specified attributes. If no
490
+ * current generation C, M, or R instance type matches your attributes, then the identified
491
+ * price is from the lowest priced current generation instance types, and failing that, from
492
+ * the lowest priced previous generation instance types that match your attributes. When Amazon EC2
493
+ * selects instance types with your attributes, it will exclude instance types whose price
494
+ * exceeds your specified threshold.</p>
495
+ * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
496
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
497
+ * <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per
498
+ * memory price instead of the per instance price.</p>
499
+ * <note>
500
+ * <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
501
+ * <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you
502
+ * don't specify either, Amazon EC2 will automatically apply optimal price protection to
503
+ * consistently select from a wide range of instance types. To indicate no price protection
504
+ * threshold for Spot Instances, meaning you want to consider all instance types that match your
505
+ * attributes, include one of these parameters and specify a high value, such as
506
+ * <code>999999</code>.</p>
507
+ * </note>
508
+ * @public
509
+ */
510
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
511
+ /**
512
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
513
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
514
+ * baseline to guide instance type selection, but there is no guarantee that the selected
515
+ * instance types will always exceed the baseline for every application. Currently, this
516
+ * parameter only supports CPU performance as a baseline performance factor. For more
517
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection">Performance protection</a> in the <i>Amazon EC2 User Guide</i>.</p>
518
+ * @public
519
+ */
520
+ BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
521
+ /**
522
+ * <p>Specifies whether instance types must support encrypting in-transit traffic between
523
+ * instances. For more information, including the supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit">Encryption in
524
+ * transit</a> in the <i>Amazon EC2 User Guide</i>.</p>
525
+ * <p>Default: <code>false</code>
526
+ * </p>
527
+ * @public
528
+ */
529
+ RequireEncryptionInTransit?: boolean | undefined;
530
+ }
531
+ /**
532
+ * <p>Information about an instance type to use in a Capacity Reservation Fleet.</p>
533
+ * @public
534
+ */
535
+ export interface ReservationFleetInstanceSpecification {
536
+ /**
537
+ * <p>The instance type for which the Capacity Reservation Fleet reserves capacity.</p>
538
+ * @public
539
+ */
540
+ InstanceType?: _InstanceType | undefined;
541
+ /**
542
+ * <p>The type of operating system for which the Capacity Reservation Fleet reserves
543
+ * capacity.</p>
544
+ * @public
545
+ */
546
+ InstancePlatform?: CapacityReservationInstancePlatform | undefined;
547
+ /**
548
+ * <p>The number of capacity units provided by the specified instance type. This value,
549
+ * together with the total target capacity that you specify for the Fleet determine the
550
+ * number of instances for which the Fleet reserves capacity. Both values are based on
551
+ * units that make sense for your workload. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
552
+ * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
553
+ * @public
554
+ */
555
+ Weight?: number | undefined;
556
+ /**
557
+ * <p>The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A
558
+ * Capacity Reservation Fleet can't span Availability Zones. All instance type
559
+ * specifications that you specify for the Fleet must use the same Availability
560
+ * Zone.</p>
561
+ * @public
562
+ */
563
+ AvailabilityZone?: string | undefined;
564
+ /**
565
+ * <p>The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the
566
+ * capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type
567
+ * specifications that you specify for the Fleet must use the same Availability
568
+ * Zone.</p>
569
+ * @public
570
+ */
571
+ AvailabilityZoneId?: string | undefined;
572
+ /**
573
+ * <p>Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances
574
+ * types. This optimization provides dedicated throughput to Amazon EBS and an
575
+ * optimized configuration stack to provide optimal I/O performance. This optimization
576
+ * isn't available with all instance types. Additional usage charges apply when using
577
+ * EBS-optimized instance types.</p>
578
+ * @public
579
+ */
580
+ EbsOptimized?: boolean | undefined;
581
+ /**
582
+ * <p>The priority to assign to the instance type. This value is used to determine which of
583
+ * the instance types specified for the Fleet should be prioritized for use. A lower value
584
+ * indicates a high priority. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
585
+ * priority</a> in the <i>Amazon EC2 User Guide</i>.</p>
586
+ * @public
587
+ */
588
+ Priority?: number | undefined;
589
+ }
590
+ /**
591
+ * @public
592
+ */
593
+ export interface CreateCapacityReservationFleetRequest {
594
+ /**
595
+ * <p>The strategy used by the Capacity Reservation Fleet to determine which of the
596
+ * specified instance types to use. Currently, only the <code>prioritized</code> allocation
597
+ * strategy is supported. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation
598
+ * strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
599
+ * <p>Valid values: <code>prioritized</code>
600
+ * </p>
601
+ * @public
602
+ */
603
+ AllocationStrategy?: string | undefined;
604
+ /**
605
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensure Idempotency</a>.</p>
606
+ * @public
607
+ */
608
+ ClientToken?: string | undefined;
609
+ /**
610
+ * <p>Information about the instance types for which to reserve the capacity.</p>
611
+ * @public
612
+ */
613
+ InstanceTypeSpecifications?: ReservationFleetInstanceSpecification[] | undefined;
614
+ /**
615
+ * <p>Reserved for internal use.</p>
616
+ * @public
617
+ */
618
+ InstanceRequirements?: InstanceRequirementsRequest | undefined;
287
619
  /**
288
- * <p>The transport protocol to be used by the VPN session.</p>
289
- * <p>Default value: <code>udp</code>
290
- * </p>
620
+ * <p>Reserved for internal use.</p>
291
621
  * @public
292
622
  */
293
- TransportProtocol?: TransportProtocol | undefined;
623
+ AvailabilityZone?: string | undefined;
294
624
  /**
295
- * <p>The port number to assign to the Client VPN endpoint for TCP and UDP traffic.</p>
296
- * <p>Valid Values: <code>443</code> | <code>1194</code>
297
- * </p>
298
- * <p>Default Value: <code>443</code>
299
- * </p>
625
+ * <p>Reserved for internal use.</p>
300
626
  * @public
301
627
  */
302
- VpnPort?: number | undefined;
628
+ AvailabilityZoneId?: string | undefined;
303
629
  /**
304
- * <p>A brief description of the Client VPN endpoint.</p>
630
+ * <p>Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in
631
+ * the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the
632
+ * following tenancy settings:</p>
633
+ * <ul>
634
+ * <li>
635
+ * <p>
636
+ * <code>default</code> - The Capacity Reservation Fleet is created on hardware
637
+ * that is shared with other Amazon Web Services accounts.</p>
638
+ * </li>
639
+ * <li>
640
+ * <p>
641
+ * <code>dedicated</code> - The Capacity Reservations are created on single-tenant
642
+ * hardware that is dedicated to a single Amazon Web Services account.</p>
643
+ * </li>
644
+ * </ul>
305
645
  * @public
306
646
  */
307
- Description?: string | undefined;
647
+ Tenancy?: FleetCapacityReservationTenancy | undefined;
308
648
  /**
309
- * <p>Indicates whether split-tunnel is enabled on the Client VPN endpoint.</p>
310
- * <p>By default, split-tunnel on a VPN endpoint is disabled.</p>
311
- * <p>For information about split-tunnel VPN endpoints, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html">Split-tunnel Client VPN endpoint</a> in the
312
- * <i>Client VPN Administrator Guide</i>.</p>
649
+ * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet.
650
+ * This value, together with the instance type weights that you assign to each instance
651
+ * type used by the Fleet determine the number of instances for which the Fleet reserves
652
+ * capacity. Both values are based on units that make sense for your workload. For more
653
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
654
+ * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
313
655
  * @public
314
656
  */
315
- SplitTunnel?: boolean | undefined;
657
+ TotalTargetCapacity: number | undefined;
316
658
  /**
317
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
659
+ * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity
660
+ * Reservation Fleet expires, its state changes to <code>expired</code> and all of the
661
+ * Capacity Reservations in the Fleet expire.</p>
662
+ * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For
663
+ * example, if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity
664
+ * Reservation Fleet is guaranteed to expire between <code>13:30:55</code> and
665
+ * <code>14:30:55</code> on <code>5/31/2019</code>. </p>
318
666
  * @public
319
667
  */
320
- DryRun?: boolean | undefined;
668
+ EndDate?: Date | undefined;
321
669
  /**
322
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
323
- * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
670
+ * <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts.
671
+ * All Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
672
+ * <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching
673
+ * criteria only. This means that instances that have matching attributes (instance type,
674
+ * platform, and Availability Zone) run in the Capacity Reservations automatically.
675
+ * Instances do not need to explicitly target a Capacity Reservation Fleet to use its
676
+ * reserved capacity.</p>
324
677
  * @public
325
678
  */
326
- ClientToken?: string | undefined;
679
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
327
680
  /**
328
- * <p>The tags to apply to the Client VPN endpoint during creation.</p>
681
+ * <p>The tags to assign to the Capacity Reservation Fleet. The tags are automatically
682
+ * assigned to the Capacity Reservations in the Fleet.</p>
329
683
  * @public
330
684
  */
331
685
  TagSpecifications?: TagSpecification[] | undefined;
332
686
  /**
333
- * <p>The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.</p>
687
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
334
688
  * @public
335
689
  */
336
- SecurityGroupIds?: string[] | undefined;
690
+ DryRun?: boolean | undefined;
691
+ }
692
+ /**
693
+ * <p>Information about a Capacity Reservation in a Capacity Reservation Fleet.</p>
694
+ * @public
695
+ */
696
+ export interface FleetCapacityReservation {
337
697
  /**
338
- * <p>The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.</p>
698
+ * <p>The ID of the Capacity Reservation.</p>
339
699
  * @public
340
700
  */
341
- VpcId?: string | undefined;
701
+ CapacityReservationId?: string | undefined;
342
702
  /**
343
- * <p>Specify whether to enable the self-service portal for the Client VPN endpoint.</p>
344
- * <p>Default Value: <code>enabled</code>
345
- * </p>
703
+ * <p>The ID of the Availability Zone in which the Capacity Reservation reserves
704
+ * capacity.</p>
346
705
  * @public
347
706
  */
348
- SelfServicePortal?: SelfServicePortal | undefined;
707
+ AvailabilityZoneId?: string | undefined;
349
708
  /**
350
- * <p>The options for managing connection authorization for new client connections.</p>
709
+ * <p>The instance type for which the Capacity Reservation reserves capacity.</p>
351
710
  * @public
352
711
  */
353
- ClientConnectOptions?: ClientConnectOptions | undefined;
712
+ InstanceType?: _InstanceType | undefined;
354
713
  /**
355
- * <p>The maximum VPN session duration time in hours.</p>
356
- * <p>Valid values: <code>8 | 10 | 12 | 24</code>
357
- * </p>
358
- * <p>Default value: <code>24</code>
359
- * </p>
714
+ * <p>The type of operating system for which the Capacity Reservation reserves
715
+ * capacity.</p>
360
716
  * @public
361
717
  */
362
- SessionTimeoutHours?: number | undefined;
718
+ InstancePlatform?: CapacityReservationInstancePlatform | undefined;
363
719
  /**
364
- * <p>Options for enabling a customizable text banner that will be displayed on
365
- * Amazon Web Services provided clients when a VPN session is established.</p>
720
+ * <p>The Availability Zone in which the Capacity Reservation reserves capacity.</p>
366
721
  * @public
367
722
  */
368
- ClientLoginBannerOptions?: ClientLoginBannerOptions | undefined;
723
+ AvailabilityZone?: string | undefined;
369
724
  /**
370
- * <p>Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T
371
- * his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.</p>
372
- * <p>Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table,
373
- * reverting it back to the expected route configurations.</p>
725
+ * <p>The total number of instances for which the Capacity Reservation reserves
726
+ * capacity.</p>
374
727
  * @public
375
728
  */
376
- ClientRouteEnforcementOptions?: ClientRouteEnforcementOptions | undefined;
729
+ TotalInstanceCount?: number | undefined;
377
730
  /**
378
- * <p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically.
379
- * The default value is <code>true</code>.</p>
731
+ * <p>The number of capacity units fulfilled by the Capacity Reservation. For more
732
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
733
+ * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
380
734
  * @public
381
735
  */
382
- DisconnectOnSessionTimeout?: boolean | undefined;
736
+ FulfilledCapacity?: number | undefined;
383
737
  /**
384
- * <p>The IP address type for the Client VPN endpoint. Valid values are <code>ipv4</code>
385
- * (default) for IPv4 addressing only, <code>ipv6</code> for IPv6 addressing only, or <code>dual-stack</code> for both IPv4 and IPv6
386
- * addressing. When set to <code>dual-stack,</code> clients can connect to the endpoint
387
- * using either IPv4 or IPv6 addresses..</p>
738
+ * <p>Indicates whether the Capacity Reservation reserves capacity for EBS-optimized
739
+ * instance types.</p>
388
740
  * @public
389
741
  */
390
- EndpointIpAddressType?: EndpointIpAddressType | undefined;
742
+ EbsOptimized?: boolean | undefined;
391
743
  /**
392
- * <p>The IP address type for traffic within the Client VPN tunnel. Valid values are <code>ipv4</code> (default) for IPv4 traffic only, <code>ipv6</code> for IPv6 addressing only, or <code>dual-stack</code> for both IPv4 and IPv6 traffic. When set to <code>dual-stack</code>, clients can access both IPv4 and IPv6 resources through the VPN .</p>
744
+ * <p>The date and time at which the Capacity Reservation was created.</p>
393
745
  * @public
394
746
  */
395
- TrafficIpAddressType?: TrafficIpAddressType | undefined;
747
+ CreateDate?: Date | undefined;
396
748
  /**
397
- * <p>The Transit Gateway configuration for the Client VPN endpoint. Use this parameter to associate the endpoint with a Transit Gateway instead of a VPC. You cannot specify both <code>TransitGatewayConfiguration</code> and <code>VpcId</code>/<code>SecurityGroupIds</code>.</p>
749
+ * <p>The weight of the instance type in the Capacity Reservation Fleet. For more
750
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight">Instance type
751
+ * weight</a> in the <i>Amazon EC2 User Guide</i>.</p>
398
752
  * @public
399
753
  */
400
- TransitGatewayConfiguration?: TransitGatewayConfigurationInputStructure | undefined;
754
+ Weight?: number | undefined;
401
755
  /**
402
- * <p>The device posture options for the Client VPN endpoint. Use this parameter to specify the device trust providers that the endpoint uses to evaluate the security posture of connecting devices.</p>
756
+ * <p>The priority of the instance type in the Capacity Reservation Fleet. For more
757
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
758
+ * priority</a> in the <i>Amazon EC2 User Guide</i>.</p>
403
759
  * @public
404
760
  */
405
- DevicePostureOptions?: DevicePostureOptions | undefined;
761
+ Priority?: number | undefined;
406
762
  }
407
763
  /**
408
- * <p>Describes the state of a Client VPN endpoint.</p>
409
764
  * @public
410
765
  */
411
- export interface ClientVpnEndpointStatus {
766
+ export interface CreateCapacityReservationFleetResult {
412
767
  /**
413
- * <p>The state of the Client VPN endpoint. Possible states include:</p>
414
- * <ul>
415
- * <li>
416
- * <p>
417
- * <code>pending-associate</code> - The Client VPN endpoint has been created but no target networks
418
- * have been associated. The Client VPN endpoint cannot accept connections.</p>
419
- * </li>
420
- * <li>
421
- * <p>
422
- * <code>available</code> - The Client VPN endpoint has been created and a target network has been
423
- * associated. The Client VPN endpoint can accept connections.</p>
424
- * </li>
425
- * <li>
426
- * <p>
427
- * <code>deleting</code> - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept
428
- * connections.</p>
429
- * </li>
430
- * <li>
431
- * <p>
432
- * <code>deleted</code> - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept
433
- * connections.</p>
434
- * </li>
435
- * <li>
436
- * <p>
437
- * <code>pending</code> - The Client VPN endpoint has been created with a Transit Gateway configuration and is waiting for the Transit Gateway attachment to be accepted. The Client VPN endpoint cannot accept connections.</p>
438
- * </li>
439
- * </ul>
768
+ * <p>The ID of the Capacity Reservation Fleet.</p>
440
769
  * @public
441
770
  */
442
- Code?: ClientVpnEndpointStatusCode | undefined;
771
+ CapacityReservationFleetId?: string | undefined;
443
772
  /**
444
- * <p>A message about the status of the Client VPN endpoint.</p>
773
+ * <p>The status of the Capacity Reservation Fleet.</p>
445
774
  * @public
446
775
  */
447
- Message?: string | undefined;
448
- }
449
- /**
450
- * @public
451
- */
452
- export interface CreateClientVpnEndpointResult {
776
+ State?: CapacityReservationFleetState | undefined;
453
777
  /**
454
- * <p>The ID of the Client VPN endpoint.</p>
778
+ * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves
779
+ * capacity.</p>
455
780
  * @public
456
781
  */
457
- ClientVpnEndpointId?: string | undefined;
782
+ TotalTargetCapacity?: number | undefined;
458
783
  /**
459
- * <p>The current state of the Client VPN endpoint.</p>
784
+ * <p>The requested capacity units that have been successfully reserved.</p>
460
785
  * @public
461
786
  */
462
- Status?: ClientVpnEndpointStatus | undefined;
787
+ TotalFulfilledCapacity?: number | undefined;
463
788
  /**
464
- * <p>The DNS name to be used by clients when establishing their VPN session.</p>
789
+ * <p>The instance matching criteria for the Capacity Reservation Fleet.</p>
465
790
  * @public
466
791
  */
467
- DnsName?: string | undefined;
468
- }
469
- /**
470
- * @public
471
- */
472
- export interface CreateClientVpnRouteRequest {
792
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
473
793
  /**
474
- * <p>The ID of the Client VPN endpoint to which to add the route.</p>
794
+ * <p>The allocation strategy used by the Capacity Reservation Fleet.</p>
475
795
  * @public
476
796
  */
477
- ClientVpnEndpointId: string | undefined;
797
+ AllocationStrategy?: string | undefined;
478
798
  /**
479
- * <p>The IPv4 address range, in CIDR notation, of the route destination. For example:</p>
480
- * <ul>
481
- * <li>
482
- * <p>To add a route for Internet access, enter <code>0.0.0.0/0</code>
483
- * </p>
484
- * </li>
485
- * <li>
486
- * <p>To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range</p>
487
- * </li>
488
- * <li>
489
- * <p>To add a route for an on-premises network, enter the Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range</p>
490
- * </li>
491
- * <li>
492
- * <p>To add a route for the local network, enter the client CIDR range</p>
493
- * </li>
494
- * </ul>
799
+ * <p>The date and time at which the Capacity Reservation Fleet was created.</p>
495
800
  * @public
496
801
  */
497
- DestinationCidrBlock: string | undefined;
802
+ CreateTime?: Date | undefined;
498
803
  /**
499
- * <p>The ID of the subnet through which you want to route traffic. The specified subnet must be
500
- * an existing target network of the Client VPN endpoint.</p>
501
- * <p>Alternatively, if you're adding a route for the local network, specify <code>local</code>.</p>
502
- * <p>This parameter is required for VPC-based Client VPN endpoints. For Transit Gateway-based endpoints, this parameter is not required.</p>
804
+ * <p>The date and time at which the Capacity Reservation Fleet expires.</p>
503
805
  * @public
504
806
  */
505
- TargetVpcSubnetId?: string | undefined;
807
+ EndDate?: Date | undefined;
506
808
  /**
507
- * <p>A brief description of the route.</p>
809
+ * <p>Indicates the tenancy of Capacity Reservation Fleet.</p>
508
810
  * @public
509
811
  */
510
- Description?: string | undefined;
812
+ Tenancy?: FleetCapacityReservationTenancy | undefined;
511
813
  /**
512
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
513
- * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
814
+ * <p>Information about the individual Capacity Reservations in the Capacity Reservation
815
+ * Fleet.</p>
514
816
  * @public
515
817
  */
516
- ClientToken?: string | undefined;
818
+ FleetCapacityReservations?: FleetCapacityReservation[] | undefined;
517
819
  /**
518
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
820
+ * <p>The tags assigned to the Capacity Reservation Fleet.</p>
519
821
  * @public
520
822
  */
521
- DryRun?: boolean | undefined;
823
+ Tags?: Tag[] | undefined;
522
824
  }
523
825
  /**
524
- * <p>Describes the state of a Client VPN endpoint route.</p>
525
826
  * @public
526
827
  */
527
- export interface ClientVpnRouteStatus {
828
+ export interface CreateCarrierGatewayRequest {
528
829
  /**
529
- * <p>The state of the Client VPN endpoint route.</p>
830
+ * <p>The ID of the VPC to associate with the carrier gateway.</p>
530
831
  * @public
531
832
  */
532
- Code?: ClientVpnRouteStatusCode | undefined;
833
+ VpcId: string | undefined;
533
834
  /**
534
- * <p>A message about the status of the Client VPN endpoint route, if applicable.</p>
835
+ * <p>The tags to associate with the carrier gateway.</p>
535
836
  * @public
536
837
  */
537
- Message?: string | undefined;
538
- }
539
- /**
540
- * @public
541
- */
542
- export interface CreateClientVpnRouteResult {
838
+ TagSpecifications?: TagSpecification[] | undefined;
543
839
  /**
544
- * <p>The current state of the route.</p>
840
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
841
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
842
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
545
843
  * @public
546
844
  */
547
- Status?: ClientVpnRouteStatus | undefined;
845
+ DryRun?: boolean | undefined;
846
+ /**
847
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
848
+ * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure
849
+ * idempotency</a>.</p>
850
+ * @public
851
+ */
852
+ ClientToken?: string | undefined;
548
853
  }
549
854
  /**
855
+ * <p>Describes a carrier gateway.</p>
550
856
  * @public
551
857
  */
552
- export interface CreateCoipCidrRequest {
858
+ export interface CarrierGateway {
553
859
  /**
554
- * <p>
555
- * A customer-owned IP address range to create.
556
- * </p>
860
+ * <p>The ID of the carrier gateway.</p>
557
861
  * @public
558
862
  */
559
- Cidr: string | undefined;
863
+ CarrierGatewayId?: string | undefined;
560
864
  /**
561
- * <p>
562
- * The ID of the address pool.
563
- * </p>
865
+ * <p>The ID of the VPC associated with the carrier gateway.</p>
564
866
  * @public
565
867
  */
566
- CoipPoolId: string | undefined;
868
+ VpcId?: string | undefined;
567
869
  /**
568
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
569
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
570
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
870
+ * <p>The state of the carrier gateway.</p>
571
871
  * @public
572
872
  */
573
- DryRun?: boolean | undefined;
873
+ State?: CarrierGatewayState | undefined;
874
+ /**
875
+ * <p>The Amazon Web Services account ID of the owner of the carrier gateway.</p>
876
+ * @public
877
+ */
878
+ OwnerId?: string | undefined;
879
+ /**
880
+ * <p>The tags assigned to the carrier gateway.</p>
881
+ * @public
882
+ */
883
+ Tags?: Tag[] | undefined;
574
884
  }
575
885
  /**
576
- * <p>
577
- * Information about a customer-owned IP address range.
578
- * </p>
579
886
  * @public
580
887
  */
581
- export interface CoipCidr {
888
+ export interface CreateCarrierGatewayResult {
582
889
  /**
583
- * <p>
584
- * An address range in a customer-owned IP address space.
585
- * </p>
890
+ * <p>Information about the carrier gateway.</p>
586
891
  * @public
587
892
  */
588
- Cidr?: string | undefined;
893
+ CarrierGateway?: CarrierGateway | undefined;
894
+ }
895
+ /**
896
+ * <p>Describes the Active Directory to be used for client authentication.</p>
897
+ * @public
898
+ */
899
+ export interface DirectoryServiceAuthenticationRequest {
589
900
  /**
590
- * <p>
591
- * The ID of the address pool.
592
- * </p>
901
+ * <p>The ID of the Active Directory to be used for authentication.</p>
593
902
  * @public
594
903
  */
595
- CoipPoolId?: string | undefined;
904
+ DirectoryId?: string | undefined;
905
+ }
906
+ /**
907
+ * <p>The IAM SAML identity provider used for federated authentication.</p>
908
+ * @public
909
+ */
910
+ export interface FederatedAuthenticationRequest {
596
911
  /**
597
- * <p>
598
- * The ID of the local gateway route table.
599
- * </p>
912
+ * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider.</p>
600
913
  * @public
601
914
  */
602
- LocalGatewayRouteTableId?: string | undefined;
915
+ SAMLProviderArn?: string | undefined;
916
+ /**
917
+ * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.</p>
918
+ * @public
919
+ */
920
+ SelfServiceSAMLProviderArn?: string | undefined;
603
921
  }
604
922
  /**
923
+ * <p>Information about the client certificate to be used for authentication.</p>
605
924
  * @public
606
925
  */
607
- export interface CreateCoipCidrResult {
926
+ export interface CertificateAuthenticationRequest {
608
927
  /**
609
- * <p>
610
- * Information about a range of customer-owned IP addresses.
611
- * </p>
928
+ * <p>The ARN of the client certificate. The certificate must be signed by a certificate
929
+ * authority (CA) and it must be provisioned in Certificate Manager (ACM).</p>
612
930
  * @public
613
931
  */
614
- CoipCidr?: CoipCidr | undefined;
932
+ ClientRootCertificateChainArn?: string | undefined;
615
933
  }
616
934
  /**
935
+ * <p>Describes the authentication method to be used by a Client VPN endpoint. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication">Authentication</a>
936
+ * in the <i>Client VPN Administrator Guide</i>.</p>
617
937
  * @public
618
938
  */
619
- export interface CreateCoipPoolRequest {
939
+ export interface ClientVpnAuthenticationRequest {
620
940
  /**
621
- * <p>
622
- * The ID of the local gateway route table.
623
- * </p>
941
+ * <p>The type of client authentication to be used.</p>
624
942
  * @public
625
943
  */
626
- LocalGatewayRouteTableId: string | undefined;
944
+ Type?: ClientVpnAuthenticationType | undefined;
627
945
  /**
628
- * <p>
629
- * The tags to assign to the CoIP address pool.
630
- * </p>
946
+ * <p>Information about the Active Directory to be used, if applicable. You must provide this information if <b>Type</b> is <code>directory-service-authentication</code>.</p>
631
947
  * @public
632
948
  */
633
- TagSpecifications?: TagSpecification[] | undefined;
949
+ ActiveDirectory?: DirectoryServiceAuthenticationRequest | undefined;
634
950
  /**
635
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
636
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
637
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
951
+ * <p>Information about the authentication certificates to be used, if applicable. You must provide this information if <b>Type</b> is <code>certificate-authentication</code>.</p>
638
952
  * @public
639
953
  */
640
- DryRun?: boolean | undefined;
954
+ MutualAuthentication?: CertificateAuthenticationRequest | undefined;
955
+ /**
956
+ * <p>Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if <b>Type</b> is <code>federated-authentication</code>.</p>
957
+ * @public
958
+ */
959
+ FederatedAuthentication?: FederatedAuthenticationRequest | undefined;
641
960
  }
642
961
  /**
643
- * <p>Describes a customer-owned address pool.</p>
962
+ * <p>The options for managing connection authorization for new client connections.</p>
644
963
  * @public
645
964
  */
646
- export interface CoipPool {
647
- /**
648
- * <p>The ID of the address pool.</p>
649
- * @public
650
- */
651
- PoolId?: string | undefined;
965
+ export interface ClientConnectOptions {
652
966
  /**
653
- * <p>The address ranges of the address pool.</p>
967
+ * <p>Indicates whether client connect options are enabled. The default is <code>false</code> (not enabled).</p>
654
968
  * @public
655
969
  */
656
- PoolCidrs?: string[] | undefined;
970
+ Enabled?: boolean | undefined;
657
971
  /**
658
- * <p>The ID of the local gateway route table.</p>
972
+ * <p>The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.</p>
659
973
  * @public
660
974
  */
661
- LocalGatewayRouteTableId?: string | undefined;
975
+ LambdaFunctionArn?: string | undefined;
976
+ }
977
+ /**
978
+ * <p>Options for enabling a customizable text banner that will be displayed on
979
+ * Amazon Web Services provided clients when a VPN session is established.</p>
980
+ * @public
981
+ */
982
+ export interface ClientLoginBannerOptions {
662
983
  /**
663
- * <p>The tags.</p>
984
+ * <p>Enable or disable a customizable text banner that will be displayed on
985
+ * Amazon Web Services provided clients when a VPN session is established.</p>
986
+ * <p>Valid values: <code>true | false</code>
987
+ * </p>
988
+ * <p>Default value: <code>false</code>
989
+ * </p>
664
990
  * @public
665
991
  */
666
- Tags?: Tag[] | undefined;
992
+ Enabled?: boolean | undefined;
667
993
  /**
668
- * <p>The ARN of the address pool.</p>
994
+ * <p>Customizable text that will be displayed in a banner on Amazon Web Services provided
995
+ * clients when a VPN session is established. UTF-8 encoded characters only. Maximum of
996
+ * 1400 characters.</p>
669
997
  * @public
670
998
  */
671
- PoolArn?: string | undefined;
999
+ BannerText?: string | undefined;
672
1000
  }
673
1001
  /**
1002
+ * <p>Client Route Enforcement is a feature of Client VPN that helps enforce administrator defined
1003
+ * routes on devices connected through the VPN. This feature helps improve your security
1004
+ * posture by ensuring that network traffic originating from a connected client is not
1005
+ * inadvertently sent outside the VPN tunnel.</p>
1006
+ * <p>Client Route Enforcement works by monitoring the route table of a connected device for
1007
+ * routing policy changes to the VPN connection. If the feature detects any VPN routing
1008
+ * policy modifications, it will automatically force an update to the route table,
1009
+ * reverting it back to the expected route configurations.</p>
674
1010
  * @public
675
1011
  */
676
- export interface CreateCoipPoolResult {
1012
+ export interface ClientRouteEnforcementOptions {
677
1013
  /**
678
- * <p>Information about the CoIP address pool.</p>
1014
+ * <p>Enable or disable Client Route Enforcement. The state can either be <code>true</code>
1015
+ * (enabled) or <code>false</code> (disabled). The default is <code>false</code>.</p>
1016
+ * <p>Valid values: <code>true | false</code>
1017
+ * </p>
1018
+ * <p>Default value: <code>false</code>
1019
+ * </p>
679
1020
  * @public
680
1021
  */
681
- CoipPool?: CoipPool | undefined;
1022
+ Enforced?: boolean | undefined;
682
1023
  }
683
1024
  /**
684
- * <p>Contains the parameters for CreateCustomerGateway.</p>
1025
+ * <p>Describes the client connection logging options for the Client VPN endpoint.</p>
685
1026
  * @public
686
1027
  */
687
- export interface CreateCustomerGatewayRequest {
688
- /**
689
- * <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
690
- * <p>Default: 65000</p>
691
- * <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
692
- * </p>
693
- * @public
694
- */
695
- BgpAsn?: number | undefined;
696
- /**
697
- * <p>
698
- * <i>This member has been deprecated.</i> The Internet-routable IP address for the customer gateway's outside interface. The
699
- * address must be static.</p>
700
- * @public
701
- */
702
- PublicIp?: string | undefined;
1028
+ export interface ConnectionLogOptions {
703
1029
  /**
704
- * <p>The Amazon Resource Name (ARN) for the customer gateway certificate.</p>
1030
+ * <p>Indicates whether connection logging is enabled.</p>
705
1031
  * @public
706
1032
  */
707
- CertificateArn?: string | undefined;
1033
+ Enabled?: boolean | undefined;
708
1034
  /**
709
- * <p>The type of VPN connection that this customer gateway supports
710
- * (<code>ipsec.1</code>).</p>
1035
+ * <p>The name of the CloudWatch Logs log group. Required if connection logging is enabled.</p>
711
1036
  * @public
712
1037
  */
713
- Type: GatewayType | undefined;
1038
+ CloudwatchLogGroup?: string | undefined;
714
1039
  /**
715
- * <p>The tags to apply to the customer gateway.</p>
1040
+ * <p>The name of the CloudWatch Logs log stream to which the connection data is published.</p>
716
1041
  * @public
717
1042
  */
718
- TagSpecifications?: TagSpecification[] | undefined;
1043
+ CloudwatchLogStream?: string | undefined;
719
1044
  /**
720
- * <p>A name for the customer gateway device.</p>
721
- * <p>Length Constraints: Up to 255 characters.</p>
1045
+ * <p>Specifies whether to include the authorization policy evaluation context in the connection logs for the Client VPN endpoint.</p>
722
1046
  * @public
723
1047
  */
724
- DeviceName?: string | undefined;
1048
+ IncludeAuthorizationPolicyContext?: boolean | undefined;
1049
+ }
1050
+ /**
1051
+ * <p>Describes a device trust provider to configure for a Client VPN endpoint.</p>
1052
+ * @public
1053
+ */
1054
+ export interface ClientVpnTrustProviderRequest {
725
1055
  /**
726
- * <p>The IP address for the customer gateway device's outside interface. The address must be
727
- * static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to
728
- * <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If
729
- * <code>OutsideIpAddressType</code> is set to <code>Ipv6</code>, you can use an IPv6 address. </p>
1056
+ * <p>The type of the device trust provider. Possible values include:</p>
1057
+ * <ul>
1058
+ * <li>
1059
+ * <p>
1060
+ * <code>crowdstrike</code> - CrowdStrike device trust provider.</p>
1061
+ * </li>
1062
+ * <li>
1063
+ * <p>
1064
+ * <code>jamf</code> - Jamf device trust provider.</p>
1065
+ * </li>
1066
+ * <li>
1067
+ * <p>
1068
+ * <code>jumpcloud</code> - JumpCloud device trust provider.</p>
1069
+ * </li>
1070
+ * </ul>
730
1071
  * @public
731
1072
  */
732
- IpAddress?: string | undefined;
1073
+ TrustProviderType?: ClientVpnDeviceTrustProviderType | undefined;
733
1074
  /**
734
- * <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
735
- * <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
736
- * </p>
1075
+ * <p>The tenant ID associated with your device trust provider account.</p>
737
1076
  * @public
738
1077
  */
739
- BgpAsnExtended?: number | undefined;
1078
+ TenantId?: string | undefined;
740
1079
  /**
741
- * <p>Checks whether you have the required permissions for the action, without actually
742
- * making the request, and provides an error response. If you have the required
743
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
744
- * <code>UnauthorizedOperation</code>.</p>
1080
+ * <p>The URL of the public signing key that is used to verify the identity token issued by the device trust provider.</p>
745
1081
  * @public
746
1082
  */
747
- DryRun?: boolean | undefined;
1083
+ PublicSigningKeyUrl?: string | undefined;
748
1084
  }
749
1085
  /**
750
- * <p>Describes a customer gateway.</p>
1086
+ * <p>Describes the device posture options for a Client VPN endpoint. Device posture options specify the device trust providers that the endpoint uses to evaluate the security posture of connecting devices.</p>
751
1087
  * @public
752
1088
  */
753
- export interface CustomerGateway {
1089
+ export interface DevicePostureOptions {
754
1090
  /**
755
- * <p>The Amazon Resource Name (ARN) for the customer gateway certificate.</p>
1091
+ * <p>The device trust providers to configure for the Client VPN endpoint.</p>
756
1092
  * @public
757
1093
  */
758
- CertificateArn?: string | undefined;
1094
+ TrustProviders?: ClientVpnTrustProviderRequest[] | undefined;
759
1095
  /**
760
- * <p>The name of customer gateway device.</p>
1096
+ * <p>Indicates whether device posture evaluation is enabled for the Client VPN endpoint. Specify <code>false</code> to disable device posture, which clears the configured device trust providers.</p>
761
1097
  * @public
762
1098
  */
763
- DeviceName?: string | undefined;
1099
+ Enabled?: boolean | undefined;
1100
+ }
1101
+ /**
1102
+ * <p>The Transit Gateway configuration for a Client VPN endpoint.</p>
1103
+ * @public
1104
+ */
1105
+ export interface TransitGatewayConfigurationInputStructure {
764
1106
  /**
765
- * <p>Any tags assigned to the customer gateway.</p>
1107
+ * <p>The ID of the Transit Gateway to associate with the Client VPN endpoint.</p>
766
1108
  * @public
767
1109
  */
768
- Tags?: Tag[] | undefined;
1110
+ TransitGatewayId?: string | undefined;
769
1111
  /**
770
- * <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
771
- * (ASN).</p>
772
- * <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
773
- * </p>
1112
+ * <p>The Availability Zone names for the Transit Gateway association. You can specify up to the maximum number of Availability Zones supported by the Transit Gateway. You cannot specify both <code>AvailabilityZones</code> and <code>AvailabilityZoneIds</code>.</p>
774
1113
  * @public
775
1114
  */
776
- BgpAsnExtended?: string | undefined;
1115
+ AvailabilityZones?: string[] | undefined;
777
1116
  /**
778
- * <p>The ID of the customer gateway.</p>
1117
+ * <p>The Availability Zone IDs for the Transit Gateway association. You can specify up to the maximum number of Availability Zones supported by the Transit Gateway. You cannot specify both <code>AvailabilityZones</code> and <code>AvailabilityZoneIds</code>.</p>
779
1118
  * @public
780
1119
  */
781
- CustomerGatewayId?: string | undefined;
1120
+ AvailabilityZoneIds?: string[] | undefined;
1121
+ }
1122
+ /**
1123
+ * @public
1124
+ */
1125
+ export interface CreateClientVpnEndpointRequest {
782
1126
  /**
783
- * <p>The current state of the customer gateway (<code>pending | available | deleting |
784
- * deleted</code>).</p>
1127
+ * <p>The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.</p>
785
1128
  * @public
786
1129
  */
787
- State?: string | undefined;
1130
+ ClientCidrBlock?: string | undefined;
788
1131
  /**
789
- * <p>The type of VPN connection the customer gateway supports
790
- * (<code>ipsec.1</code>).</p>
1132
+ * <p>The ARN of the server certificate. For more information, see
1133
+ * the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
791
1134
  * @public
792
1135
  */
793
- Type?: string | undefined;
1136
+ ServerCertificateArn: string | undefined;
794
1137
  /**
795
- * <p>
796
- * The IP address for the customer gateway device's outside interface. The address must be static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If
797
- * <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a public IPv4 address. If <code>OutsideIpAddressType</code> is set to <code>Ipv6</code>, you can use a public IPv6 address.
798
- * </p>
1138
+ * <p>Information about the authentication method to be used to authenticate clients.</p>
799
1139
  * @public
800
1140
  */
801
- IpAddress?: string | undefined;
1141
+ AuthenticationOptions: ClientVpnAuthenticationRequest[] | undefined;
802
1142
  /**
803
- * <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
804
- * (ASN).</p>
805
- * <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
806
- * </p>
1143
+ * <p>Information about the client connection logging options.</p>
1144
+ * <p>If you enable client connection logging, data about client connections is sent to a
1145
+ * Cloudwatch Logs log stream. The following information is logged:</p>
1146
+ * <ul>
1147
+ * <li>
1148
+ * <p>Client connection requests</p>
1149
+ * </li>
1150
+ * <li>
1151
+ * <p>Client connection results (successful and unsuccessful)</p>
1152
+ * </li>
1153
+ * <li>
1154
+ * <p>Reasons for unsuccessful client connection requests</p>
1155
+ * </li>
1156
+ * <li>
1157
+ * <p>Client connection termination time</p>
1158
+ * </li>
1159
+ * </ul>
807
1160
  * @public
808
1161
  */
809
- BgpAsn?: string | undefined;
810
- }
811
- /**
812
- * <p>Contains the output of CreateCustomerGateway.</p>
813
- * @public
814
- */
815
- export interface CreateCustomerGatewayResult {
1162
+ ConnectionLogOptions: ConnectionLogOptions | undefined;
816
1163
  /**
817
- * <p>Information about the customer gateway.</p>
1164
+ * <p>Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can
1165
+ * have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.</p>
818
1166
  * @public
819
1167
  */
820
- CustomerGateway?: CustomerGateway | undefined;
821
- }
822
- /**
823
- * @public
824
- */
825
- export interface CreateDefaultSubnetRequest {
1168
+ DnsServers?: string[] | undefined;
826
1169
  /**
827
- * <p>The Availability Zone in which to create the default subnet.</p>
828
- * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified,
829
- * but not both.</p>
1170
+ * <p>The transport protocol to be used by the VPN session.</p>
1171
+ * <p>Default value: <code>udp</code>
1172
+ * </p>
830
1173
  * @public
831
1174
  */
832
- AvailabilityZone?: string | undefined;
1175
+ TransportProtocol?: TransportProtocol | undefined;
833
1176
  /**
834
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
835
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
836
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1177
+ * <p>The port number to assign to the Client VPN endpoint for TCP and UDP traffic.</p>
1178
+ * <p>Valid Values: <code>443</code> | <code>1194</code>
1179
+ * </p>
1180
+ * <p>Default Value: <code>443</code>
1181
+ * </p>
837
1182
  * @public
838
1183
  */
839
- DryRun?: boolean | undefined;
1184
+ VpnPort?: number | undefined;
840
1185
  /**
841
- * <p>Indicates whether to create an IPv6 only subnet. If you already have a default subnet
842
- * for this Availability Zone, you must delete it before you can create an IPv6 only subnet.</p>
1186
+ * <p>A brief description of the Client VPN endpoint.</p>
843
1187
  * @public
844
1188
  */
845
- Ipv6Native?: boolean | undefined;
1189
+ Description?: string | undefined;
846
1190
  /**
847
- * <p>The ID of the Availability Zone.</p>
848
- * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified,
849
- * but not both.</p>
1191
+ * <p>Indicates whether split-tunnel is enabled on the Client VPN endpoint.</p>
1192
+ * <p>By default, split-tunnel on a VPN endpoint is disabled.</p>
1193
+ * <p>For information about split-tunnel VPN endpoints, see <a href="https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html">Split-tunnel Client VPN endpoint</a> in the
1194
+ * <i>Client VPN Administrator Guide</i>.</p>
850
1195
  * @public
851
1196
  */
852
- AvailabilityZoneId?: string | undefined;
853
- }
854
- /**
855
- * <p>The state of VPC Block Public Access (BPA).</p>
856
- * @public
857
- */
858
- export interface BlockPublicAccessStates {
1197
+ SplitTunnel?: boolean | undefined;
859
1198
  /**
860
- * <p>The mode of VPC BPA.</p>
861
- * <ul>
862
- * <li>
863
- * <p>
864
- * <code>off</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
865
- * </li>
866
- * <li>
867
- * <p>
868
- * <code>block-bidirectional</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
869
- * </li>
870
- * <li>
871
- * <p>
872
- * <code>block-ingress</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
873
- * </li>
874
- * </ul>
1199
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
875
1200
  * @public
876
1201
  */
877
- InternetGatewayBlockMode?: BlockPublicAccessMode | undefined;
878
- }
879
- /**
880
- * <p>Describes the options for instance hostnames.</p>
881
- * @public
882
- */
883
- export interface PrivateDnsNameOptionsOnLaunch {
1202
+ DryRun?: boolean | undefined;
884
1203
  /**
885
- * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
886
- * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
887
- * must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
888
- * names use the instance IPv4 address or the instance ID.</p>
1204
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
1205
+ * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
889
1206
  * @public
890
1207
  */
891
- HostnameType?: HostnameType | undefined;
1208
+ ClientToken?: string | undefined;
892
1209
  /**
893
- * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
894
- * records.</p>
1210
+ * <p>The tags to apply to the Client VPN endpoint during creation.</p>
895
1211
  * @public
896
1212
  */
897
- EnableResourceNameDnsARecord?: boolean | undefined;
1213
+ TagSpecifications?: TagSpecification[] | undefined;
898
1214
  /**
899
- * <p>Indicates whether to respond to DNS queries for instance hostname with DNS AAAA
900
- * records.</p>
1215
+ * <p>The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.</p>
901
1216
  * @public
902
1217
  */
903
- EnableResourceNameDnsAAAARecord?: boolean | undefined;
904
- }
905
- /**
906
- * <p>Describes a subnet.</p>
907
- * @public
908
- */
909
- export interface Subnet {
1218
+ SecurityGroupIds?: string[] | undefined;
910
1219
  /**
911
- * <p>The AZ ID of the subnet.</p>
1220
+ * <p>The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.</p>
912
1221
  * @public
913
1222
  */
914
- AvailabilityZoneId?: string | undefined;
1223
+ VpcId?: string | undefined;
915
1224
  /**
916
- * <p>
917
- * Indicates the device position for local network interfaces in this subnet. For example,
918
- * <code>1</code> indicates local network interfaces in this subnet are the secondary
919
- * network interface (eth1).
920
- * </p>
1225
+ * <p>Specify whether to enable the self-service portal for the Client VPN endpoint.</p>
1226
+ * <p>Default Value: <code>enabled</code>
1227
+ * </p>
921
1228
  * @public
922
1229
  */
923
- EnableLniAtDeviceIndex?: number | undefined;
1230
+ SelfServicePortal?: SelfServicePortal | undefined;
924
1231
  /**
925
- * <p>Indicates whether a network interface created in this subnet (including a network
926
- * interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
1232
+ * <p>The options for managing connection authorization for new client connections.</p>
927
1233
  * @public
928
1234
  */
929
- MapCustomerOwnedIpOnLaunch?: boolean | undefined;
1235
+ ClientConnectOptions?: ClientConnectOptions | undefined;
930
1236
  /**
931
- * <p>The customer-owned IPv4 address pool associated with the subnet.</p>
1237
+ * <p>The maximum VPN session duration time in hours.</p>
1238
+ * <p>Valid values: <code>8 | 10 | 12 | 24</code>
1239
+ * </p>
1240
+ * <p>Default value: <code>24</code>
1241
+ * </p>
932
1242
  * @public
933
1243
  */
934
- CustomerOwnedIpv4Pool?: string | undefined;
1244
+ SessionTimeoutHours?: number | undefined;
935
1245
  /**
936
- * <p>The ID of the Amazon Web Services account that owns the subnet.</p>
1246
+ * <p>Options for enabling a customizable text banner that will be displayed on
1247
+ * Amazon Web Services provided clients when a VPN session is established.</p>
937
1248
  * @public
938
1249
  */
939
- OwnerId?: string | undefined;
1250
+ ClientLoginBannerOptions?: ClientLoginBannerOptions | undefined;
940
1251
  /**
941
- * <p>Indicates whether a network interface created in this subnet (including a network
942
- * interface created by <a>RunInstances</a>) receives an IPv6 address.</p>
1252
+ * <p>Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T
1253
+ * his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.</p>
1254
+ * <p>Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table,
1255
+ * reverting it back to the expected route configurations.</p>
943
1256
  * @public
944
1257
  */
945
- AssignIpv6AddressOnCreation?: boolean | undefined;
1258
+ ClientRouteEnforcementOptions?: ClientRouteEnforcementOptions | undefined;
946
1259
  /**
947
- * <p>Information about the IPv6 CIDR blocks associated with the subnet.</p>
1260
+ * <p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically.
1261
+ * The default value is <code>true</code>.</p>
948
1262
  * @public
949
1263
  */
950
- Ipv6CidrBlockAssociationSet?: SubnetIpv6CidrBlockAssociation[] | undefined;
1264
+ DisconnectOnSessionTimeout?: boolean | undefined;
951
1265
  /**
952
- * <p>Any tags assigned to the subnet.</p>
1266
+ * <p>The IP address type for the Client VPN endpoint. Valid values are <code>ipv4</code>
1267
+ * (default) for IPv4 addressing only, <code>ipv6</code> for IPv6 addressing only, or <code>dual-stack</code> for both IPv4 and IPv6
1268
+ * addressing. When set to <code>dual-stack,</code> clients can connect to the endpoint
1269
+ * using either IPv4 or IPv6 addresses..</p>
953
1270
  * @public
954
1271
  */
955
- Tags?: Tag[] | undefined;
1272
+ EndpointIpAddressType?: EndpointIpAddressType | undefined;
956
1273
  /**
957
- * <p>The Amazon Resource Name (ARN) of the subnet.</p>
1274
+ * <p>The IP address type for traffic within the Client VPN tunnel. Valid values are <code>ipv4</code> (default) for IPv4 traffic only, <code>ipv6</code> for IPv6 addressing only, or <code>dual-stack</code> for both IPv4 and IPv6 traffic. When set to <code>dual-stack</code>, clients can access both IPv4 and IPv6 resources through the VPN .</p>
958
1275
  * @public
959
1276
  */
960
- SubnetArn?: string | undefined;
1277
+ TrafficIpAddressType?: TrafficIpAddressType | undefined;
961
1278
  /**
962
- * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
1279
+ * <p>The Transit Gateway configuration for the Client VPN endpoint. Use this parameter to associate the endpoint with a Transit Gateway instead of a VPC. You cannot specify both <code>TransitGatewayConfiguration</code> and <code>VpcId</code>/<code>SecurityGroupIds</code>.</p>
963
1280
  * @public
964
1281
  */
965
- OutpostArn?: string | undefined;
1282
+ TransitGatewayConfiguration?: TransitGatewayConfigurationInputStructure | undefined;
966
1283
  /**
967
- * <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
968
- * should return synthetic IPv6 addresses for IPv4-only destinations.</p>
1284
+ * <p>The device posture options for the Client VPN endpoint. Use this parameter to specify the device trust providers that the endpoint uses to evaluate the security posture of connecting devices.</p>
969
1285
  * @public
970
1286
  */
971
- EnableDns64?: boolean | undefined;
1287
+ DevicePostureOptions?: DevicePostureOptions | undefined;
1288
+ }
1289
+ /**
1290
+ * <p>Describes the state of a Client VPN endpoint.</p>
1291
+ * @public
1292
+ */
1293
+ export interface ClientVpnEndpointStatus {
972
1294
  /**
973
- * <p>Indicates whether this is an IPv6 only subnet.</p>
1295
+ * <p>The state of the Client VPN endpoint. Possible states include:</p>
1296
+ * <ul>
1297
+ * <li>
1298
+ * <p>
1299
+ * <code>pending-associate</code> - The Client VPN endpoint has been created but no target networks
1300
+ * have been associated. The Client VPN endpoint cannot accept connections.</p>
1301
+ * </li>
1302
+ * <li>
1303
+ * <p>
1304
+ * <code>available</code> - The Client VPN endpoint has been created and a target network has been
1305
+ * associated. The Client VPN endpoint can accept connections.</p>
1306
+ * </li>
1307
+ * <li>
1308
+ * <p>
1309
+ * <code>deleting</code> - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept
1310
+ * connections.</p>
1311
+ * </li>
1312
+ * <li>
1313
+ * <p>
1314
+ * <code>deleted</code> - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept
1315
+ * connections.</p>
1316
+ * </li>
1317
+ * <li>
1318
+ * <p>
1319
+ * <code>pending</code> - The Client VPN endpoint has been created with a Transit Gateway configuration and is waiting for the Transit Gateway attachment to be accepted. The Client VPN endpoint cannot accept connections.</p>
1320
+ * </li>
1321
+ * </ul>
974
1322
  * @public
975
1323
  */
976
- Ipv6Native?: boolean | undefined;
1324
+ Code?: ClientVpnEndpointStatusCode | undefined;
977
1325
  /**
978
- * <p>The type of hostnames to assign to instances in the subnet at launch. An instance hostname
979
- * is based on the IPv4 address or ID of the instance.</p>
1326
+ * <p>A message about the status of the Client VPN endpoint.</p>
980
1327
  * @public
981
1328
  */
982
- PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch | undefined;
1329
+ Message?: string | undefined;
1330
+ }
1331
+ /**
1332
+ * @public
1333
+ */
1334
+ export interface CreateClientVpnEndpointResult {
983
1335
  /**
984
- * <p>The state of VPC Block Public Access (BPA).</p>
1336
+ * <p>The ID of the Client VPN endpoint.</p>
985
1337
  * @public
986
1338
  */
987
- BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
1339
+ ClientVpnEndpointId?: string | undefined;
988
1340
  /**
989
- * <p>Indicates if this is a subnet used with Amazon Elastic VMware Service (EVS).
990
- * Possible values are <code>Elastic VMware Service</code> or no value. For more
991
- * information about Amazon EVS, see <a href="https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html">
992
- * <i>Amazon Elastic VMware Service
993
- * API Reference</i>
994
- * </a>.</p>
1341
+ * <p>The current state of the Client VPN endpoint.</p>
995
1342
  * @public
996
1343
  */
997
- Type?: string | undefined;
1344
+ Status?: ClientVpnEndpointStatus | undefined;
998
1345
  /**
999
- * <p>The ID of the subnet.</p>
1346
+ * <p>The DNS name to be used by clients when establishing their VPN session.</p>
1000
1347
  * @public
1001
1348
  */
1002
- SubnetId?: string | undefined;
1349
+ DnsName?: string | undefined;
1350
+ }
1351
+ /**
1352
+ * @public
1353
+ */
1354
+ export interface CreateClientVpnRouteRequest {
1003
1355
  /**
1004
- * <p>The current state of the subnet.</p>
1356
+ * <p>The ID of the Client VPN endpoint to which to add the route.</p>
1357
+ * @public
1358
+ */
1359
+ ClientVpnEndpointId: string | undefined;
1360
+ /**
1361
+ * <p>The IPv4 address range, in CIDR notation, of the route destination. For example:</p>
1005
1362
  * <ul>
1006
1363
  * <li>
1007
- * <p>
1008
- * <code>failed</code>: The underlying infrastructure to support the subnet failed to provision
1009
- * as expected.</p>
1364
+ * <p>To add a route for Internet access, enter <code>0.0.0.0/0</code>
1365
+ * </p>
1010
1366
  * </li>
1011
1367
  * <li>
1012
- * <p>
1013
- * <code>failed-insufficient-capacity</code>: The underlying infrastructure to support the subnet
1014
- * failed to provision due to a shortage of EC2 instance capacity.</p>
1368
+ * <p>To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range</p>
1369
+ * </li>
1370
+ * <li>
1371
+ * <p>To add a route for an on-premises network, enter the Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range</p>
1372
+ * </li>
1373
+ * <li>
1374
+ * <p>To add a route for the local network, enter the client CIDR range</p>
1015
1375
  * </li>
1016
1376
  * </ul>
1017
1377
  * @public
1018
1378
  */
1019
- State?: SubnetState | undefined;
1379
+ DestinationCidrBlock: string | undefined;
1020
1380
  /**
1021
- * <p>The ID of the VPC the subnet is in.</p>
1381
+ * <p>The ID of the subnet through which you want to route traffic. The specified subnet must be
1382
+ * an existing target network of the Client VPN endpoint.</p>
1383
+ * <p>Alternatively, if you're adding a route for the local network, specify <code>local</code>.</p>
1384
+ * <p>This parameter is required for VPC-based Client VPN endpoints. For Transit Gateway-based endpoints, this parameter is not required.</p>
1022
1385
  * @public
1023
1386
  */
1024
- VpcId?: string | undefined;
1387
+ TargetVpcSubnetId?: string | undefined;
1025
1388
  /**
1026
- * <p>The IPv4 CIDR block assigned to the subnet.</p>
1389
+ * <p>A brief description of the route.</p>
1027
1390
  * @public
1028
1391
  */
1029
- CidrBlock?: string | undefined;
1392
+ Description?: string | undefined;
1030
1393
  /**
1031
- * <p>The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any
1032
- * stopped instances are considered unavailable.</p>
1394
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
1395
+ * For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
1033
1396
  * @public
1034
1397
  */
1035
- AvailableIpAddressCount?: number | undefined;
1398
+ ClientToken?: string | undefined;
1036
1399
  /**
1037
- * <p>The Availability Zone of the subnet.</p>
1400
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1038
1401
  * @public
1039
1402
  */
1040
- AvailabilityZone?: string | undefined;
1403
+ DryRun?: boolean | undefined;
1404
+ }
1405
+ /**
1406
+ * <p>Describes the state of a Client VPN endpoint route.</p>
1407
+ * @public
1408
+ */
1409
+ export interface ClientVpnRouteStatus {
1041
1410
  /**
1042
- * <p>Indicates whether this is the default subnet for the Availability Zone.</p>
1411
+ * <p>The state of the Client VPN endpoint route.</p>
1043
1412
  * @public
1044
1413
  */
1045
- DefaultForAz?: boolean | undefined;
1414
+ Code?: ClientVpnRouteStatusCode | undefined;
1046
1415
  /**
1047
- * <p>Indicates whether instances launched in this subnet receive a public IPv4 address.</p>
1048
- * <p>Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses
1049
- * associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
1416
+ * <p>A message about the status of the Client VPN endpoint route, if applicable.</p>
1050
1417
  * @public
1051
1418
  */
1052
- MapPublicIpOnLaunch?: boolean | undefined;
1419
+ Message?: string | undefined;
1053
1420
  }
1054
1421
  /**
1055
1422
  * @public
1056
1423
  */
1057
- export interface CreateDefaultSubnetResult {
1424
+ export interface CreateClientVpnRouteResult {
1058
1425
  /**
1059
- * <p>Information about the subnet.</p>
1426
+ * <p>The current state of the route.</p>
1060
1427
  * @public
1061
1428
  */
1062
- Subnet?: Subnet | undefined;
1429
+ Status?: ClientVpnRouteStatus | undefined;
1063
1430
  }
1064
1431
  /**
1065
1432
  * @public
1066
1433
  */
1067
- export interface CreateDefaultVpcRequest {
1434
+ export interface CreateCoipCidrRequest {
1435
+ /**
1436
+ * <p>
1437
+ * A customer-owned IP address range to create.
1438
+ * </p>
1439
+ * @public
1440
+ */
1441
+ Cidr: string | undefined;
1442
+ /**
1443
+ * <p>
1444
+ * The ID of the address pool.
1445
+ * </p>
1446
+ * @public
1447
+ */
1448
+ CoipPoolId: string | undefined;
1068
1449
  /**
1069
1450
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
1070
1451
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -1074,476 +1455,498 @@ export interface CreateDefaultVpcRequest {
1074
1455
  DryRun?: boolean | undefined;
1075
1456
  }
1076
1457
  /**
1077
- * <p>Describes an exclusion configuration for VPC Encryption Control.</p>
1078
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1458
+ * <p>
1459
+ * Information about a customer-owned IP address range.
1460
+ * </p>
1079
1461
  * @public
1080
1462
  */
1081
- export interface VpcEncryptionControlExclusion {
1463
+ export interface CoipCidr {
1082
1464
  /**
1083
- * <p>The current state of the exclusion configuration.</p>
1465
+ * <p>
1466
+ * An address range in a customer-owned IP address space.
1467
+ * </p>
1084
1468
  * @public
1085
1469
  */
1086
- State?: VpcEncryptionControlExclusionState | undefined;
1470
+ Cidr?: string | undefined;
1087
1471
  /**
1088
- * <p>A message providing additional information about the exclusion state.</p>
1472
+ * <p>
1473
+ * The ID of the address pool.
1474
+ * </p>
1089
1475
  * @public
1090
1476
  */
1091
- StateMessage?: string | undefined;
1477
+ CoipPoolId?: string | undefined;
1478
+ /**
1479
+ * <p>
1480
+ * The ID of the local gateway route table.
1481
+ * </p>
1482
+ * @public
1483
+ */
1484
+ LocalGatewayRouteTableId?: string | undefined;
1092
1485
  }
1093
1486
  /**
1094
- * <p>Describes the exclusion configurations for various resource types in VPC Encryption Control.</p>
1095
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1096
1487
  * @public
1097
1488
  */
1098
- export interface VpcEncryptionControlExclusions {
1489
+ export interface CreateCoipCidrResult {
1099
1490
  /**
1100
- * <p>The exclusion configuration for internet gateway traffic.</p>
1491
+ * <p>
1492
+ * Information about a range of customer-owned IP addresses.
1493
+ * </p>
1101
1494
  * @public
1102
1495
  */
1103
- InternetGateway?: VpcEncryptionControlExclusion | undefined;
1496
+ CoipCidr?: CoipCidr | undefined;
1497
+ }
1498
+ /**
1499
+ * @public
1500
+ */
1501
+ export interface CreateCoipPoolRequest {
1104
1502
  /**
1105
- * <p>The exclusion configuration for egress-only internet gateway traffic.</p>
1503
+ * <p>
1504
+ * The ID of the local gateway route table.
1505
+ * </p>
1106
1506
  * @public
1107
1507
  */
1108
- EgressOnlyInternetGateway?: VpcEncryptionControlExclusion | undefined;
1508
+ LocalGatewayRouteTableId: string | undefined;
1109
1509
  /**
1110
- * <p>The exclusion configuration for NAT gateway traffic.</p>
1510
+ * <p>
1511
+ * The tags to assign to the CoIP address pool.
1512
+ * </p>
1111
1513
  * @public
1112
1514
  */
1113
- NatGateway?: VpcEncryptionControlExclusion | undefined;
1515
+ TagSpecifications?: TagSpecification[] | undefined;
1114
1516
  /**
1115
- * <p>The exclusion configuration for virtual private gateway traffic.</p>
1517
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
1518
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1519
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1116
1520
  * @public
1117
1521
  */
1118
- VirtualPrivateGateway?: VpcEncryptionControlExclusion | undefined;
1522
+ DryRun?: boolean | undefined;
1523
+ }
1524
+ /**
1525
+ * <p>Describes a customer-owned address pool.</p>
1526
+ * @public
1527
+ */
1528
+ export interface CoipPool {
1119
1529
  /**
1120
- * <p>The exclusion configuration for VPC peering connection traffic.</p>
1530
+ * <p>The ID of the address pool.</p>
1121
1531
  * @public
1122
1532
  */
1123
- VpcPeering?: VpcEncryptionControlExclusion | undefined;
1533
+ PoolId?: string | undefined;
1124
1534
  /**
1125
- * <p>The exclusion configuration for Lambda function traffic.</p>
1535
+ * <p>The address ranges of the address pool.</p>
1126
1536
  * @public
1127
1537
  */
1128
- Lambda?: VpcEncryptionControlExclusion | undefined;
1538
+ PoolCidrs?: string[] | undefined;
1129
1539
  /**
1130
- * <p>The exclusion configuration for VPC Lattice traffic.</p>
1540
+ * <p>The ID of the local gateway route table.</p>
1131
1541
  * @public
1132
1542
  */
1133
- VpcLattice?: VpcEncryptionControlExclusion | undefined;
1543
+ LocalGatewayRouteTableId?: string | undefined;
1134
1544
  /**
1135
- * <p>The exclusion configuration for Elastic File System traffic.</p>
1545
+ * <p>The tags.</p>
1136
1546
  * @public
1137
1547
  */
1138
- ElasticFileSystem?: VpcEncryptionControlExclusion | undefined;
1548
+ Tags?: Tag[] | undefined;
1549
+ /**
1550
+ * <p>The ARN of the address pool.</p>
1551
+ * @public
1552
+ */
1553
+ PoolArn?: string | undefined;
1139
1554
  }
1140
1555
  /**
1141
- * <p>Describes the configuration and state of VPC encryption controls.</p>
1142
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1143
1556
  * @public
1144
1557
  */
1145
- export interface VpcEncryptionControl {
1558
+ export interface CreateCoipPoolResult {
1146
1559
  /**
1147
- * <p>The ID of the VPC associated with the encryption control configuration.</p>
1560
+ * <p>Information about the CoIP address pool.</p>
1148
1561
  * @public
1149
1562
  */
1150
- VpcId?: string | undefined;
1563
+ CoipPool?: CoipPool | undefined;
1564
+ }
1565
+ /**
1566
+ * <p>Contains the parameters for CreateCustomerGateway.</p>
1567
+ * @public
1568
+ */
1569
+ export interface CreateCustomerGatewayRequest {
1151
1570
  /**
1152
- * <p>The ID of the VPC Encryption Control configuration.</p>
1571
+ * <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
1572
+ * <p>Default: 65000</p>
1573
+ * <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
1574
+ * </p>
1153
1575
  * @public
1154
1576
  */
1155
- VpcEncryptionControlId?: string | undefined;
1577
+ BgpAsn?: number | undefined;
1156
1578
  /**
1157
- * <p>The encryption mode for the VPC Encryption Control configuration.</p>
1579
+ * <p>
1580
+ * <i>This member has been deprecated.</i> The Internet-routable IP address for the customer gateway's outside interface. The
1581
+ * address must be static.</p>
1158
1582
  * @public
1159
1583
  */
1160
- Mode?: VpcEncryptionControlMode | undefined;
1584
+ PublicIp?: string | undefined;
1161
1585
  /**
1162
- * <p>The current state of the VPC Encryption Control configuration.</p>
1586
+ * <p>The Amazon Resource Name (ARN) for the customer gateway certificate.</p>
1163
1587
  * @public
1164
1588
  */
1165
- State?: VpcEncryptionControlState | undefined;
1589
+ CertificateArn?: string | undefined;
1166
1590
  /**
1167
- * <p>A message providing additional information about the encryption control state.</p>
1591
+ * <p>The type of VPN connection that this customer gateway supports
1592
+ * (<code>ipsec.1</code>).</p>
1168
1593
  * @public
1169
1594
  */
1170
- StateMessage?: string | undefined;
1595
+ Type: GatewayType | undefined;
1171
1596
  /**
1172
- * <p>Information about resource exclusions for the VPC Encryption Control configuration.</p>
1597
+ * <p>The tags to apply to the customer gateway.</p>
1173
1598
  * @public
1174
1599
  */
1175
- ResourceExclusions?: VpcEncryptionControlExclusions | undefined;
1600
+ TagSpecifications?: TagSpecification[] | undefined;
1176
1601
  /**
1177
- * <p>The tags assigned to the VPC Encryption Control configuration.</p>
1602
+ * <p>A name for the customer gateway device.</p>
1603
+ * <p>Length Constraints: Up to 255 characters.</p>
1178
1604
  * @public
1179
1605
  */
1180
- Tags?: Tag[] | undefined;
1181
- }
1182
- /**
1183
- * <p>Describes a VPC.</p>
1184
- * @public
1185
- */
1186
- export interface Vpc {
1606
+ DeviceName?: string | undefined;
1187
1607
  /**
1188
- * <p>The ID of the Amazon Web Services account that owns the VPC.</p>
1608
+ * <p>The IP address for the customer gateway device's outside interface. The address must be
1609
+ * static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to
1610
+ * <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If
1611
+ * <code>OutsideIpAddressType</code> is set to <code>Ipv6</code>, you can use an IPv6 address. </p>
1189
1612
  * @public
1190
1613
  */
1191
- OwnerId?: string | undefined;
1614
+ IpAddress?: string | undefined;
1192
1615
  /**
1193
- * <p>The allowed tenancy of instances launched into the VPC.</p>
1616
+ * <p>For customer gateway devices that support BGP, specify the device's ASN. You must specify either <code>BgpAsn</code> or <code>BgpAsnExtended</code> when creating the customer gateway. If the ASN is larger than <code>2,147,483,647</code>, you must use <code>BgpAsnExtended</code>.</p>
1617
+ * <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
1618
+ * </p>
1194
1619
  * @public
1195
1620
  */
1196
- InstanceTenancy?: Tenancy | undefined;
1621
+ BgpAsnExtended?: number | undefined;
1197
1622
  /**
1198
- * <p>Information about the IPv6 CIDR blocks associated with the VPC.</p>
1623
+ * <p>Checks whether you have the required permissions for the action, without actually
1624
+ * making the request, and provides an error response. If you have the required
1625
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
1626
+ * <code>UnauthorizedOperation</code>.</p>
1199
1627
  * @public
1200
1628
  */
1201
- Ipv6CidrBlockAssociationSet?: VpcIpv6CidrBlockAssociation[] | undefined;
1629
+ DryRun?: boolean | undefined;
1630
+ }
1631
+ /**
1632
+ * <p>Describes a customer gateway.</p>
1633
+ * @public
1634
+ */
1635
+ export interface CustomerGateway {
1202
1636
  /**
1203
- * <p>Information about the IPv4 CIDR blocks associated with the VPC.</p>
1637
+ * <p>The Amazon Resource Name (ARN) for the customer gateway certificate.</p>
1204
1638
  * @public
1205
1639
  */
1206
- CidrBlockAssociationSet?: VpcCidrBlockAssociation[] | undefined;
1640
+ CertificateArn?: string | undefined;
1207
1641
  /**
1208
- * <p>Indicates whether the VPC is the default VPC.</p>
1642
+ * <p>The name of customer gateway device.</p>
1209
1643
  * @public
1210
1644
  */
1211
- IsDefault?: boolean | undefined;
1645
+ DeviceName?: string | undefined;
1212
1646
  /**
1213
- * <p>Describes the configuration and state of VPC encryption controls.</p>
1214
- * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1647
+ * <p>Any tags assigned to the customer gateway.</p>
1215
1648
  * @public
1216
1649
  */
1217
- EncryptionControl?: VpcEncryptionControl | undefined;
1650
+ Tags?: Tag[] | undefined;
1218
1651
  /**
1219
- * <p>Any tags assigned to the VPC.</p>
1652
+ * <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
1653
+ * (ASN).</p>
1654
+ * <p>Valid values: <code>2,147,483,648</code> to <code>4,294,967,295</code>
1655
+ * </p>
1220
1656
  * @public
1221
1657
  */
1222
- Tags?: Tag[] | undefined;
1658
+ BgpAsnExtended?: string | undefined;
1223
1659
  /**
1224
- * <p>The state of VPC Block Public Access (BPA).</p>
1660
+ * <p>The ID of the customer gateway.</p>
1225
1661
  * @public
1226
1662
  */
1227
- BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
1663
+ CustomerGatewayId?: string | undefined;
1228
1664
  /**
1229
- * <p>The ID of the VPC.</p>
1665
+ * <p>The current state of the customer gateway (<code>pending | available | deleting |
1666
+ * deleted</code>).</p>
1230
1667
  * @public
1231
1668
  */
1232
- VpcId?: string | undefined;
1669
+ State?: string | undefined;
1233
1670
  /**
1234
- * <p>The current state of the VPC.</p>
1671
+ * <p>The type of VPN connection the customer gateway supports
1672
+ * (<code>ipsec.1</code>).</p>
1235
1673
  * @public
1236
1674
  */
1237
- State?: VpcState | undefined;
1675
+ Type?: string | undefined;
1238
1676
  /**
1239
- * <p>The primary IPv4 CIDR block for the VPC.</p>
1677
+ * <p>
1678
+ * The IP address for the customer gateway device's outside interface. The address must be static. If <code>OutsideIpAddressType</code> in your VPN connection options is set to <code>PrivateIpv4</code>, you can use an RFC6598 or RFC1918 private IPv4 address. If
1679
+ * <code>OutsideIpAddressType</code> is set to <code>PublicIpv4</code>, you can use a public IPv4 address. If <code>OutsideIpAddressType</code> is set to <code>Ipv6</code>, you can use a public IPv6 address.
1680
+ * </p>
1240
1681
  * @public
1241
1682
  */
1242
- CidrBlock?: string | undefined;
1683
+ IpAddress?: string | undefined;
1243
1684
  /**
1244
- * <p>The ID of the set of DHCP options you've associated with the VPC.</p>
1685
+ * <p>The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number
1686
+ * (ASN).</p>
1687
+ * <p>Valid values: <code>1</code> to <code>2,147,483,647</code>
1688
+ * </p>
1245
1689
  * @public
1246
1690
  */
1247
- DhcpOptionsId?: string | undefined;
1691
+ BgpAsn?: string | undefined;
1248
1692
  }
1249
1693
  /**
1694
+ * <p>Contains the output of CreateCustomerGateway.</p>
1250
1695
  * @public
1251
1696
  */
1252
- export interface CreateDefaultVpcResult {
1697
+ export interface CreateCustomerGatewayResult {
1253
1698
  /**
1254
- * <p>Information about the VPC.</p>
1699
+ * <p>Information about the customer gateway.</p>
1255
1700
  * @public
1256
1701
  */
1257
- Vpc?: Vpc | undefined;
1702
+ CustomerGateway?: CustomerGateway | undefined;
1258
1703
  }
1259
1704
  /**
1260
1705
  * @public
1261
1706
  */
1262
- export interface CreateDelegateMacVolumeOwnershipTaskRequest {
1707
+ export interface CreateDefaultSubnetRequest {
1263
1708
  /**
1264
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
1709
+ * <p>The Availability Zone in which to create the default subnet.</p>
1710
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified,
1711
+ * but not both.</p>
1265
1712
  * @public
1266
1713
  */
1267
- ClientToken?: string | undefined;
1714
+ AvailabilityZone?: string | undefined;
1268
1715
  /**
1269
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1716
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
1717
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1718
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1270
1719
  * @public
1271
1720
  */
1272
1721
  DryRun?: boolean | undefined;
1273
1722
  /**
1274
- * <p>The ID of the Amazon EC2 Mac instance.</p>
1723
+ * <p>Indicates whether to create an IPv6 only subnet. If you already have a default subnet
1724
+ * for this Availability Zone, you must delete it before you can create an IPv6 only subnet.</p>
1275
1725
  * @public
1276
1726
  */
1277
- InstanceId: string | undefined;
1727
+ Ipv6Native?: boolean | undefined;
1278
1728
  /**
1279
- * <p>Specifies the following credentials:</p>
1729
+ * <p>The ID of the Availability Zone.</p>
1730
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified,
1731
+ * but not both.</p>
1732
+ * @public
1733
+ */
1734
+ AvailabilityZoneId?: string | undefined;
1735
+ }
1736
+ /**
1737
+ * <p>The state of VPC Block Public Access (BPA).</p>
1738
+ * @public
1739
+ */
1740
+ export interface BlockPublicAccessStates {
1741
+ /**
1742
+ * <p>The mode of VPC BPA.</p>
1280
1743
  * <ul>
1281
1744
  * <li>
1282
1745
  * <p>
1283
- * <b>Internal disk administrative user</b>
1284
- * </p>
1285
- * <ul>
1286
- * <li>
1287
- * <p>
1288
- * <b>Username</b> - Only the default administrative user
1289
- * (<code>aws-managed-user</code>) is supported and it is used by default. You can't
1290
- * specify a different administrative user.</p>
1291
- * </li>
1292
- * <li>
1293
- * <p>
1294
- * <b>Password</b> - If you did not change the default
1295
- * password for <code>aws-managed-user</code>, specify the default password, which is
1296
- * <i>blank</i>. Otherwise, specify your password.</p>
1297
- * </li>
1298
- * </ul>
1746
+ * <code>off</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
1299
1747
  * </li>
1300
1748
  * <li>
1301
1749
  * <p>
1302
- * <b>Amazon EBS root volume administrative user</b>
1303
- * </p>
1304
- * <ul>
1305
- * <li>
1306
- * <p>
1307
- * <b>Username</b> - If you did not change the default
1308
- * administrative user, specify <code>ec2-user</code>. Otherwise, specify the username
1309
- * for your administrative user.</p>
1310
- * </li>
1311
- * <li>
1312
- * <p>
1313
- * <b>Password</b> - Specify the password for the
1314
- * administrative user.</p>
1315
- * </li>
1316
- * </ul>
1750
+ * <code>block-bidirectional</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
1751
+ * </li>
1752
+ * <li>
1753
+ * <p>
1754
+ * <code>block-ingress</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
1317
1755
  * </li>
1318
1756
  * </ul>
1319
- * <p>The credentials must be specified in the following JSON format:</p>
1320
- * <p>
1321
- * <code>\{
1322
- * "internalDiskPassword":"<i>internal-disk-admin_password</i>",
1323
- * "rootVolumeUsername":"<i>root-volume-admin_username</i>",
1324
- * "rootVolumepassword":"<i>root-volume-admin_password</i>"
1325
- * \}</code>
1326
- * </p>
1327
1757
  * @public
1328
1758
  */
1329
- MacCredentials: string | undefined;
1330
- /**
1331
- * <p>The tags to assign to the volume ownership delegation task.</p>
1332
- * @public
1333
- */
1334
- TagSpecifications?: TagSpecification[] | undefined;
1759
+ InternetGatewayBlockMode?: BlockPublicAccessMode | undefined;
1335
1760
  }
1336
1761
  /**
1337
- * <p>Describes the configuration for a System Integrity Protection (SIP) modification task.</p>
1762
+ * <p>Describes the options for instance hostnames.</p>
1338
1763
  * @public
1339
1764
  */
1340
- export interface MacSystemIntegrityProtectionConfiguration {
1341
- /**
1342
- * <p>Indicates whether Apple Internal was enabled or disabled by the task.</p>
1343
- * @public
1344
- */
1345
- AppleInternal?: MacSystemIntegrityProtectionSettingStatus | undefined;
1346
- /**
1347
- * <p>Indicates whether Base System was enabled or disabled by the task.</p>
1348
- * @public
1349
- */
1350
- BaseSystem?: MacSystemIntegrityProtectionSettingStatus | undefined;
1765
+ export interface PrivateDnsNameOptionsOnLaunch {
1351
1766
  /**
1352
- * <p>Indicates whether Debugging Restrictions was enabled or disabled by the task.</p>
1767
+ * <p>The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name
1768
+ * must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name
1769
+ * must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
1770
+ * names use the instance IPv4 address or the instance ID.</p>
1353
1771
  * @public
1354
1772
  */
1355
- DebuggingRestrictions?: MacSystemIntegrityProtectionSettingStatus | undefined;
1773
+ HostnameType?: HostnameType | undefined;
1356
1774
  /**
1357
- * <p>Indicates whether Dtrace Restrictions was enabled or disabled by the task.</p>
1775
+ * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
1776
+ * records.</p>
1358
1777
  * @public
1359
1778
  */
1360
- DTraceRestrictions?: MacSystemIntegrityProtectionSettingStatus | undefined;
1779
+ EnableResourceNameDnsARecord?: boolean | undefined;
1361
1780
  /**
1362
- * <p>Indicates whether Filesystem Protections was enabled or disabled by the task.</p>
1781
+ * <p>Indicates whether to respond to DNS queries for instance hostname with DNS AAAA
1782
+ * records.</p>
1363
1783
  * @public
1364
1784
  */
1365
- FilesystemProtections?: MacSystemIntegrityProtectionSettingStatus | undefined;
1785
+ EnableResourceNameDnsAAAARecord?: boolean | undefined;
1786
+ }
1787
+ /**
1788
+ * <p>Describes a subnet.</p>
1789
+ * @public
1790
+ */
1791
+ export interface Subnet {
1366
1792
  /**
1367
- * <p>Indicates whether Kext Signing was enabled or disabled by the task.</p>
1793
+ * <p>The AZ ID of the subnet.</p>
1368
1794
  * @public
1369
1795
  */
1370
- KextSigning?: MacSystemIntegrityProtectionSettingStatus | undefined;
1796
+ AvailabilityZoneId?: string | undefined;
1371
1797
  /**
1372
- * <p>Indicates whether NVRAM Protections was enabled or disabled by the task.</p>
1798
+ * <p>
1799
+ * Indicates the device position for local network interfaces in this subnet. For example,
1800
+ * <code>1</code> indicates local network interfaces in this subnet are the secondary
1801
+ * network interface (eth1).
1802
+ * </p>
1373
1803
  * @public
1374
1804
  */
1375
- NvramProtections?: MacSystemIntegrityProtectionSettingStatus | undefined;
1805
+ EnableLniAtDeviceIndex?: number | undefined;
1376
1806
  /**
1377
- * <p>Indicates SIP was enabled or disabled by the task.</p>
1807
+ * <p>Indicates whether a network interface created in this subnet (including a network
1808
+ * interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
1378
1809
  * @public
1379
1810
  */
1380
- Status?: MacSystemIntegrityProtectionSettingStatus | undefined;
1381
- }
1382
- /**
1383
- * <p>Information about a System Integrity Protection (SIP) modification task or volume
1384
- * ownership delegation task for an Amazon EC2 Mac instance.</p>
1385
- * @public
1386
- */
1387
- export interface MacModificationTask {
1811
+ MapCustomerOwnedIpOnLaunch?: boolean | undefined;
1388
1812
  /**
1389
- * <p>The ID of the Amazon EC2 Mac instance.</p>
1813
+ * <p>The customer-owned IPv4 address pool associated with the subnet.</p>
1390
1814
  * @public
1391
1815
  */
1392
- InstanceId?: string | undefined;
1816
+ CustomerOwnedIpv4Pool?: string | undefined;
1393
1817
  /**
1394
- * <p>The ID of task.</p>
1818
+ * <p>The ID of the Amazon Web Services account that owns the subnet.</p>
1395
1819
  * @public
1396
1820
  */
1397
- MacModificationTaskId?: string | undefined;
1821
+ OwnerId?: string | undefined;
1398
1822
  /**
1399
- * <p>[SIP modification tasks only] Information about the SIP
1400
- * configuration.</p>
1823
+ * <p>Indicates whether a network interface created in this subnet (including a network
1824
+ * interface created by <a>RunInstances</a>) receives an IPv6 address.</p>
1401
1825
  * @public
1402
1826
  */
1403
- MacSystemIntegrityProtectionConfig?: MacSystemIntegrityProtectionConfiguration | undefined;
1827
+ AssignIpv6AddressOnCreation?: boolean | undefined;
1404
1828
  /**
1405
- * <p>The date and time the task was created, in the UTC timezone
1406
- * (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
1829
+ * <p>Information about the IPv6 CIDR blocks associated with the subnet.</p>
1407
1830
  * @public
1408
1831
  */
1409
- StartTime?: Date | undefined;
1832
+ Ipv6CidrBlockAssociationSet?: SubnetIpv6CidrBlockAssociation[] | undefined;
1410
1833
  /**
1411
- * <p>The tags assigned to the task.</p>
1834
+ * <p>Any tags assigned to the subnet.</p>
1412
1835
  * @public
1413
1836
  */
1414
1837
  Tags?: Tag[] | undefined;
1415
1838
  /**
1416
- * <p>The state of the task.</p>
1839
+ * <p>The Amazon Resource Name (ARN) of the subnet.</p>
1417
1840
  * @public
1418
1841
  */
1419
- TaskState?: MacModificationTaskState | undefined;
1842
+ SubnetArn?: string | undefined;
1420
1843
  /**
1421
- * <p>The type of task.</p>
1844
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
1422
1845
  * @public
1423
1846
  */
1424
- TaskType?: MacModificationTaskType | undefined;
1425
- }
1426
- /**
1427
- * @public
1428
- */
1429
- export interface CreateDelegateMacVolumeOwnershipTaskResult {
1847
+ OutpostArn?: string | undefined;
1430
1848
  /**
1431
- * <p>Information about the volume ownership delegation task.</p>
1849
+ * <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
1850
+ * should return synthetic IPv6 addresses for IPv4-only destinations.</p>
1432
1851
  * @public
1433
1852
  */
1434
- MacModificationTask?: MacModificationTask | undefined;
1435
- }
1436
- /**
1437
- * <p>Describes a DHCP configuration option.</p>
1438
- * @public
1439
- */
1440
- export interface NewDhcpConfiguration {
1853
+ EnableDns64?: boolean | undefined;
1441
1854
  /**
1442
- * <p>The name of a DHCP option.</p>
1855
+ * <p>Indicates whether this is an IPv6 only subnet.</p>
1443
1856
  * @public
1444
1857
  */
1445
- Key?: string | undefined;
1858
+ Ipv6Native?: boolean | undefined;
1446
1859
  /**
1447
- * <p>The values for the DHCP option.</p>
1860
+ * <p>The type of hostnames to assign to instances in the subnet at launch. An instance hostname
1861
+ * is based on the IPv4 address or ID of the instance.</p>
1448
1862
  * @public
1449
1863
  */
1450
- Values?: string[] | undefined;
1451
- }
1452
- /**
1453
- * @public
1454
- */
1455
- export interface CreateDhcpOptionsRequest {
1864
+ PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch | undefined;
1456
1865
  /**
1457
- * <p>A DHCP configuration option.</p>
1866
+ * <p>The state of VPC Block Public Access (BPA).</p>
1458
1867
  * @public
1459
1868
  */
1460
- DhcpConfigurations: NewDhcpConfiguration[] | undefined;
1869
+ BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
1461
1870
  /**
1462
- * <p>The tags to assign to the DHCP option.</p>
1871
+ * <p>Indicates if this is a subnet used with Amazon Elastic VMware Service (EVS).
1872
+ * Possible values are <code>Elastic VMware Service</code> or no value. For more
1873
+ * information about Amazon EVS, see <a href="https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html">
1874
+ * <i>Amazon Elastic VMware Service
1875
+ * API Reference</i>
1876
+ * </a>.</p>
1463
1877
  * @public
1464
1878
  */
1465
- TagSpecifications?: TagSpecification[] | undefined;
1879
+ Type?: string | undefined;
1466
1880
  /**
1467
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
1468
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
1469
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1881
+ * <p>The ID of the subnet.</p>
1470
1882
  * @public
1471
1883
  */
1472
- DryRun?: boolean | undefined;
1473
- }
1474
- /**
1475
- * <p>Describes a value for a resource attribute that is a String.</p>
1476
- * @public
1477
- */
1478
- export interface AttributeValue {
1884
+ SubnetId?: string | undefined;
1479
1885
  /**
1480
- * <p>The attribute value. The value is case-sensitive.</p>
1886
+ * <p>The current state of the subnet.</p>
1887
+ * <ul>
1888
+ * <li>
1889
+ * <p>
1890
+ * <code>failed</code>: The underlying infrastructure to support the subnet failed to provision
1891
+ * as expected.</p>
1892
+ * </li>
1893
+ * <li>
1894
+ * <p>
1895
+ * <code>failed-insufficient-capacity</code>: The underlying infrastructure to support the subnet
1896
+ * failed to provision due to a shortage of EC2 instance capacity.</p>
1897
+ * </li>
1898
+ * </ul>
1481
1899
  * @public
1482
1900
  */
1483
- Value?: string | undefined;
1484
- }
1485
- /**
1486
- * <p>Describes a DHCP configuration option.</p>
1487
- * @public
1488
- */
1489
- export interface DhcpConfiguration {
1901
+ State?: SubnetState | undefined;
1490
1902
  /**
1491
- * <p>The name of a DHCP option.</p>
1903
+ * <p>The ID of the VPC the subnet is in.</p>
1492
1904
  * @public
1493
1905
  */
1494
- Key?: string | undefined;
1906
+ VpcId?: string | undefined;
1495
1907
  /**
1496
- * <p>The values for the DHCP option.</p>
1908
+ * <p>The IPv4 CIDR block assigned to the subnet.</p>
1497
1909
  * @public
1498
1910
  */
1499
- Values?: AttributeValue[] | undefined;
1500
- }
1501
- /**
1502
- * <p>The set of DHCP options.</p>
1503
- * @public
1504
- */
1505
- export interface DhcpOptions {
1911
+ CidrBlock?: string | undefined;
1506
1912
  /**
1507
- * <p>The ID of the Amazon Web Services account that owns the DHCP options set.</p>
1913
+ * <p>The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any
1914
+ * stopped instances are considered unavailable.</p>
1508
1915
  * @public
1509
1916
  */
1510
- OwnerId?: string | undefined;
1917
+ AvailableIpAddressCount?: number | undefined;
1511
1918
  /**
1512
- * <p>Any tags assigned to the DHCP options set.</p>
1919
+ * <p>The Availability Zone of the subnet.</p>
1513
1920
  * @public
1514
1921
  */
1515
- Tags?: Tag[] | undefined;
1922
+ AvailabilityZone?: string | undefined;
1516
1923
  /**
1517
- * <p>The ID of the set of DHCP options.</p>
1924
+ * <p>Indicates whether this is the default subnet for the Availability Zone.</p>
1518
1925
  * @public
1519
1926
  */
1520
- DhcpOptionsId?: string | undefined;
1927
+ DefaultForAz?: boolean | undefined;
1521
1928
  /**
1522
- * <p>The DHCP options in the set.</p>
1929
+ * <p>Indicates whether instances launched in this subnet receive a public IPv4 address.</p>
1930
+ * <p>Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses
1931
+ * associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
1523
1932
  * @public
1524
1933
  */
1525
- DhcpConfigurations?: DhcpConfiguration[] | undefined;
1934
+ MapPublicIpOnLaunch?: boolean | undefined;
1526
1935
  }
1527
1936
  /**
1528
1937
  * @public
1529
1938
  */
1530
- export interface CreateDhcpOptionsResult {
1939
+ export interface CreateDefaultSubnetResult {
1531
1940
  /**
1532
- * <p>A set of DHCP options.</p>
1941
+ * <p>Information about the subnet.</p>
1533
1942
  * @public
1534
1943
  */
1535
- DhcpOptions?: DhcpOptions | undefined;
1944
+ Subnet?: Subnet | undefined;
1536
1945
  }
1537
1946
  /**
1538
1947
  * @public
1539
1948
  */
1540
- export interface CreateEgressOnlyInternetGatewayRequest {
1541
- /**
1542
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1543
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
1544
- * @public
1545
- */
1546
- ClientToken?: string | undefined;
1949
+ export interface CreateDefaultVpcRequest {
1547
1950
  /**
1548
1951
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
1549
1952
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -1551,1026 +1954,810 @@ export interface CreateEgressOnlyInternetGatewayRequest {
1551
1954
  * @public
1552
1955
  */
1553
1956
  DryRun?: boolean | undefined;
1957
+ }
1958
+ /**
1959
+ * <p>Describes an exclusion configuration for VPC Encryption Control.</p>
1960
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1961
+ * @public
1962
+ */
1963
+ export interface VpcEncryptionControlExclusion {
1554
1964
  /**
1555
- * <p>The ID of the VPC for which to create the egress-only internet gateway.</p>
1965
+ * <p>The current state of the exclusion configuration.</p>
1556
1966
  * @public
1557
1967
  */
1558
- VpcId: string | undefined;
1968
+ State?: VpcEncryptionControlExclusionState | undefined;
1559
1969
  /**
1560
- * <p>The tags to assign to the egress-only internet gateway.</p>
1970
+ * <p>A message providing additional information about the exclusion state.</p>
1561
1971
  * @public
1562
1972
  */
1563
- TagSpecifications?: TagSpecification[] | undefined;
1973
+ StateMessage?: string | undefined;
1564
1974
  }
1565
1975
  /**
1566
- * <p>Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.</p>
1976
+ * <p>Describes the exclusion configurations for various resource types in VPC Encryption Control.</p>
1977
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1567
1978
  * @public
1568
1979
  */
1569
- export interface InternetGatewayAttachment {
1980
+ export interface VpcEncryptionControlExclusions {
1570
1981
  /**
1571
- * <p>The current state of the attachment. For an internet gateway, the state is
1572
- * <code>available</code> when attached to a VPC; otherwise, this value is not
1573
- * returned.</p>
1982
+ * <p>The exclusion configuration for internet gateway traffic.</p>
1574
1983
  * @public
1575
1984
  */
1576
- State?: AttachmentStatus | undefined;
1985
+ InternetGateway?: VpcEncryptionControlExclusion | undefined;
1577
1986
  /**
1578
- * <p>The ID of the VPC.</p>
1987
+ * <p>The exclusion configuration for egress-only internet gateway traffic.</p>
1579
1988
  * @public
1580
1989
  */
1581
- VpcId?: string | undefined;
1582
- }
1583
- /**
1584
- * <p>Describes an egress-only internet gateway.</p>
1585
- * @public
1586
- */
1587
- export interface EgressOnlyInternetGateway {
1990
+ EgressOnlyInternetGateway?: VpcEncryptionControlExclusion | undefined;
1588
1991
  /**
1589
- * <p>Information about the attachment of the egress-only internet gateway.</p>
1992
+ * <p>The exclusion configuration for NAT gateway traffic.</p>
1590
1993
  * @public
1591
1994
  */
1592
- Attachments?: InternetGatewayAttachment[] | undefined;
1995
+ NatGateway?: VpcEncryptionControlExclusion | undefined;
1593
1996
  /**
1594
- * <p>The ID of the egress-only internet gateway.</p>
1997
+ * <p>The exclusion configuration for virtual private gateway traffic.</p>
1595
1998
  * @public
1596
1999
  */
1597
- EgressOnlyInternetGatewayId?: string | undefined;
2000
+ VirtualPrivateGateway?: VpcEncryptionControlExclusion | undefined;
1598
2001
  /**
1599
- * <p>The tags assigned to the egress-only internet gateway.</p>
2002
+ * <p>The exclusion configuration for VPC peering connection traffic.</p>
1600
2003
  * @public
1601
2004
  */
1602
- Tags?: Tag[] | undefined;
1603
- }
1604
- /**
1605
- * @public
1606
- */
1607
- export interface CreateEgressOnlyInternetGatewayResult {
2005
+ VpcPeering?: VpcEncryptionControlExclusion | undefined;
1608
2006
  /**
1609
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1610
- * request.</p>
2007
+ * <p>The exclusion configuration for Lambda function traffic.</p>
1611
2008
  * @public
1612
2009
  */
1613
- ClientToken?: string | undefined;
2010
+ Lambda?: VpcEncryptionControlExclusion | undefined;
1614
2011
  /**
1615
- * <p>Information about the egress-only internet gateway.</p>
2012
+ * <p>The exclusion configuration for VPC Lattice traffic.</p>
1616
2013
  * @public
1617
2014
  */
1618
- EgressOnlyInternetGateway?: EgressOnlyInternetGateway | undefined;
2015
+ VpcLattice?: VpcEncryptionControlExclusion | undefined;
2016
+ /**
2017
+ * <p>The exclusion configuration for Elastic File System traffic.</p>
2018
+ * @public
2019
+ */
2020
+ ElasticFileSystem?: VpcEncryptionControlExclusion | undefined;
1619
2021
  }
1620
2022
  /**
1621
- * <p>The Amazon EC2 launch template that can be used by
1622
- * an EC2 Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.</p>
1623
- * <p>For information about launch templates, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch
1624
- * an instance from a launch template</a> in the
1625
- * <i>Amazon EC2 User Guide</i>.</p>
2023
+ * <p>Describes the configuration and state of VPC encryption controls.</p>
2024
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1626
2025
  * @public
1627
2026
  */
1628
- export interface FleetLaunchTemplateSpecificationRequest {
2027
+ export interface VpcEncryptionControl {
1629
2028
  /**
1630
- * <p>The ID of the launch template.</p>
1631
- * <p>You must specify the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>
2029
+ * <p>The ID of the VPC associated with the encryption control configuration.</p>
1632
2030
  * @public
1633
2031
  */
1634
- LaunchTemplateId?: string | undefined;
2032
+ VpcId?: string | undefined;
1635
2033
  /**
1636
- * <p>The name of the launch template.</p>
1637
- * <p>You must specify the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>
2034
+ * <p>The ID of the VPC Encryption Control configuration.</p>
1638
2035
  * @public
1639
2036
  */
1640
- LaunchTemplateName?: string | undefined;
2037
+ VpcEncryptionControlId?: string | undefined;
1641
2038
  /**
1642
- * <p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>. You must specify a value, otherwise the request fails.</p>
1643
- * <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch template.</p>
1644
- * <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the launch template.</p>
2039
+ * <p>The encryption mode for the VPC Encryption Control configuration.</p>
1645
2040
  * @public
1646
2041
  */
1647
- Version?: string | undefined;
2042
+ Mode?: VpcEncryptionControlMode | undefined;
1648
2043
  /**
1649
- * <p>The base64-encoded user data for instances launched by the fleet. User data is limited
1650
- * to 16 KB, in raw form, before it is base64-encoded.</p>
1651
- * <p>Supported only for fleets of type <code>instant</code>.</p>
2044
+ * <p>The current state of the VPC Encryption Control configuration.</p>
1652
2045
  * @public
1653
2046
  */
1654
- LaunchTemplateSpecificationUserData?: string | undefined;
2047
+ State?: VpcEncryptionControlState | undefined;
2048
+ /**
2049
+ * <p>A message providing additional information about the encryption control state.</p>
2050
+ * @public
2051
+ */
2052
+ StateMessage?: string | undefined;
2053
+ /**
2054
+ * <p>Information about resource exclusions for the VPC Encryption Control configuration.</p>
2055
+ * @public
2056
+ */
2057
+ ResourceExclusions?: VpcEncryptionControlExclusions | undefined;
2058
+ /**
2059
+ * <p>The tags assigned to the VPC Encryption Control configuration.</p>
2060
+ * @public
2061
+ */
2062
+ Tags?: Tag[] | undefined;
1655
2063
  }
1656
2064
  /**
1657
- * <p>Describes a block device for an EBS volume.</p>
2065
+ * <p>Describes a VPC.</p>
1658
2066
  * @public
1659
2067
  */
1660
- export interface FleetEbsBlockDeviceRequest {
2068
+ export interface Vpc {
1661
2069
  /**
1662
- * <p>Indicates whether the encryption state of an EBS volume is changed while being restored
1663
- * from a backing snapshot. The effect of setting the encryption state to <code>true</code>
1664
- * depends on the volume origin (new or from a snapshot), starting encryption state,
1665
- * ownership, and whether encryption by default is enabled. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS
1666
- * encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
1667
- * <p>In no case can you remove encryption from an encrypted volume.</p>
1668
- * <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
1669
- * more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances">Supported instance types</a>.</p>
1670
- * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute">DescribeImageAttribute</a>.</p>
1671
- * <p>For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage">CreateImage</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RegisterImage">RegisterImage</a>, whether you
1672
- * can include this parameter, and the allowed values differ depending on the type of block
1673
- * device mapping you are creating.</p>
1674
- * <ul>
1675
- * <li>
1676
- * <p>If you are creating a block device mapping for a <b>new (empty)
1677
- * volume</b>, you can include this parameter, and specify either
1678
- * <code>true</code> for an encrypted volume, or <code>false</code> for an
1679
- * unencrypted volume. If you omit this parameter, it defaults to <code>false</code>
1680
- * (unencrypted).</p>
1681
- * </li>
1682
- * <li>
1683
- * <p>If you are creating a block device mapping from an <b>existing encrypted or
1684
- * unencrypted snapshot</b>, you must omit this parameter. If you include this
1685
- * parameter, the request will fail, regardless of the value that you specify.</p>
1686
- * </li>
1687
- * <li>
1688
- * <p>If you are creating a block device mapping from an <b>existing unencrypted
1689
- * volume</b>, you can include this parameter, but you must specify
1690
- * <code>false</code>. If you specify <code>true</code>, the request will fail. In
1691
- * this case, we recommend that you omit the parameter.</p>
1692
- * </li>
1693
- * <li>
1694
- * <p>If you are creating a block device mapping from an <b>existing encrypted
1695
- * volume</b>, you can include this parameter, and specify either
1696
- * <code>true</code> or <code>false</code>. However, if you specify
1697
- * <code>false</code>, the parameter is ignored and the block device mapping is
1698
- * always encrypted. In this case, we recommend that you omit the parameter.</p>
1699
- * </li>
1700
- * </ul>
2070
+ * <p>The ID of the Amazon Web Services account that owns the VPC.</p>
1701
2071
  * @public
1702
2072
  */
1703
- Encrypted?: boolean | undefined;
2073
+ OwnerId?: string | undefined;
1704
2074
  /**
1705
- * <p>Indicates whether the EBS volume is deleted on instance termination. For more
1706
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html">Preserve data when
1707
- * an instance is terminated</a> in the <i>Amazon EC2 User Guide</i>.</p>
2075
+ * <p>The allowed tenancy of instances launched into the VPC.</p>
1708
2076
  * @public
1709
2077
  */
1710
- DeleteOnTermination?: boolean | undefined;
2078
+ InstanceTenancy?: Tenancy | undefined;
1711
2079
  /**
1712
- * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes,
1713
- * this represents the number of IOPS that are provisioned for the volume. For <code>gp2</code>
1714
- * volumes, this represents the baseline performance of the volume and the rate at which
1715
- * the volume accumulates I/O credits for bursting.</p>
1716
- * <p>The following are the supported values for each volume type:</p>
1717
- * <ul>
1718
- * <li>
1719
- * <p>
1720
- * <code>gp3</code>: 3,000 - 80,000 IOPS</p>
1721
- * </li>
1722
- * <li>
1723
- * <p>
1724
- * <code>io1</code>: 100 - 64,000 IOPS</p>
1725
- * </li>
1726
- * <li>
1727
- * <p>
1728
- * <code>io2</code>: 100 - 256,000 IOPS</p>
1729
- * </li>
1730
- * </ul>
1731
- * <p>For <code>io2</code> volumes, you can achieve up to 256,000 IOPS on
1732
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">instances
1733
- * built on the Nitro System</a>. On other instances, you can achieve performance up to 32,000 IOPS.</p>
1734
- * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes. The default for <code>gp3</code> volumes
1735
- * is 3,000 IOPS.</p>
2080
+ * <p>Information about the IPv6 CIDR blocks associated with the VPC.</p>
1736
2081
  * @public
1737
2082
  */
1738
- Iops?: number | undefined;
1739
- /**
1740
- * <p>The throughput that the volume supports, in MiB/s.</p>
1741
- * <p>This parameter is valid only for <code>gp3</code> volumes.</p>
1742
- * <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
2083
+ Ipv6CidrBlockAssociationSet?: VpcIpv6CidrBlockAssociation[] | undefined;
2084
+ /**
2085
+ * <p>Information about the IPv4 CIDR blocks associated with the VPC.</p>
1743
2086
  * @public
1744
2087
  */
1745
- Throughput?: number | undefined;
2088
+ CidrBlockAssociationSet?: VpcCidrBlockAssociation[] | undefined;
1746
2089
  /**
1747
- * <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
1748
- * to use for EBS encryption.</p>
1749
- * <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
1750
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
2090
+ * <p>Indicates whether the VPC is the default VPC.</p>
1751
2091
  * @public
1752
2092
  */
1753
- KmsKeyId?: string | undefined;
2093
+ IsDefault?: boolean | undefined;
1754
2094
  /**
1755
- * <p>The ID of the snapshot.</p>
2095
+ * <p>Describes the configuration and state of VPC encryption controls.</p>
2096
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html">Enforce VPC encryption in transit</a> in the <i>Amazon VPC User Guide</i>.</p>
1756
2097
  * @public
1757
2098
  */
1758
- SnapshotId?: string | undefined;
2099
+ EncryptionControl?: VpcEncryptionControl | undefined;
1759
2100
  /**
1760
- * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
1761
- * size. If you specify a snapshot, the default is the snapshot size. You can specify a
1762
- * volume size that is equal to or larger than the snapshot size.</p>
1763
- * <p>The following are the supported sizes for each volume type:</p>
1764
- * <ul>
1765
- * <li>
1766
- * <p>
1767
- * <code>gp2</code>: 1 - 16,384 GiB</p>
1768
- * </li>
1769
- * <li>
1770
- * <p>
1771
- * <code>gp3</code>: 1 - 65,536 GiB</p>
1772
- * </li>
1773
- * <li>
1774
- * <p>
1775
- * <code>io1</code>: 4 - 16,384 GiB</p>
1776
- * </li>
1777
- * <li>
1778
- * <p>
1779
- * <code>io2</code>: 4 - 65,536 GiB</p>
1780
- * </li>
1781
- * <li>
1782
- * <p>
1783
- * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
1784
- * </li>
1785
- * <li>
1786
- * <p>
1787
- * <code>standard</code>: 1 - 1024 GiB</p>
1788
- * </li>
1789
- * </ul>
2101
+ * <p>Any tags assigned to the VPC.</p>
1790
2102
  * @public
1791
2103
  */
1792
- VolumeSize?: number | undefined;
2104
+ Tags?: Tag[] | undefined;
1793
2105
  /**
1794
- * <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the
1795
- * <i>Amazon EBS User Guide</i>.</p>
2106
+ * <p>The state of VPC Block Public Access (BPA).</p>
1796
2107
  * @public
1797
2108
  */
1798
- VolumeType?: VolumeType | undefined;
1799
- }
1800
- /**
1801
- * <p>Describes a block device mapping, which defines the EBS volumes and instance store
1802
- * volumes to attach to an instance at launch.</p>
1803
- * <p>To override a block device mapping specified in the launch template:</p>
1804
- * <ul>
1805
- * <li>
1806
- * <p>Specify the exact same <code>DeviceName</code> here as specified in the launch
1807
- * template.</p>
1808
- * </li>
1809
- * <li>
1810
- * <p>Only specify the parameters you want to change.</p>
1811
- * </li>
1812
- * <li>
1813
- * <p>Any parameters you don't specify here will keep their original launch template
1814
- * values.</p>
1815
- * </li>
1816
- * </ul>
1817
- * <p>To add a new block device mapping:</p>
1818
- * <ul>
1819
- * <li>
1820
- * <p>Specify a <code>DeviceName</code> that doesn't exist in the launch
1821
- * template.</p>
1822
- * </li>
1823
- * <li>
1824
- * <p>Specify all desired parameters here.</p>
1825
- * </li>
1826
- * </ul>
1827
- * @public
1828
- */
1829
- export interface FleetBlockDeviceMappingRequest {
2109
+ BlockPublicAccessStates?: BlockPublicAccessStates | undefined;
1830
2110
  /**
1831
- * <p>The device name (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
2111
+ * <p>The ID of the VPC.</p>
1832
2112
  * @public
1833
2113
  */
1834
- DeviceName?: string | undefined;
2114
+ VpcId?: string | undefined;
1835
2115
  /**
1836
- * <p>The virtual device name (<code>ephemeralN</code>). Instance store volumes are numbered
1837
- * starting from 0. An instance type with 2 available instance store volumes can specify
1838
- * mappings for <code>ephemeral0</code> and <code>ephemeral1</code>. The number of available
1839
- * instance store volumes depends on the instance type. After you connect to the instance, you
1840
- * must mount the volume.</p>
1841
- * <p>NVMe instance store volumes are automatically enumerated and assigned a device name.
1842
- * Including them in your block device mapping has no effect.</p>
1843
- * <p>Constraints: For M3 instances, you must specify instance store volumes in the block
1844
- * device mapping for the instance. When you launch an M3 instance, we ignore any instance
1845
- * store volumes specified in the block device mapping for the AMI.</p>
2116
+ * <p>The current state of the VPC.</p>
1846
2117
  * @public
1847
2118
  */
1848
- VirtualName?: string | undefined;
2119
+ State?: VpcState | undefined;
1849
2120
  /**
1850
- * <p>Parameters used to automatically set up EBS volumes when the instance is
1851
- * launched.</p>
2121
+ * <p>The primary IPv4 CIDR block for the VPC.</p>
1852
2122
  * @public
1853
2123
  */
1854
- Ebs?: FleetEbsBlockDeviceRequest | undefined;
2124
+ CidrBlock?: string | undefined;
1855
2125
  /**
1856
- * <p>To omit the device from the block device mapping, specify an empty string. When this
1857
- * property is specified, the device is removed from the block device mapping regardless of
1858
- * the assigned value.</p>
2126
+ * <p>The ID of the set of DHCP options you've associated with the VPC.</p>
1859
2127
  * @public
1860
2128
  */
1861
- NoDevice?: string | undefined;
2129
+ DhcpOptionsId?: string | undefined;
1862
2130
  }
1863
2131
  /**
1864
- * <p>Describes an IAM instance profile. Supported only for fleets of type
1865
- * <code>instant</code>.</p>
1866
2132
  * @public
1867
2133
  */
1868
- export interface FleetIamInstanceProfileSpecificationRequest {
1869
- /**
1870
- * <p>The Amazon Resource Name (ARN) of the instance profile.</p>
1871
- * @public
1872
- */
1873
- Arn?: string | undefined;
2134
+ export interface CreateDefaultVpcResult {
1874
2135
  /**
1875
- * <p>The name of the instance profile.</p>
2136
+ * <p>Information about the VPC.</p>
1876
2137
  * @public
1877
2138
  */
1878
- Name?: string | undefined;
2139
+ Vpc?: Vpc | undefined;
1879
2140
  }
1880
2141
  /**
1881
- * <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
1882
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
1883
- * EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
1884
2142
  * @public
1885
2143
  */
1886
- export interface BaselineEbsBandwidthMbpsRequest {
2144
+ export interface CreateDelegateMacVolumeOwnershipTaskRequest {
1887
2145
  /**
1888
- * <p>The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit
1889
- * this parameter.</p>
2146
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
1890
2147
  * @public
1891
2148
  */
1892
- Min?: number | undefined;
2149
+ ClientToken?: string | undefined;
1893
2150
  /**
1894
- * <p>The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit
1895
- * this parameter.</p>
2151
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
1896
2152
  * @public
1897
2153
  */
1898
- Max?: number | undefined;
1899
- }
1900
- /**
1901
- * <p>Specify an instance family to use as the baseline reference for CPU performance. All
1902
- * instance types that match your specified attributes will be compared against the CPU
1903
- * performance of the referenced instance family, regardless of CPU manufacturer or
1904
- * architecture.</p>
1905
- * <note>
1906
- * <p>Currently, only one instance family can be specified in the list.</p>
1907
- * </note>
1908
- * @public
1909
- */
1910
- export interface PerformanceFactorReferenceRequest {
2154
+ DryRun?: boolean | undefined;
1911
2155
  /**
1912
- * <p>The instance family to use as a baseline reference.</p>
1913
- * <note>
1914
- * <p>Ensure that you specify the correct value for the instance family. The instance
1915
- * family is everything before the period (<code>.</code>) in the instance type name. For
1916
- * example, in the instance type <code>c6i.large</code>, the instance family is
1917
- * <code>c6i</code>, not <code>c6</code>. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2
1918
- * instance type naming conventions</a> in <i>Amazon EC2 Instance
1919
- * Types</i>.</p>
1920
- * </note>
1921
- * <p>The following instance families are <i>not supported</i> for performance
1922
- * protection:</p>
2156
+ * <p>The ID of the Amazon EC2 Mac instance.</p>
2157
+ * @public
2158
+ */
2159
+ InstanceId: string | undefined;
2160
+ /**
2161
+ * <p>Specifies the following credentials:</p>
1923
2162
  * <ul>
1924
2163
  * <li>
1925
2164
  * <p>
1926
- * <code>c1</code>
1927
- * </p>
1928
- * </li>
1929
- * <li>
1930
- * <p>
1931
- * <code>g3</code> | <code>g3s</code>
1932
- * </p>
1933
- * </li>
1934
- * <li>
1935
- * <p>
1936
- * <code>hpc7g</code>
1937
- * </p>
1938
- * </li>
1939
- * <li>
1940
- * <p>
1941
- * <code>m1</code> | <code>m2</code>
1942
- * </p>
1943
- * </li>
1944
- * <li>
1945
- * <p>
1946
- * <code>mac1</code> | <code>mac2</code> | <code>mac2-m1ultra</code> |
1947
- * <code>mac2-m2</code> | <code>mac2-m2pro</code>
1948
- * </p>
1949
- * </li>
1950
- * <li>
1951
- * <p>
1952
- * <code>p3dn</code> | <code>p4d</code> | <code>p5</code>
1953
- * </p>
1954
- * </li>
1955
- * <li>
1956
- * <p>
1957
- * <code>t1</code>
2165
+ * <b>Internal disk administrative user</b>
1958
2166
  * </p>
2167
+ * <ul>
2168
+ * <li>
2169
+ * <p>
2170
+ * <b>Username</b> - Only the default administrative user
2171
+ * (<code>aws-managed-user</code>) is supported and it is used by default. You can't
2172
+ * specify a different administrative user.</p>
2173
+ * </li>
2174
+ * <li>
2175
+ * <p>
2176
+ * <b>Password</b> - If you did not change the default
2177
+ * password for <code>aws-managed-user</code>, specify the default password, which is
2178
+ * <i>blank</i>. Otherwise, specify your password.</p>
2179
+ * </li>
2180
+ * </ul>
1959
2181
  * </li>
1960
2182
  * <li>
1961
2183
  * <p>
1962
- * <code>u-12tb1</code> | <code>u-18tb1</code> | <code>u-24tb1</code> |
1963
- * <code>u-3tb1</code> | <code>u-6tb1</code> | <code>u-9tb1</code> |
1964
- * <code>u7i-12tb</code> | <code>u7in-16tb</code> | <code>u7in-24tb</code> |
1965
- * <code>u7in-32tb</code>
2184
+ * <b>Amazon EBS root volume administrative user</b>
1966
2185
  * </p>
2186
+ * <ul>
2187
+ * <li>
2188
+ * <p>
2189
+ * <b>Username</b> - If you did not change the default
2190
+ * administrative user, specify <code>ec2-user</code>. Otherwise, specify the username
2191
+ * for your administrative user.</p>
2192
+ * </li>
2193
+ * <li>
2194
+ * <p>
2195
+ * <b>Password</b> - Specify the password for the
2196
+ * administrative user.</p>
2197
+ * </li>
2198
+ * </ul>
1967
2199
  * </li>
1968
2200
  * </ul>
1969
- * <p>If you enable performance protection by specifying a supported instance family, the
1970
- * returned instance types will exclude the above unsupported instance families.</p>
1971
- * <p>If you specify an unsupported instance family as a value for baseline performance, the
1972
- * API returns an empty response for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements">GetInstanceTypesFromInstanceRequirements</a> and an exception for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet">RequestSpotFleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet">ModifyFleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest">ModifySpotFleetRequest</a>.</p>
2201
+ * <p>The credentials must be specified in the following JSON format:</p>
2202
+ * <p>
2203
+ * <code>\{
2204
+ * "internalDiskPassword":"<i>internal-disk-admin_password</i>",
2205
+ * "rootVolumeUsername":"<i>root-volume-admin_username</i>",
2206
+ * "rootVolumepassword":"<i>root-volume-admin_password</i>"
2207
+ * \}</code>
2208
+ * </p>
2209
+ * @public
2210
+ */
2211
+ MacCredentials: string | undefined;
2212
+ /**
2213
+ * <p>The tags to assign to the volume ownership delegation task.</p>
2214
+ * @public
2215
+ */
2216
+ TagSpecifications?: TagSpecification[] | undefined;
2217
+ }
2218
+ /**
2219
+ * <p>Describes the configuration for a System Integrity Protection (SIP) modification task.</p>
2220
+ * @public
2221
+ */
2222
+ export interface MacSystemIntegrityProtectionConfiguration {
2223
+ /**
2224
+ * <p>Indicates whether Apple Internal was enabled or disabled by the task.</p>
1973
2225
  * @public
1974
2226
  */
1975
- InstanceFamily?: string | undefined;
2227
+ AppleInternal?: MacSystemIntegrityProtectionSettingStatus | undefined;
2228
+ /**
2229
+ * <p>Indicates whether Base System was enabled or disabled by the task.</p>
2230
+ * @public
2231
+ */
2232
+ BaseSystem?: MacSystemIntegrityProtectionSettingStatus | undefined;
2233
+ /**
2234
+ * <p>Indicates whether Debugging Restrictions was enabled or disabled by the task.</p>
2235
+ * @public
2236
+ */
2237
+ DebuggingRestrictions?: MacSystemIntegrityProtectionSettingStatus | undefined;
2238
+ /**
2239
+ * <p>Indicates whether Dtrace Restrictions was enabled or disabled by the task.</p>
2240
+ * @public
2241
+ */
2242
+ DTraceRestrictions?: MacSystemIntegrityProtectionSettingStatus | undefined;
2243
+ /**
2244
+ * <p>Indicates whether Filesystem Protections was enabled or disabled by the task.</p>
2245
+ * @public
2246
+ */
2247
+ FilesystemProtections?: MacSystemIntegrityProtectionSettingStatus | undefined;
2248
+ /**
2249
+ * <p>Indicates whether Kext Signing was enabled or disabled by the task.</p>
2250
+ * @public
2251
+ */
2252
+ KextSigning?: MacSystemIntegrityProtectionSettingStatus | undefined;
2253
+ /**
2254
+ * <p>Indicates whether NVRAM Protections was enabled or disabled by the task.</p>
2255
+ * @public
2256
+ */
2257
+ NvramProtections?: MacSystemIntegrityProtectionSettingStatus | undefined;
2258
+ /**
2259
+ * <p>Indicates SIP was enabled or disabled by the task.</p>
2260
+ * @public
2261
+ */
2262
+ Status?: MacSystemIntegrityProtectionSettingStatus | undefined;
1976
2263
  }
1977
2264
  /**
1978
- * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
2265
+ * <p>Information about a System Integrity Protection (SIP) modification task or volume
2266
+ * ownership delegation task for an Amazon EC2 Mac instance.</p>
1979
2267
  * @public
1980
2268
  */
1981
- export interface CpuPerformanceFactorRequest {
2269
+ export interface MacModificationTask {
1982
2270
  /**
1983
- * <p>Specify an instance family to use as the baseline reference for CPU performance. All
1984
- * instance types that match your specified attributes will be compared against the CPU
1985
- * performance of the referenced instance family, regardless of CPU manufacturer or
1986
- * architecture differences.</p>
1987
- * <note>
1988
- * <p>Currently, only one instance family can be specified in the list.</p>
1989
- * </note>
2271
+ * <p>The ID of the Amazon EC2 Mac instance.</p>
2272
+ * @public
2273
+ */
2274
+ InstanceId?: string | undefined;
2275
+ /**
2276
+ * <p>The ID of task.</p>
2277
+ * @public
2278
+ */
2279
+ MacModificationTaskId?: string | undefined;
2280
+ /**
2281
+ * <p>[SIP modification tasks only] Information about the SIP
2282
+ * configuration.</p>
2283
+ * @public
2284
+ */
2285
+ MacSystemIntegrityProtectionConfig?: MacSystemIntegrityProtectionConfiguration | undefined;
2286
+ /**
2287
+ * <p>The date and time the task was created, in the UTC timezone
2288
+ * (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
2289
+ * @public
2290
+ */
2291
+ StartTime?: Date | undefined;
2292
+ /**
2293
+ * <p>The tags assigned to the task.</p>
2294
+ * @public
2295
+ */
2296
+ Tags?: Tag[] | undefined;
2297
+ /**
2298
+ * <p>The state of the task.</p>
2299
+ * @public
2300
+ */
2301
+ TaskState?: MacModificationTaskState | undefined;
2302
+ /**
2303
+ * <p>The type of task.</p>
1990
2304
  * @public
1991
2305
  */
1992
- References?: PerformanceFactorReferenceRequest[] | undefined;
2306
+ TaskType?: MacModificationTaskType | undefined;
1993
2307
  }
1994
2308
  /**
1995
- * <p>The baseline performance to consider, using an instance family as a baseline reference.
1996
- * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
1997
- * baseline to guide instance type selection, but there is no guarantee that the selected
1998
- * instance types will always exceed the baseline for every application.</p>
1999
- * <p>Currently, this parameter only supports CPU performance as a baseline performance
2000
- * factor. For example, specifying <code>c6i</code> would use the CPU performance of the
2001
- * <code>c6i</code> family as the baseline reference.</p>
2002
2309
  * @public
2003
2310
  */
2004
- export interface BaselinePerformanceFactorsRequest {
2311
+ export interface CreateDelegateMacVolumeOwnershipTaskResult {
2005
2312
  /**
2006
- * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
2313
+ * <p>Information about the volume ownership delegation task.</p>
2007
2314
  * @public
2008
2315
  */
2009
- Cpu?: CpuPerformanceFactorRequest | undefined;
2316
+ MacModificationTask?: MacModificationTask | undefined;
2010
2317
  }
2011
2318
  /**
2012
- * <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
2319
+ * <p>Describes a DHCP configuration option.</p>
2013
2320
  * @public
2014
2321
  */
2015
- export interface MemoryGiBPerVCpuRequest {
2322
+ export interface NewDhcpConfiguration {
2016
2323
  /**
2017
- * <p>The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this
2018
- * parameter.</p>
2324
+ * <p>The name of a DHCP option.</p>
2019
2325
  * @public
2020
2326
  */
2021
- Min?: number | undefined;
2327
+ Key?: string | undefined;
2022
2328
  /**
2023
- * <p>The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this
2024
- * parameter.</p>
2329
+ * <p>The values for the DHCP option.</p>
2025
2330
  * @public
2026
2331
  */
2027
- Max?: number | undefined;
2332
+ Values?: string[] | undefined;
2028
2333
  }
2029
2334
  /**
2030
- * <p>The minimum and maximum amount of memory, in MiB.</p>
2031
2335
  * @public
2032
2336
  */
2033
- export interface MemoryMiBRequest {
2337
+ export interface CreateDhcpOptionsRequest {
2034
2338
  /**
2035
- * <p>The minimum amount of memory, in MiB. To specify no minimum limit, specify
2036
- * <code>0</code>.</p>
2339
+ * <p>A DHCP configuration option.</p>
2037
2340
  * @public
2038
2341
  */
2039
- Min: number | undefined;
2342
+ DhcpConfigurations: NewDhcpConfiguration[] | undefined;
2040
2343
  /**
2041
- * <p>The maximum amount of memory, in MiB. To specify no maximum limit, omit this
2042
- * parameter.</p>
2344
+ * <p>The tags to assign to the DHCP option.</p>
2043
2345
  * @public
2044
2346
  */
2045
- Max?: number | undefined;
2347
+ TagSpecifications?: TagSpecification[] | undefined;
2348
+ /**
2349
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2350
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2351
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2352
+ * @public
2353
+ */
2354
+ DryRun?: boolean | undefined;
2046
2355
  }
2047
2356
  /**
2048
- * <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
2049
- * <note>
2050
- * <p>Setting the minimum bandwidth does not guarantee that your instance will achieve the
2051
- * minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum
2052
- * bandwidth, but the actual bandwidth of your instance might go below the specified minimum
2053
- * at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
2054
- * <i>Amazon EC2 User Guide</i>.</p>
2055
- * </note>
2357
+ * <p>Describes a value for a resource attribute that is a String.</p>
2056
2358
  * @public
2057
2359
  */
2058
- export interface NetworkBandwidthGbpsRequest {
2059
- /**
2060
- * <p>The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this
2061
- * parameter.</p>
2062
- * @public
2063
- */
2064
- Min?: number | undefined;
2360
+ export interface AttributeValue {
2065
2361
  /**
2066
- * <p>The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this
2067
- * parameter.</p>
2362
+ * <p>The attribute value. The value is case-sensitive.</p>
2068
2363
  * @public
2069
2364
  */
2070
- Max?: number | undefined;
2365
+ Value?: string | undefined;
2071
2366
  }
2072
2367
  /**
2073
- * <p>The minimum and maximum number of network interfaces.</p>
2368
+ * <p>Describes a DHCP configuration option.</p>
2074
2369
  * @public
2075
2370
  */
2076
- export interface NetworkInterfaceCountRequest {
2371
+ export interface DhcpConfiguration {
2077
2372
  /**
2078
- * <p>The minimum number of network interfaces. To specify no minimum limit, omit this
2079
- * parameter.</p>
2373
+ * <p>The name of a DHCP option.</p>
2080
2374
  * @public
2081
2375
  */
2082
- Min?: number | undefined;
2376
+ Key?: string | undefined;
2083
2377
  /**
2084
- * <p>The maximum number of network interfaces. To specify no maximum limit, omit this
2085
- * parameter.</p>
2378
+ * <p>The values for the DHCP option.</p>
2086
2379
  * @public
2087
2380
  */
2088
- Max?: number | undefined;
2381
+ Values?: AttributeValue[] | undefined;
2089
2382
  }
2090
2383
  /**
2091
- * <p>The minimum and maximum amount of total local storage, in GB.</p>
2384
+ * <p>The set of DHCP options.</p>
2092
2385
  * @public
2093
2386
  */
2094
- export interface TotalLocalStorageGBRequest {
2387
+ export interface DhcpOptions {
2095
2388
  /**
2096
- * <p>The minimum amount of total local storage, in GB. To specify no minimum limit, omit this
2097
- * parameter.</p>
2389
+ * <p>The ID of the Amazon Web Services account that owns the DHCP options set.</p>
2098
2390
  * @public
2099
2391
  */
2100
- Min?: number | undefined;
2392
+ OwnerId?: string | undefined;
2101
2393
  /**
2102
- * <p>The maximum amount of total local storage, in GB. To specify no maximum limit, omit this
2103
- * parameter.</p>
2394
+ * <p>Any tags assigned to the DHCP options set.</p>
2104
2395
  * @public
2105
2396
  */
2106
- Max?: number | undefined;
2107
- }
2108
- /**
2109
- * <p>The minimum and maximum number of vCPUs.</p>
2110
- * @public
2111
- */
2112
- export interface VCpuCountRangeRequest {
2397
+ Tags?: Tag[] | undefined;
2113
2398
  /**
2114
- * <p>The minimum number of vCPUs. To specify no minimum limit, specify <code>0</code>.</p>
2399
+ * <p>The ID of the set of DHCP options.</p>
2115
2400
  * @public
2116
2401
  */
2117
- Min: number | undefined;
2402
+ DhcpOptionsId?: string | undefined;
2118
2403
  /**
2119
- * <p>The maximum number of vCPUs. To specify no maximum limit, omit this parameter.</p>
2404
+ * <p>The DHCP options in the set.</p>
2120
2405
  * @public
2121
2406
  */
2122
- Max?: number | undefined;
2407
+ DhcpConfigurations?: DhcpConfiguration[] | undefined;
2123
2408
  }
2124
2409
  /**
2125
- * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
2126
- * identify instance types with these attributes.</p>
2127
- * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
2128
- * are optional. Any unspecified optional attribute is set to its default.</p>
2129
- * <p>When you specify multiple attributes, you get instance types that satisfy all of the
2130
- * specified attributes. If you specify multiple values for an attribute, you get instance
2131
- * types that satisfy any of the specified values.</p>
2132
- * <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
2133
- * you can use one of the following parameters, but not both in the same request:</p>
2134
- * <ul>
2135
- * <li>
2136
- * <p>
2137
- * <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
2138
- * other instance types are ignored, even if they match your specified attributes.</p>
2139
- * </li>
2140
- * <li>
2141
- * <p>
2142
- * <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
2143
- * even if they match your specified attributes.</p>
2144
- * </li>
2145
- * </ul>
2146
- * <note>
2147
- * <p>If you specify <code>InstanceRequirements</code>, you can't specify
2148
- * <code>InstanceType</code>.</p>
2149
- * <p>Attribute-based instance type selection is only supported when using Auto Scaling
2150
- * groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in
2151
- * the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html">launch instance
2152
- * wizard</a>, or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> API or
2153
- * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify
2154
- * <code>InstanceRequirements</code>.</p>
2155
- * </note>
2156
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Specify attributes for instance type selection for EC2 Fleet or Spot Fleet</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
2157
- * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
2158
2410
  * @public
2159
2411
  */
2160
- export interface InstanceRequirementsRequest {
2161
- /**
2162
- * <p>The minimum and maximum number of vCPUs.</p>
2163
- * @public
2164
- */
2165
- VCpuCount: VCpuCountRangeRequest | undefined;
2412
+ export interface CreateDhcpOptionsResult {
2166
2413
  /**
2167
- * <p>The minimum and maximum amount of memory, in MiB.</p>
2414
+ * <p>A set of DHCP options.</p>
2168
2415
  * @public
2169
2416
  */
2170
- MemoryMiB: MemoryMiBRequest | undefined;
2417
+ DhcpOptions?: DhcpOptions | undefined;
2418
+ }
2419
+ /**
2420
+ * @public
2421
+ */
2422
+ export interface CreateEgressOnlyInternetGatewayRequest {
2171
2423
  /**
2172
- * <p>The CPU manufacturers to include.</p>
2173
- * <ul>
2174
- * <li>
2175
- * <p>For instance types with Intel CPUs, specify <code>intel</code>.</p>
2176
- * </li>
2177
- * <li>
2178
- * <p>For instance types with AMD CPUs, specify <code>amd</code>.</p>
2179
- * </li>
2180
- * <li>
2181
- * <p>For instance types with Amazon Web Services CPUs, specify <code>amazon-web-services</code>.</p>
2182
- * </li>
2183
- * <li>
2184
- * <p>For instance types with Apple CPUs, specify <code>apple</code>.</p>
2185
- * </li>
2186
- * </ul>
2187
- * <note>
2188
- * <p>Don't confuse the CPU manufacturer with the CPU architecture. Instances will
2189
- * be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you
2190
- * specify in your launch template.</p>
2191
- * </note>
2192
- * <p>Default: Any manufacturer</p>
2424
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
2425
+ * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
2193
2426
  * @public
2194
2427
  */
2195
- CpuManufacturers?: CpuManufacturer[] | undefined;
2428
+ ClientToken?: string | undefined;
2196
2429
  /**
2197
- * <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
2198
- * <p>Default: No minimum or maximum limits</p>
2430
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2431
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2432
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2199
2433
  * @public
2200
2434
  */
2201
- MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
2435
+ DryRun?: boolean | undefined;
2202
2436
  /**
2203
- * <p>The instance types to exclude.</p>
2204
- * <p>You can use strings with one or more wild cards, represented by
2205
- * an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The
2206
- * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
2207
- * <code>r*</code>, <code>*3*</code>.</p>
2208
- * <p>For example, if you specify <code>c5*</code>,Amazon EC2 will exclude the entire C5 instance
2209
- * family, which includes all C5a and C5n instance types. If you specify
2210
- * <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n
2211
- * instance types.</p>
2212
- * <note>
2213
- * <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.</p>
2214
- * </note>
2215
- * <p>Default: No excluded instance types</p>
2437
+ * <p>The ID of the VPC for which to create the egress-only internet gateway.</p>
2216
2438
  * @public
2217
2439
  */
2218
- ExcludedInstanceTypes?: string[] | undefined;
2440
+ VpcId: string | undefined;
2219
2441
  /**
2220
- * <p>Indicates whether current or previous generation instance types are included. The
2221
- * current generation instance types are recommended for use. Current generation instance types are
2222
- * typically the latest two to three generations in each instance family. For more
2223
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
2224
- * <i>Amazon EC2 User Guide</i>.</p>
2225
- * <p>For current generation instance types, specify <code>current</code>.</p>
2226
- * <p>For previous generation instance types, specify <code>previous</code>.</p>
2227
- * <p>Default: Current and previous generation instance types</p>
2442
+ * <p>The tags to assign to the egress-only internet gateway.</p>
2228
2443
  * @public
2229
2444
  */
2230
- InstanceGenerations?: InstanceGeneration[] | undefined;
2445
+ TagSpecifications?: TagSpecification[] | undefined;
2446
+ }
2447
+ /**
2448
+ * <p>Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.</p>
2449
+ * @public
2450
+ */
2451
+ export interface InternetGatewayAttachment {
2231
2452
  /**
2232
- * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage higher than
2233
- * an identified Spot price. The identified Spot price is the Spot price of the lowest priced
2234
- * current generation C, M, or R instance type with your specified attributes. If no current
2235
- * generation C, M, or R instance type matches your attributes, then the identified Spot price
2236
- * is from the lowest priced current generation instance types, and failing that, from the
2237
- * lowest priced previous generation instance types that match your attributes. When Amazon EC2
2238
- * selects instance types with your attributes, it will exclude instance types whose Spot
2239
- * price exceeds your specified threshold.</p>
2240
- * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
2241
- * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
2242
- * <code>memory-mib</code>, the price protection threshold is applied based on the
2243
- * per-vCPU or per-memory price instead of the per-instance price.</p>
2244
- * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
2245
- * <note>
2246
- * <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
2247
- * <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you
2248
- * don't specify either, Amazon EC2 will automatically apply optimal price protection to
2249
- * consistently select from a wide range of instance types. To indicate no price protection
2250
- * threshold for Spot Instances, meaning you want to consider all instance types that match your
2251
- * attributes, include one of these parameters and specify a high value, such as
2252
- * <code>999999</code>.</p>
2253
- * </note>
2254
- * <p>Default: <code>100</code>
2255
- * </p>
2453
+ * <p>The current state of the attachment. For an internet gateway, the state is
2454
+ * <code>available</code> when attached to a VPC; otherwise, this value is not
2455
+ * returned.</p>
2256
2456
  * @public
2257
2457
  */
2258
- SpotMaxPricePercentageOverLowestPrice?: number | undefined;
2458
+ State?: AttachmentStatus | undefined;
2259
2459
  /**
2260
- * <p>[Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than
2261
- * an identified On-Demand price. The identified On-Demand price is the price of the lowest
2262
- * priced current generation C, M, or R instance type with your specified attributes. When
2263
- * Amazon EC2 selects instance types with your attributes, it will exclude instance types whose
2264
- * price exceeds your specified threshold.</p>
2265
- * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
2266
- * <p>To indicate no price protection threshold, specify a high value, such as
2267
- * <code>999999</code>.</p>
2268
- * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
2269
- * <note>
2270
- * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
2271
- * <code>memory-mib</code>, the price protection threshold is applied based on the
2272
- * per-vCPU or per-memory price instead of the per-instance price.</p>
2273
- * </note>
2274
- * <p>Default: <code>20</code>
2275
- * </p>
2460
+ * <p>The ID of the VPC.</p>
2276
2461
  * @public
2277
2462
  */
2278
- OnDemandMaxPricePercentageOverLowestPrice?: number | undefined;
2463
+ VpcId?: string | undefined;
2464
+ }
2465
+ /**
2466
+ * <p>Describes an egress-only internet gateway.</p>
2467
+ * @public
2468
+ */
2469
+ export interface EgressOnlyInternetGateway {
2279
2470
  /**
2280
- * <p>Indicates whether bare metal instance types must be included, excluded, or required.</p>
2281
- * <ul>
2282
- * <li>
2283
- * <p>To include bare metal instance types, specify <code>included</code>.</p>
2284
- * </li>
2285
- * <li>
2286
- * <p>To require only bare metal instance types, specify <code>required</code>.</p>
2287
- * </li>
2288
- * <li>
2289
- * <p>To exclude bare metal instance types, specify <code>excluded</code>.</p>
2290
- * </li>
2291
- * </ul>
2292
- * <p>Default: <code>excluded</code>
2293
- * </p>
2471
+ * <p>Information about the attachment of the egress-only internet gateway.</p>
2294
2472
  * @public
2295
2473
  */
2296
- BareMetal?: BareMetal | undefined;
2474
+ Attachments?: InternetGatewayAttachment[] | undefined;
2297
2475
  /**
2298
- * <p>Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see
2299
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable performance instances</a>.</p>
2300
- * <ul>
2301
- * <li>
2302
- * <p>To include burstable performance instance types, specify <code>included</code>.</p>
2303
- * </li>
2304
- * <li>
2305
- * <p>To require only burstable performance instance types, specify <code>required</code>.</p>
2306
- * </li>
2307
- * <li>
2308
- * <p>To exclude burstable performance instance types, specify <code>excluded</code>.</p>
2309
- * </li>
2310
- * </ul>
2311
- * <p>Default: <code>excluded</code>
2312
- * </p>
2476
+ * <p>The ID of the egress-only internet gateway.</p>
2313
2477
  * @public
2314
2478
  */
2315
- BurstablePerformance?: BurstablePerformance | undefined;
2479
+ EgressOnlyInternetGatewayId?: string | undefined;
2316
2480
  /**
2317
- * <p>Indicates whether instance types must support hibernation for On-Demand Instances.</p>
2318
- * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a>.</p>
2319
- * <p>Default: <code>false</code>
2320
- * </p>
2481
+ * <p>The tags assigned to the egress-only internet gateway.</p>
2321
2482
  * @public
2322
2483
  */
2323
- RequireHibernateSupport?: boolean | undefined;
2484
+ Tags?: Tag[] | undefined;
2485
+ }
2486
+ /**
2487
+ * @public
2488
+ */
2489
+ export interface CreateEgressOnlyInternetGatewayResult {
2324
2490
  /**
2325
- * <p>The minimum and maximum number of network interfaces.</p>
2326
- * <p>Default: No minimum or maximum limits</p>
2491
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
2492
+ * request.</p>
2327
2493
  * @public
2328
2494
  */
2329
- NetworkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
2495
+ ClientToken?: string | undefined;
2330
2496
  /**
2331
- * <p>Indicates whether instance types with instance store volumes are included, excluded, or required. For more information,
2332
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon
2333
- * EC2 instance store</a> in the <i>Amazon EC2 User Guide</i>.</p>
2334
- * <ul>
2335
- * <li>
2336
- * <p>To include instance types with instance store volumes, specify
2337
- * <code>included</code>.</p>
2338
- * </li>
2339
- * <li>
2340
- * <p>To require only instance types with instance store volumes, specify
2341
- * <code>required</code>.</p>
2342
- * </li>
2343
- * <li>
2344
- * <p>To exclude instance types with instance store volumes, specify
2345
- * <code>excluded</code>.</p>
2346
- * </li>
2347
- * </ul>
2348
- * <p>Default: <code>included</code>
2349
- * </p>
2497
+ * <p>Information about the egress-only internet gateway.</p>
2350
2498
  * @public
2351
2499
  */
2352
- LocalStorage?: LocalStorage | undefined;
2500
+ EgressOnlyInternetGateway?: EgressOnlyInternetGateway | undefined;
2501
+ }
2502
+ /**
2503
+ * <p>The Amazon EC2 launch template that can be used by
2504
+ * an EC2 Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.</p>
2505
+ * <p>For information about launch templates, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch
2506
+ * an instance from a launch template</a> in the
2507
+ * <i>Amazon EC2 User Guide</i>.</p>
2508
+ * @public
2509
+ */
2510
+ export interface FleetLaunchTemplateSpecificationRequest {
2353
2511
  /**
2354
- * <p>The type of local storage that is required.</p>
2355
- * <ul>
2356
- * <li>
2357
- * <p>For instance types with hard disk drive (HDD) storage, specify <code>hdd</code>.</p>
2358
- * </li>
2359
- * <li>
2360
- * <p>For instance types with solid state drive (SSD) storage, specify
2361
- * <code>ssd</code>.</p>
2362
- * </li>
2363
- * </ul>
2364
- * <p>Default: <code>hdd</code> and <code>ssd</code>
2365
- * </p>
2512
+ * <p>The ID of the launch template.</p>
2513
+ * <p>You must specify the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>
2366
2514
  * @public
2367
2515
  */
2368
- LocalStorageTypes?: LocalStorageType[] | undefined;
2516
+ LaunchTemplateId?: string | undefined;
2369
2517
  /**
2370
- * <p>The minimum and maximum amount of total local storage, in GB.</p>
2371
- * <p>Default: No minimum or maximum limits</p>
2518
+ * <p>The name of the launch template.</p>
2519
+ * <p>You must specify the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>
2372
2520
  * @public
2373
2521
  */
2374
- TotalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
2522
+ LaunchTemplateName?: string | undefined;
2375
2523
  /**
2376
- * <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
2377
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
2378
- * EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
2379
- * <p>Default: No minimum or maximum limits</p>
2524
+ * <p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>. You must specify a value, otherwise the request fails.</p>
2525
+ * <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch template.</p>
2526
+ * <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the launch template.</p>
2380
2527
  * @public
2381
2528
  */
2382
- BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
2529
+ Version?: string | undefined;
2383
2530
  /**
2384
- * <p>The accelerator types that must be on the instance type.</p>
2531
+ * <p>The base64-encoded user data for instances launched by the fleet. User data is limited
2532
+ * to 16 KB, in raw form, before it is base64-encoded.</p>
2533
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
2534
+ * @public
2535
+ */
2536
+ LaunchTemplateSpecificationUserData?: string | undefined;
2537
+ }
2538
+ /**
2539
+ * <p>Describes a block device for an EBS volume.</p>
2540
+ * @public
2541
+ */
2542
+ export interface FleetEbsBlockDeviceRequest {
2543
+ /**
2544
+ * <p>Indicates whether the encryption state of an EBS volume is changed while being restored
2545
+ * from a backing snapshot. The effect of setting the encryption state to <code>true</code>
2546
+ * depends on the volume origin (new or from a snapshot), starting encryption state,
2547
+ * ownership, and whether encryption by default is enabled. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS
2548
+ * encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
2549
+ * <p>In no case can you remove encryption from an encrypted volume.</p>
2550
+ * <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
2551
+ * more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances">Supported instance types</a>.</p>
2552
+ * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute">DescribeImageAttribute</a>.</p>
2553
+ * <p>For <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage">CreateImage</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RegisterImage">RegisterImage</a>, whether you
2554
+ * can include this parameter, and the allowed values differ depending on the type of block
2555
+ * device mapping you are creating.</p>
2385
2556
  * <ul>
2386
2557
  * <li>
2387
- * <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p>
2558
+ * <p>If you are creating a block device mapping for a <b>new (empty)
2559
+ * volume</b>, you can include this parameter, and specify either
2560
+ * <code>true</code> for an encrypted volume, or <code>false</code> for an
2561
+ * unencrypted volume. If you omit this parameter, it defaults to <code>false</code>
2562
+ * (unencrypted).</p>
2388
2563
  * </li>
2389
2564
  * <li>
2390
- * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
2565
+ * <p>If you are creating a block device mapping from an <b>existing encrypted or
2566
+ * unencrypted snapshot</b>, you must omit this parameter. If you include this
2567
+ * parameter, the request will fail, regardless of the value that you specify.</p>
2391
2568
  * </li>
2392
2569
  * <li>
2393
- * <p>For instance types with Inference accelerators, specify <code>inference</code>.</p>
2570
+ * <p>If you are creating a block device mapping from an <b>existing unencrypted
2571
+ * volume</b>, you can include this parameter, but you must specify
2572
+ * <code>false</code>. If you specify <code>true</code>, the request will fail. In
2573
+ * this case, we recommend that you omit the parameter.</p>
2394
2574
  * </li>
2395
2575
  * <li>
2396
- * <p>For instance types with Media accelerators, specify <code>media</code>.</p>
2576
+ * <p>If you are creating a block device mapping from an <b>existing encrypted
2577
+ * volume</b>, you can include this parameter, and specify either
2578
+ * <code>true</code> or <code>false</code>. However, if you specify
2579
+ * <code>false</code>, the parameter is ignored and the block device mapping is
2580
+ * always encrypted. In this case, we recommend that you omit the parameter.</p>
2397
2581
  * </li>
2398
2582
  * </ul>
2399
- * <p>Default: Any accelerator type</p>
2400
2583
  * @public
2401
2584
  */
2402
- AcceleratorTypes?: AcceleratorType[] | undefined;
2585
+ Encrypted?: boolean | undefined;
2403
2586
  /**
2404
- * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on
2405
- * an instance.</p>
2406
- * <p>To exclude accelerator-enabled instance types, set <code>Max</code> to <code>0</code>.</p>
2407
- * <p>Default: No minimum or maximum limits</p>
2587
+ * <p>Indicates whether the EBS volume is deleted on instance termination. For more
2588
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html">Preserve data when
2589
+ * an instance is terminated</a> in the <i>Amazon EC2 User Guide</i>.</p>
2408
2590
  * @public
2409
2591
  */
2410
- AcceleratorCount?: AcceleratorCountRequest | undefined;
2592
+ DeleteOnTermination?: boolean | undefined;
2411
2593
  /**
2412
- * <p>Indicates whether instance types must have accelerators by specific manufacturers.</p>
2594
+ * <p>The number of I/O operations per second (IOPS). For <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes,
2595
+ * this represents the number of IOPS that are provisioned for the volume. For <code>gp2</code>
2596
+ * volumes, this represents the baseline performance of the volume and the rate at which
2597
+ * the volume accumulates I/O credits for bursting.</p>
2598
+ * <p>The following are the supported values for each volume type:</p>
2413
2599
  * <ul>
2414
2600
  * <li>
2415
- * <p>For instance types with Amazon Web Services devices, specify <code>amazon-web-services</code>.</p>
2416
- * </li>
2417
- * <li>
2418
- * <p>For instance types with AMD devices, specify <code>amd</code>.</p>
2419
- * </li>
2420
- * <li>
2421
- * <p>For instance types with Habana devices, specify <code>habana</code>.</p>
2601
+ * <p>
2602
+ * <code>gp3</code>: 3,000 - 80,000 IOPS</p>
2422
2603
  * </li>
2423
2604
  * <li>
2424
- * <p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p>
2605
+ * <p>
2606
+ * <code>io1</code>: 100 - 64,000 IOPS</p>
2425
2607
  * </li>
2426
2608
  * <li>
2427
- * <p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p>
2609
+ * <p>
2610
+ * <code>io2</code>: 100 - 256,000 IOPS</p>
2428
2611
  * </li>
2429
2612
  * </ul>
2430
- * <p>Default: Any manufacturer</p>
2613
+ * <p>For <code>io2</code> volumes, you can achieve up to 256,000 IOPS on
2614
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">instances
2615
+ * built on the Nitro System</a>. On other instances, you can achieve performance up to 32,000 IOPS.</p>
2616
+ * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes. The default for <code>gp3</code> volumes
2617
+ * is 3,000 IOPS.</p>
2431
2618
  * @public
2432
2619
  */
2433
- AcceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
2620
+ Iops?: number | undefined;
2434
2621
  /**
2435
- * <p>The accelerators that must be on the instance type.</p>
2622
+ * <p>The throughput that the volume supports, in MiB/s.</p>
2623
+ * <p>This parameter is valid only for <code>gp3</code> volumes.</p>
2624
+ * <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
2625
+ * @public
2626
+ */
2627
+ Throughput?: number | undefined;
2628
+ /**
2629
+ * <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
2630
+ * to use for EBS encryption.</p>
2631
+ * <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
2632
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html">CreateFleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
2633
+ * @public
2634
+ */
2635
+ KmsKeyId?: string | undefined;
2636
+ /**
2637
+ * <p>The ID of the snapshot.</p>
2638
+ * @public
2639
+ */
2640
+ SnapshotId?: string | undefined;
2641
+ /**
2642
+ * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
2643
+ * size. If you specify a snapshot, the default is the snapshot size. You can specify a
2644
+ * volume size that is equal to or larger than the snapshot size.</p>
2645
+ * <p>The following are the supported sizes for each volume type:</p>
2436
2646
  * <ul>
2437
2647
  * <li>
2438
- * <p>For instance types with NVIDIA A10G GPUs, specify <code>a10g</code>.</p>
2439
- * </li>
2440
- * <li>
2441
- * <p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p>
2442
- * </li>
2443
- * <li>
2444
- * <p>For instance types with NVIDIA H100 GPUs, specify <code>h100</code>.</p>
2445
- * </li>
2446
- * <li>
2447
- * <p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p>
2448
- * </li>
2449
- * <li>
2450
- * <p>For instance types with Amazon Web Services Inferentia2 chips, specify <code>inferentia2</code>.</p>
2451
- * </li>
2452
- * <li>
2453
- * <p>For instance types with Habana Gaudi HL-205 GPUs, specify <code>gaudi-hl-205</code>.</p>
2454
- * </li>
2455
- * <li>
2456
- * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
2457
- * </li>
2458
- * <li>
2459
- * <p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p>
2460
- * </li>
2461
- * <li>
2462
- * <p>For instance types with NVIDIA L4 GPUs, specify <code>l4</code>.</p>
2463
- * </li>
2464
- * <li>
2465
- * <p>For instance types with NVIDIA L40S GPUs, specify <code>l40s</code>.</p>
2466
- * </li>
2467
- * <li>
2468
- * <p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p>
2469
- * </li>
2470
- * <li>
2471
- * <p>For instance types with AMD Radeon Pro V520 GPUs, specify <code>radeon-pro-v520</code>.</p>
2472
- * </li>
2473
- * <li>
2474
- * <p>For instance types with Amazon Web Services Trainium chips, specify <code>trainium</code>.</p>
2475
- * </li>
2476
- * <li>
2477
- * <p>For instance types with Amazon Web Services Trainium2 chips, specify <code>trainium2</code>.</p>
2648
+ * <p>
2649
+ * <code>gp2</code>: 1 - 16,384 GiB</p>
2478
2650
  * </li>
2479
2651
  * <li>
2480
- * <p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p>
2652
+ * <p>
2653
+ * <code>gp3</code>: 1 - 65,536 GiB</p>
2481
2654
  * </li>
2482
2655
  * <li>
2483
- * <p>For instance types with NVIDIA T4G GPUs, specify <code>t4g</code>.</p>
2656
+ * <p>
2657
+ * <code>io1</code>: 4 - 16,384 GiB</p>
2484
2658
  * </li>
2485
2659
  * <li>
2486
- * <p>For instance types with Xilinx U30 cards, specify <code>u30</code>.</p>
2660
+ * <p>
2661
+ * <code>io2</code>: 4 - 65,536 GiB</p>
2487
2662
  * </li>
2488
2663
  * <li>
2489
- * <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
2664
+ * <p>
2665
+ * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
2490
2666
  * </li>
2491
2667
  * <li>
2492
- * <p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p>
2668
+ * <p>
2669
+ * <code>standard</code>: 1 - 1024 GiB</p>
2493
2670
  * </li>
2494
2671
  * </ul>
2495
- * <p>Default: Any accelerator</p>
2496
2672
  * @public
2497
2673
  */
2498
- AcceleratorNames?: AcceleratorName[] | undefined;
2674
+ VolumeSize?: number | undefined;
2499
2675
  /**
2500
- * <p>The minimum and maximum amount of total accelerator memory, in MiB.</p>
2501
- * <p>Default: No minimum or maximum limits</p>
2676
+ * <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the
2677
+ * <i>Amazon EBS User Guide</i>.</p>
2502
2678
  * @public
2503
2679
  */
2504
- AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
2680
+ VolumeType?: VolumeType | undefined;
2681
+ }
2682
+ /**
2683
+ * <p>Describes a block device mapping, which defines the EBS volumes and instance store
2684
+ * volumes to attach to an instance at launch.</p>
2685
+ * <p>To override a block device mapping specified in the launch template:</p>
2686
+ * <ul>
2687
+ * <li>
2688
+ * <p>Specify the exact same <code>DeviceName</code> here as specified in the launch
2689
+ * template.</p>
2690
+ * </li>
2691
+ * <li>
2692
+ * <p>Only specify the parameters you want to change.</p>
2693
+ * </li>
2694
+ * <li>
2695
+ * <p>Any parameters you don't specify here will keep their original launch template
2696
+ * values.</p>
2697
+ * </li>
2698
+ * </ul>
2699
+ * <p>To add a new block device mapping:</p>
2700
+ * <ul>
2701
+ * <li>
2702
+ * <p>Specify a <code>DeviceName</code> that doesn't exist in the launch
2703
+ * template.</p>
2704
+ * </li>
2705
+ * <li>
2706
+ * <p>Specify all desired parameters here.</p>
2707
+ * </li>
2708
+ * </ul>
2709
+ * @public
2710
+ */
2711
+ export interface FleetBlockDeviceMappingRequest {
2505
2712
  /**
2506
- * <p>The minimum and maximum amount of baseline network bandwidth, in gigabits per second
2507
- * (Gbps). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html">Amazon EC2 instance network bandwidth</a> in the <i>Amazon EC2 User Guide</i>.</p>
2508
- * <p>Default: No minimum or maximum limits</p>
2713
+ * <p>The device name (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p>
2509
2714
  * @public
2510
2715
  */
2511
- NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
2716
+ DeviceName?: string | undefined;
2512
2717
  /**
2513
- * <p>The instance types to apply your specified attributes against. All other instance types
2514
- * are ignored, even if they match your specified attributes.</p>
2515
- * <p>You can use strings with one or more wild cards, represented by
2516
- * an asterisk (<code>*</code>), to allow an instance type, size, or generation. The
2517
- * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
2518
- * <code>r*</code>, <code>*3*</code>.</p>
2519
- * <p>For example, if you specify <code>c5*</code>,Amazon EC2 will allow the entire C5 instance
2520
- * family, which includes all C5a and C5n instance types. If you specify
2521
- * <code>m5a.*</code>, Amazon EC2 will allow all the M5a instance types, but not the M5n
2522
- * instance types.</p>
2523
- * <note>
2524
- * <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify <code>ExcludedInstanceTypes</code>.</p>
2525
- * </note>
2526
- * <p>Default: All instance types</p>
2718
+ * <p>The virtual device name (<code>ephemeralN</code>). Instance store volumes are numbered
2719
+ * starting from 0. An instance type with 2 available instance store volumes can specify
2720
+ * mappings for <code>ephemeral0</code> and <code>ephemeral1</code>. The number of available
2721
+ * instance store volumes depends on the instance type. After you connect to the instance, you
2722
+ * must mount the volume.</p>
2723
+ * <p>NVMe instance store volumes are automatically enumerated and assigned a device name.
2724
+ * Including them in your block device mapping has no effect.</p>
2725
+ * <p>Constraints: For M3 instances, you must specify instance store volumes in the block
2726
+ * device mapping for the instance. When you launch an M3 instance, we ignore any instance
2727
+ * store volumes specified in the block device mapping for the AMI.</p>
2527
2728
  * @public
2528
2729
  */
2529
- AllowedInstanceTypes?: string[] | undefined;
2730
+ VirtualName?: string | undefined;
2530
2731
  /**
2531
- * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an
2532
- * identified On-Demand price. The identified On-Demand price is the price of the lowest
2533
- * priced current generation C, M, or R instance type with your specified attributes. If no
2534
- * current generation C, M, or R instance type matches your attributes, then the identified
2535
- * price is from the lowest priced current generation instance types, and failing that, from
2536
- * the lowest priced previous generation instance types that match your attributes. When Amazon EC2
2537
- * selects instance types with your attributes, it will exclude instance types whose price
2538
- * exceeds your specified threshold.</p>
2539
- * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
2540
- * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
2541
- * <code>memory-mib</code>, the price protection threshold is based on the per vCPU or per
2542
- * memory price instead of the per instance price.</p>
2543
- * <note>
2544
- * <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
2545
- * <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you
2546
- * don't specify either, Amazon EC2 will automatically apply optimal price protection to
2547
- * consistently select from a wide range of instance types. To indicate no price protection
2548
- * threshold for Spot Instances, meaning you want to consider all instance types that match your
2549
- * attributes, include one of these parameters and specify a high value, such as
2550
- * <code>999999</code>.</p>
2551
- * </note>
2732
+ * <p>Parameters used to automatically set up EBS volumes when the instance is
2733
+ * launched.</p>
2552
2734
  * @public
2553
2735
  */
2554
- MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
2736
+ Ebs?: FleetEbsBlockDeviceRequest | undefined;
2555
2737
  /**
2556
- * <p>The baseline performance to consider, using an instance family as a baseline reference.
2557
- * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
2558
- * baseline to guide instance type selection, but there is no guarantee that the selected
2559
- * instance types will always exceed the baseline for every application. Currently, this
2560
- * parameter only supports CPU performance as a baseline performance factor. For more
2561
- * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection">Performance protection</a> in the <i>Amazon EC2 User Guide</i>.</p>
2738
+ * <p>To omit the device from the block device mapping, specify an empty string. When this
2739
+ * property is specified, the device is removed from the block device mapping regardless of
2740
+ * the assigned value.</p>
2562
2741
  * @public
2563
2742
  */
2564
- BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
2743
+ NoDevice?: string | undefined;
2744
+ }
2745
+ /**
2746
+ * <p>Describes an IAM instance profile. Supported only for fleets of type
2747
+ * <code>instant</code>.</p>
2748
+ * @public
2749
+ */
2750
+ export interface FleetIamInstanceProfileSpecificationRequest {
2565
2751
  /**
2566
- * <p>Specifies whether instance types must support encrypting in-transit traffic between
2567
- * instances. For more information, including the supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit">Encryption in
2568
- * transit</a> in the <i>Amazon EC2 User Guide</i>.</p>
2569
- * <p>Default: <code>false</code>
2570
- * </p>
2752
+ * <p>The Amazon Resource Name (ARN) of the instance profile.</p>
2571
2753
  * @public
2572
2754
  */
2573
- RequireEncryptionInTransit?: boolean | undefined;
2755
+ Arn?: string | undefined;
2756
+ /**
2757
+ * <p>The name of the instance profile.</p>
2758
+ * @public
2759
+ */
2760
+ Name?: string | undefined;
2574
2761
  }
2575
2762
  /**
2576
2763
  * <p>Describes the metadata options for the instances. Supported only for fleets of type