interface CreateFleetRequest
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_CreateFleetRequest |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป CreateFleetRequest |
Type definition for CreateFleetRequest.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ec2_events } from '@aws-cdk/mixins-preview/aws-ec2';
declare const overrides: any;
const createFleetRequest: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetRequest = {
clientToken: ['clientToken'],
existingInstances: {
availabilityZone: ['availabilityZone'],
count: ['count'],
instanceType: ['instanceType'],
marketOption: ['marketOption'],
operatingSystem: ['operatingSystem'],
tag: ['tag'],
},
launchTemplateConfigs: {
launchTemplateSpecification: {
launchTemplateId: ['launchTemplateId'],
version: ['version'],
},
overrides: [overrides],
tag: ['tag'],
},
onDemandOptions: {
allocationStrategy: ['allocationStrategy'],
instancePoolConstraintFilterDisabled: ['instancePoolConstraintFilterDisabled'],
maxInstanceCount: ['maxInstanceCount'],
maxTargetCapacity: ['maxTargetCapacity'],
},
spotOptions: {
allocationStrategy: ['allocationStrategy'],
instancePoolConstraintFilterDisabled: ['instancePoolConstraintFilterDisabled'],
instancePoolsToUseCount: ['instancePoolsToUseCount'],
maxInstanceCount: ['maxInstanceCount'],
maxTargetCapacity: ['maxTargetCapacity'],
},
tagSpecification: {
resourceType: ['resourceType'],
tag: {
key: ['key'],
tag: ['tag'],
value: ['value'],
},
},
targetCapacitySpecification: {
defaultTargetCapacityType: ['defaultTargetCapacityType'],
onDemandTargetCapacity: ['onDemandTargetCapacity'],
spotTargetCapacity: ['spotTargetCapacity'],
totalTargetCapacity: ['totalTargetCapacity'],
},
type: ['type'],
};
Properties
| Name | Type | Description |
|---|---|---|
| client | string[] | ClientToken property. |
| existing | Existing | ExistingInstances property. |
| launch | Launch | LaunchTemplateConfigs property. |
| on | On | OnDemandOptions property. |
| spot | Spot | SpotOptions property. |
| tag | Tag | TagSpecification property. |
| target | Target | TargetCapacitySpecification property. |
| type? | string[] | Type property. |
clientToken?
Type:
string[]
(optional, default: Do not filter on this field)
ClientToken property.
Specify an array of string values to match this event if the actual value of ClientToken is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
existingInstances?
Type:
Existing
(optional, default: Do not filter on this field)
ExistingInstances property.
Specify an array of string values to match this event if the actual value of ExistingInstances is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
launchTemplateConfigs?
Type:
Launch
(optional, default: Do not filter on this field)
LaunchTemplateConfigs property.
Specify an array of string values to match this event if the actual value of LaunchTemplateConfigs is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
onDemandOptions?
Type:
On
(optional, default: Do not filter on this field)
OnDemandOptions property.
Specify an array of string values to match this event if the actual value of OnDemandOptions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
spotOptions?
Type:
Spot
(optional, default: Do not filter on this field)
SpotOptions property.
Specify an array of string values to match this event if the actual value of SpotOptions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
tagSpecification?
Type:
Tag
(optional, default: Do not filter on this field)
TagSpecification property.
Specify an array of string values to match this event if the actual value of TagSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
targetCapacitySpecification?
Type:
Target
(optional, default: Do not filter on this field)
TargetCapacitySpecification property.
Specify an array of string values to match this event if the actual value of TargetCapacitySpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
type?
Type:
string[]
(optional, default: Do not filter on this field)
Type property.
Specify an array of string values to match this event if the actual value of Type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript