AWSEC2ClassicLinkInstance

Objective-C

@interface AWSEC2ClassicLinkInstance

Swift

class AWSEC2ClassicLinkInstance

We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

Describes a linked EC2-Classic instance.

  • A list of security groups.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2GroupIdentifier *> *_Nullable groups;

    Swift

    var groups: [AWSEC2GroupIdentifier]? { get set }
  • The ID of the instance.

    Declaration

    Objective-C

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

    Swift

    var instanceId: String? { get set }
  • Any tags assigned to the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The ID of the VPC.

    Declaration

    Objective-C

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

    Swift

    var vpcId: String? { get set }