AWS SDK Version 3 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 a parameter used to set up an EBS volume in a block device mapping.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.EbsInstanceBlockDevice

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

Syntax

C#
public class EbsInstanceBlockDevice

The EbsInstanceBlockDevice type exposes the following members

Constructors

NameDescription
Public Method EbsInstanceBlockDevice()

Properties

NameTypeDescription
Public Property AssociatedResource System.String

Gets and sets the property AssociatedResource.

The ARN of the Amazon ECS or Fargate task to which the volume is attached.

Public Property AttachTime System.DateTime

Gets and sets the property AttachTime.

The time stamp when the attachment initiated.

Public Property DeleteOnTermination System.Boolean

Gets and sets the property DeleteOnTermination.

Indicates whether the volume is deleted on instance termination.

Public Property Status Amazon.EC2.AttachmentStatus

Gets and sets the property Status.

The attachment state.

Public Property VolumeId System.String

Gets and sets the property VolumeId.

The ID of the EBS volume.

Public Property VolumeOwnerId System.String

Gets and sets the property VolumeOwnerId.

The ID of the Amazon Web Services account that owns the volume.

This parameter is returned only for volumes that are attached to Fargate tasks.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5