AWS Native is in preview. AWS Classic is fully supported.
aws-native.autoscaling.WarmPool
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::AutoScaling::WarmPool.
Create WarmPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WarmPool(name: string, args: WarmPoolArgs, opts?: CustomResourceOptions);
@overload
def WarmPool(resource_name: str,
args: WarmPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WarmPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_scaling_group_name: Optional[str] = None,
instance_reuse_policy: Optional[WarmPoolInstanceReusePolicyArgs] = None,
max_group_prepared_capacity: Optional[int] = None,
min_size: Optional[int] = None,
pool_state: Optional[str] = None)
func NewWarmPool(ctx *Context, name string, args WarmPoolArgs, opts ...ResourceOption) (*WarmPool, error)
public WarmPool(string name, WarmPoolArgs args, CustomResourceOptions? opts = null)
public WarmPool(String name, WarmPoolArgs args)
public WarmPool(String name, WarmPoolArgs args, CustomResourceOptions options)
type: aws-native:autoscaling:WarmPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WarmPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WarmPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WarmPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WarmPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WarmPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const warmPoolResource = new aws_native.autoscaling.WarmPool("warmPoolResource", {
autoScalingGroupName: "string",
instanceReusePolicy: {
reuseOnScaleIn: false,
},
maxGroupPreparedCapacity: 0,
minSize: 0,
poolState: "string",
});
Coming soon!
WarmPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The WarmPool resource accepts the following input properties:
- auto
Scaling StringGroup Name - instance
Reuse WarmPolicy Pool Instance Reuse Policy - max
Group IntegerPrepared Capacity - min
Size Integer - pool
State String
- auto
Scaling stringGroup Name - instance
Reuse WarmPolicy Pool Instance Reuse Policy - max
Group numberPrepared Capacity - min
Size number - pool
State string
- auto
Scaling StringGroup Name - instance
Reuse Property MapPolicy - max
Group NumberPrepared Capacity - min
Size Number - pool
State String
Outputs
All input properties are implicitly available as output properties. Additionally, the WarmPool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
WarmPoolInstanceReusePolicy, WarmPoolInstanceReusePolicyArgs
- Reuse
On boolScale In
- Reuse
On boolScale In
- reuse
On BooleanScale In
- reuse
On booleanScale In
- reuse_
on_ boolscale_ in
- reuse
On BooleanScale In
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.