@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.094Z") @Stability(value=Experimental) public interface AutoScalingGroupProps extends software.amazon.jsii.JsiiSerializable, CommonAutoScalingGroupProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
AutoScalingGroupProps.Builder
A builder for
AutoScalingGroupProps |
static class |
AutoScalingGroupProps.Jsii$Proxy
An implementation for
AutoScalingGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static AutoScalingGroupProps.Builder |
builder() |
default CloudFormationInit |
getInit()
(experimental) Apply the given CloudFormation Init configuration to the instances in the AutoScalingGroup at startup.
|
default ApplyCloudFormationInitOptions |
getInitOptions()
(experimental) Use the given options for applying CloudFormation Init.
|
InstanceType |
getInstanceType()
(experimental) Type of instance to launch.
|
IMachineImage |
getMachineImage()
(experimental) AMI to launch.
|
default IRole |
getRole()
(experimental) An IAM role to associate with the instance profile assigned to this Auto Scaling Group.
|
default ISecurityGroup |
getSecurityGroup()
(experimental) Security group to launch the instances in.
|
default UserData |
getUserData()
(experimental) Specific UserData to use.
|
IVpc |
getVpc()
(experimental) VPC to launch these instances in.
|
getAllowAllOutbound, getAssociatePublicIpAddress, getAutoScalingGroupName, getBlockDevices, getCooldown, getDesiredCapacity, getGroupMetrics, getHealthCheck, getIgnoreUnmodifiedSizeProperties, getInstanceMonitoring, getKeyName, getMaxCapacity, getMaxInstanceLifetime, getMinCapacity, getNewInstancesProtectedFromScaleIn, getNotifications, getSignals, getSpotPrice, getUpdatePolicy, getVpcSubnets@Stability(value=Experimental) @NotNull InstanceType getInstanceType()
@Stability(value=Experimental) @NotNull IMachineImage getMachineImage()
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default CloudFormationInit getInit()
If you specify init, you must also specify signals to configure
the number of instances to wait for and the timeout for waiting for the
init process.
Default: - no CloudFormation init
@Stability(value=Experimental) @Nullable default ApplyCloudFormationInitOptions getInitOptions()
Describes the configsets to use and the timeout to wait
Default: - default options
@Stability(value=Experimental) @Nullable default IRole getRole()
The role must be assumable by the service principal ec2.amazonaws.com:
Default: A role will automatically be created, it can be accessed via the `role` property
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 Role role = new Role(this, "MyRole", new RoleProps() .assumedBy(new ServicePrincipal("ec2.amazonaws.com")));
@Stability(value=Experimental) @Nullable default ISecurityGroup getSecurityGroup()
Default: - A SecurityGroup will be created if none is specified.
@Stability(value=Experimental) @Nullable default UserData getUserData()
The UserData may still be mutated after creation.
Default: - A UserData object appropriate for the MachineImage's Operating System is created.
@Stability(value=Experimental) static AutoScalingGroupProps.Builder builder()
builder in interface CommonAutoScalingGroupPropsAutoScalingGroupProps.Builder of AutoScalingGroupPropsCopyright © 2021. All rights reserved.