AWSEC2AllocateIpamPoolCidrRequest

Objective-C

@interface AWSEC2AllocateIpamPoolCidrRequest

Swift

class AWSEC2AllocateIpamPoolCidrRequest
  • Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable allowedCidrs;

    Swift

    var allowedCidrs: [String]? { get set }
  • The CIDR you would like to allocate from the IPAM pool. Note the following:

    • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.

    • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

    Possible values: Any available IPv4 or IPv6 CIDR.

    Declaration

    Objective-C

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

    Swift

    var cidr: String? { get set }
  • A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

    Declaration

    Objective-C

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

    Swift

    var clientToken: String? { get set }
  • A description for the allocation.

    Declaration

    Objective-C

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

    Swift

    var detail: String? { get set }
  • Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable disallowedCidrs;

    Swift

    var disallowedCidrs: [String]? { get set }
  • A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

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

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the IPAM pool from which you would like to allocate a CIDR.

    Declaration

    Objective-C

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

    Swift

    var ipamPoolId: String? { get set }
  • The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:

    • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.

    • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

    Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

    Declaration

    Objective-C

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

    Swift

    var netmaskLength: NSNumber? { get set }
  • A preview of the next available CIDR in a pool.

    Declaration

    Objective-C

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

    Swift

    var previewNextCidr: NSNumber? { get set }