AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the launch specification for a Scheduled Instance.

If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet. You can specify the subnet using either SubnetId or NetworkInterface.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ScheduledInstancesLaunchSpecification

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class ScheduledInstancesLaunchSpecification

The ScheduledInstancesLaunchSpecification type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property BlockDeviceMappings System.Collections.Generic.List<Amazon.EC2.Model.ScheduledInstancesBlockDeviceMapping>

Gets and sets the property BlockDeviceMappings.

The block device mapping entries.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property EbsOptimized System.Nullable<System.Boolean>

Gets and sets the property EbsOptimized.

Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

Default: false

Public Property IamInstanceProfile Amazon.EC2.Model.ScheduledInstancesIamInstanceProfile

Gets and sets the property IamInstanceProfile.

The IAM instance profile.

Public Property ImageId System.String

Gets and sets the property ImageId.

The ID of the Amazon Machine Image (AMI).

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type.

Public Property KernelId System.String

Gets and sets the property KernelId.

The ID of the kernel.

Public Property KeyName System.String

Gets and sets the property KeyName.

The name of the key pair.

Public Property Monitoring Amazon.EC2.Model.ScheduledInstancesMonitoring

Gets and sets the property Monitoring.

Enable or disable monitoring for the instances.

Public Property NetworkInterfaces System.Collections.Generic.List<Amazon.EC2.Model.ScheduledInstancesNetworkInterface>

Gets and sets the property NetworkInterfaces.

The network interfaces.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property Placement Amazon.EC2.Model.ScheduledInstancesPlacement

Gets and sets the property Placement.

The placement information.

Public Property RamdiskId System.String

Gets and sets the property RamdiskId.

The ID of the RAM disk.

Public Property SecurityGroupIds System.Collections.Generic.List<System.String>

Gets and sets the property SecurityGroupIds.

The IDs of the security groups.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet in which to launch the instances.

Public Property UserData System.String

Gets and sets the property UserData.

The base64-encoded MIME user data.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer