AWSEC2VolumeAttachment

Objective-C

@interface AWSEC2VolumeAttachment

Swift

class AWSEC2VolumeAttachment

Describes volume attachment details.

  • 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 EBS volume is deleted on instance termination.

    Declaration

    Objective-C

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

    Swift

    var deleteOnTermination: NSNumber? { get set }
  • The device name.

    If the volume is attached to a Fargate task, this parameter returns null.

    Declaration

    Objective-C

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

    Swift

    var device: String? { get set }
  • The ID of the instance.

    If the volume is attached to a Fargate task, this parameter returns null.

    Declaration

    Objective-C

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

    Swift

    var instanceId: String? { get set }
  • The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.

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

    Declaration

    Objective-C

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

    Swift

    var instanceOwningService: String? { get set }
  • The attachment state of the volume.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2VolumeAttachmentState state;

    Swift

    var state: AWSEC2VolumeAttachmentState { get set }
  • The ID of the volume.

    Declaration

    Objective-C

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

    Swift

    var volumeId: String? { get set }