AWSEC2EbsInstanceBlockDevice

Objective-C

@interface AWSEC2EbsInstanceBlockDevice

Swift

class AWSEC2EbsInstanceBlockDevice

Describes a parameter used to set up an EBS volume in a block device mapping.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable associatedResource;

    Swift

    var associatedResource: String? { get set }
  • The time stamp when the attachment initiated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable attachTime;

    Swift

    var attachTime: Date? { get set }
  • Indicates whether the volume is deleted on instance termination.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable deleteOnTermination;

    Swift

    var deleteOnTermination: NSNumber? { get set }
  • The attachment state.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AttachmentStatus status;

    Swift

    var status: AWSEC2AttachmentStatus { get set }
  • The ID of the EBS volume.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable volumeId;

    Swift

    var volumeId: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable volumeOwnerId;

    Swift

    var volumeOwnerId: String? { get set }