AWSEC2CreatePlacementGroupRequest
Objective-C
@interface AWSEC2CreatePlacementGroupRequest
Swift
class AWSEC2CreatePlacementGroupRequest
-
Checks 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 isUnauthorizedOperation
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dryRun;
Swift
var dryRun: NSNumber? { get set }
-
A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable groupName;
Swift
var groupName: String? { get set }
-
The number of partitions. Valid only when Strategy is set to
partition
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable partitionCount;
Swift
var partitionCount: NSNumber? { get set }
-
Determines how placement groups spread instances.
Host – You can use
host
only with Outpost placement groups.Rack – No usage restrictions.
Declaration
Objective-C
@property (nonatomic) AWSEC2SpreadLevel spreadLevel;
Swift
var spreadLevel: AWSEC2SpreadLevel { get set }
-
The placement strategy.
Declaration
Objective-C
@property (nonatomic) AWSEC2PlacementStrategy strategy;
Swift
var strategy: AWSEC2PlacementStrategy { get set }
-
The tags to apply to the new placement group.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;
Swift
var tagSpecifications: [AWSEC2TagSpecification]? { get set }