spotinst.aws.Beanstalk
Explore with Pulumi AI
Provides a Spotinst AWS group resource using Elastic Beanstalk.
Create Beanstalk Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Beanstalk(name: string, args: BeanstalkArgs, opts?: CustomResourceOptions);
@overload
def Beanstalk(resource_name: str,
args: BeanstalkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Beanstalk(resource_name: str,
opts: Optional[ResourceOptions] = None,
max_size: Optional[int] = None,
region: Optional[str] = None,
product: Optional[str] = None,
desired_capacity: Optional[int] = None,
instance_types_spots: Optional[Sequence[str]] = None,
min_size: Optional[int] = None,
managed_actions: Optional[BeanstalkManagedActionsArgs] = None,
beanstalk_environment_id: Optional[str] = None,
maintenance: Optional[str] = None,
name: Optional[str] = None,
deployment_preferences: Optional[BeanstalkDeploymentPreferencesArgs] = None,
beanstalk_environment_name: Optional[str] = None,
scheduled_tasks: Optional[Sequence[BeanstalkScheduledTaskArgs]] = None)
func NewBeanstalk(ctx *Context, name string, args BeanstalkArgs, opts ...ResourceOption) (*Beanstalk, error)
public Beanstalk(string name, BeanstalkArgs args, CustomResourceOptions? opts = null)
public Beanstalk(String name, BeanstalkArgs args)
public Beanstalk(String name, BeanstalkArgs args, CustomResourceOptions options)
type: spotinst:aws:Beanstalk
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 BeanstalkArgs
- 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 BeanstalkArgs
- 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 BeanstalkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BeanstalkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BeanstalkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var beanstalkResource = new SpotInst.Aws.Beanstalk("beanstalkResource", new()
{
MaxSize = 0,
Region = "string",
Product = "string",
DesiredCapacity = 0,
InstanceTypesSpots = new[]
{
"string",
},
MinSize = 0,
ManagedActions = new SpotInst.Aws.Inputs.BeanstalkManagedActionsArgs
{
PlatformUpdate = new SpotInst.Aws.Inputs.BeanstalkManagedActionsPlatformUpdateArgs
{
PerformAt = "string",
TimeWindow = "string",
UpdateLevel = "string",
},
},
BeanstalkEnvironmentId = "string",
Maintenance = "string",
Name = "string",
DeploymentPreferences = new SpotInst.Aws.Inputs.BeanstalkDeploymentPreferencesArgs
{
AutomaticRoll = false,
BatchSizePercentage = 0,
GracePeriod = 0,
Strategies = new[]
{
new SpotInst.Aws.Inputs.BeanstalkDeploymentPreferencesStrategyArgs
{
Action = "string",
ShouldDrainInstances = false,
},
},
},
BeanstalkEnvironmentName = "string",
ScheduledTasks = new[]
{
new SpotInst.Aws.Inputs.BeanstalkScheduledTaskArgs
{
TaskType = "string",
IsEnabled = false,
MinCapacity = "string",
CronExpression = "string",
Frequency = "string",
GracePeriod = "string",
Adjustment = "string",
MaxCapacity = "string",
BatchSizePercentage = "string",
ScaleMaxCapacity = "string",
ScaleMinCapacity = "string",
ScaleTargetCapacity = "string",
StartTime = "string",
TargetCapacity = "string",
AdjustmentPercentage = "string",
},
},
});
example, err := aws.NewBeanstalk(ctx, "beanstalkResource", &aws.BeanstalkArgs{
MaxSize: pulumi.Int(0),
Region: pulumi.String("string"),
Product: pulumi.String("string"),
DesiredCapacity: pulumi.Int(0),
InstanceTypesSpots: pulumi.StringArray{
pulumi.String("string"),
},
MinSize: pulumi.Int(0),
ManagedActions: &aws.BeanstalkManagedActionsArgs{
PlatformUpdate: &aws.BeanstalkManagedActionsPlatformUpdateArgs{
PerformAt: pulumi.String("string"),
TimeWindow: pulumi.String("string"),
UpdateLevel: pulumi.String("string"),
},
},
BeanstalkEnvironmentId: pulumi.String("string"),
Maintenance: pulumi.String("string"),
Name: pulumi.String("string"),
DeploymentPreferences: &aws.BeanstalkDeploymentPreferencesArgs{
AutomaticRoll: pulumi.Bool(false),
BatchSizePercentage: pulumi.Int(0),
GracePeriod: pulumi.Int(0),
Strategies: aws.BeanstalkDeploymentPreferencesStrategyArray{
&aws.BeanstalkDeploymentPreferencesStrategyArgs{
Action: pulumi.String("string"),
ShouldDrainInstances: pulumi.Bool(false),
},
},
},
BeanstalkEnvironmentName: pulumi.String("string"),
ScheduledTasks: aws.BeanstalkScheduledTaskArray{
&aws.BeanstalkScheduledTaskArgs{
TaskType: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
MinCapacity: pulumi.String("string"),
CronExpression: pulumi.String("string"),
Frequency: pulumi.String("string"),
GracePeriod: pulumi.String("string"),
Adjustment: pulumi.String("string"),
MaxCapacity: pulumi.String("string"),
BatchSizePercentage: pulumi.String("string"),
ScaleMaxCapacity: pulumi.String("string"),
ScaleMinCapacity: pulumi.String("string"),
ScaleTargetCapacity: pulumi.String("string"),
StartTime: pulumi.String("string"),
TargetCapacity: pulumi.String("string"),
AdjustmentPercentage: pulumi.String("string"),
},
},
})
var beanstalkResource = new Beanstalk("beanstalkResource", BeanstalkArgs.builder()
.maxSize(0)
.region("string")
.product("string")
.desiredCapacity(0)
.instanceTypesSpots("string")
.minSize(0)
.managedActions(BeanstalkManagedActionsArgs.builder()
.platformUpdate(BeanstalkManagedActionsPlatformUpdateArgs.builder()
.performAt("string")
.timeWindow("string")
.updateLevel("string")
.build())
.build())
.beanstalkEnvironmentId("string")
.maintenance("string")
.name("string")
.deploymentPreferences(BeanstalkDeploymentPreferencesArgs.builder()
.automaticRoll(false)
.batchSizePercentage(0)
.gracePeriod(0)
.strategies(BeanstalkDeploymentPreferencesStrategyArgs.builder()
.action("string")
.shouldDrainInstances(false)
.build())
.build())
.beanstalkEnvironmentName("string")
.scheduledTasks(BeanstalkScheduledTaskArgs.builder()
.taskType("string")
.isEnabled(false)
.minCapacity("string")
.cronExpression("string")
.frequency("string")
.gracePeriod("string")
.adjustment("string")
.maxCapacity("string")
.batchSizePercentage("string")
.scaleMaxCapacity("string")
.scaleMinCapacity("string")
.scaleTargetCapacity("string")
.startTime("string")
.targetCapacity("string")
.adjustmentPercentage("string")
.build())
.build());
beanstalk_resource = spotinst.aws.Beanstalk("beanstalkResource",
max_size=0,
region="string",
product="string",
desired_capacity=0,
instance_types_spots=["string"],
min_size=0,
managed_actions=spotinst.aws.BeanstalkManagedActionsArgs(
platform_update=spotinst.aws.BeanstalkManagedActionsPlatformUpdateArgs(
perform_at="string",
time_window="string",
update_level="string",
),
),
beanstalk_environment_id="string",
maintenance="string",
name="string",
deployment_preferences=spotinst.aws.BeanstalkDeploymentPreferencesArgs(
automatic_roll=False,
batch_size_percentage=0,
grace_period=0,
strategies=[spotinst.aws.BeanstalkDeploymentPreferencesStrategyArgs(
action="string",
should_drain_instances=False,
)],
),
beanstalk_environment_name="string",
scheduled_tasks=[spotinst.aws.BeanstalkScheduledTaskArgs(
task_type="string",
is_enabled=False,
min_capacity="string",
cron_expression="string",
frequency="string",
grace_period="string",
adjustment="string",
max_capacity="string",
batch_size_percentage="string",
scale_max_capacity="string",
scale_min_capacity="string",
scale_target_capacity="string",
start_time="string",
target_capacity="string",
adjustment_percentage="string",
)])
const beanstalkResource = new spotinst.aws.Beanstalk("beanstalkResource", {
maxSize: 0,
region: "string",
product: "string",
desiredCapacity: 0,
instanceTypesSpots: ["string"],
minSize: 0,
managedActions: {
platformUpdate: {
performAt: "string",
timeWindow: "string",
updateLevel: "string",
},
},
beanstalkEnvironmentId: "string",
maintenance: "string",
name: "string",
deploymentPreferences: {
automaticRoll: false,
batchSizePercentage: 0,
gracePeriod: 0,
strategies: [{
action: "string",
shouldDrainInstances: false,
}],
},
beanstalkEnvironmentName: "string",
scheduledTasks: [{
taskType: "string",
isEnabled: false,
minCapacity: "string",
cronExpression: "string",
frequency: "string",
gracePeriod: "string",
adjustment: "string",
maxCapacity: "string",
batchSizePercentage: "string",
scaleMaxCapacity: "string",
scaleMinCapacity: "string",
scaleTargetCapacity: "string",
startTime: "string",
targetCapacity: "string",
adjustmentPercentage: "string",
}],
});
type: spotinst:aws:Beanstalk
properties:
beanstalkEnvironmentId: string
beanstalkEnvironmentName: string
deploymentPreferences:
automaticRoll: false
batchSizePercentage: 0
gracePeriod: 0
strategies:
- action: string
shouldDrainInstances: false
desiredCapacity: 0
instanceTypesSpots:
- string
maintenance: string
managedActions:
platformUpdate:
performAt: string
timeWindow: string
updateLevel: string
maxSize: 0
minSize: 0
name: string
product: string
region: string
scheduledTasks:
- adjustment: string
adjustmentPercentage: string
batchSizePercentage: string
cronExpression: string
frequency: string
gracePeriod: string
isEnabled: false
maxCapacity: string
minCapacity: string
scaleMaxCapacity: string
scaleMinCapacity: string
scaleTargetCapacity: string
startTime: string
targetCapacity: string
taskType: string
Beanstalk 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 Beanstalk resource accepts the following input properties:
- Desired
Capacity int - The desired number of instances the group should have at any time.
- Instance
Types List<string>Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- Max
Size int - The maximum number of instances the group should have at any time.
- Min
Size int - The minimum number of instances the group should have at any time.
- Product string
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - Region string
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- Beanstalk
Environment stringId - The id of an existing Beanstalk environment.
- Beanstalk
Environment stringName - The name of an existing Beanstalk environment.
- Deployment
Preferences Pulumi.Spot Inst. Aws. Inputs. Beanstalk Deployment Preferences - Preferences when performing a roll
- Maintenance string
- Managed
Actions Pulumi.Spot Inst. Aws. Inputs. Beanstalk Managed Actions - Managed Actions parameters
- Name string
- The group name.
- Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Beanstalk Scheduled Task>
- Desired
Capacity int - The desired number of instances the group should have at any time.
- Instance
Types []stringSpots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- Max
Size int - The maximum number of instances the group should have at any time.
- Min
Size int - The minimum number of instances the group should have at any time.
- Product string
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - Region string
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- Beanstalk
Environment stringId - The id of an existing Beanstalk environment.
- Beanstalk
Environment stringName - The name of an existing Beanstalk environment.
- Deployment
Preferences BeanstalkDeployment Preferences Args - Preferences when performing a roll
- Maintenance string
- Managed
Actions BeanstalkManaged Actions Args - Managed Actions parameters
- Name string
- The group name.
- Scheduled
Tasks []BeanstalkScheduled Task Args
- desired
Capacity Integer - The desired number of instances the group should have at any time.
- instance
Types List<String>Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- max
Size Integer - The maximum number of instances the group should have at any time.
- min
Size Integer - The minimum number of instances the group should have at any time.
- product String
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region String
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- beanstalk
Environment StringId - The id of an existing Beanstalk environment.
- beanstalk
Environment StringName - The name of an existing Beanstalk environment.
- deployment
Preferences BeanstalkDeployment Preferences - Preferences when performing a roll
- maintenance String
- managed
Actions BeanstalkManaged Actions - Managed Actions parameters
- name String
- The group name.
- scheduled
Tasks List<BeanstalkScheduled Task>
- desired
Capacity number - The desired number of instances the group should have at any time.
- instance
Types string[]Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- max
Size number - The maximum number of instances the group should have at any time.
- min
Size number - The minimum number of instances the group should have at any time.
- product string
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region string
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- beanstalk
Environment stringId - The id of an existing Beanstalk environment.
- beanstalk
Environment stringName - The name of an existing Beanstalk environment.
- deployment
Preferences BeanstalkDeployment Preferences - Preferences when performing a roll
- maintenance string
- managed
Actions BeanstalkManaged Actions - Managed Actions parameters
- name string
- The group name.
- scheduled
Tasks BeanstalkScheduled Task[]
- desired_
capacity int - The desired number of instances the group should have at any time.
- instance_
types_ Sequence[str]spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- max_
size int - The maximum number of instances the group should have at any time.
- min_
size int - The minimum number of instances the group should have at any time.
- product str
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region str
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- beanstalk_
environment_ strid - The id of an existing Beanstalk environment.
- beanstalk_
environment_ strname - The name of an existing Beanstalk environment.
- deployment_
preferences BeanstalkDeployment Preferences Args - Preferences when performing a roll
- maintenance str
- managed_
actions BeanstalkManaged Actions Args - Managed Actions parameters
- name str
- The group name.
- scheduled_
tasks Sequence[BeanstalkScheduled Task Args]
- desired
Capacity Number - The desired number of instances the group should have at any time.
- instance
Types List<String>Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- max
Size Number - The maximum number of instances the group should have at any time.
- min
Size Number - The minimum number of instances the group should have at any time.
- product String
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region String
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- beanstalk
Environment StringId - The id of an existing Beanstalk environment.
- beanstalk
Environment StringName - The name of an existing Beanstalk environment.
- deployment
Preferences Property Map - Preferences when performing a roll
- maintenance String
- managed
Actions Property Map - Managed Actions parameters
- name String
- The group name.
- scheduled
Tasks List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Beanstalk 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.
Look up Existing Beanstalk Resource
Get an existing Beanstalk resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BeanstalkState, opts?: CustomResourceOptions): Beanstalk
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
beanstalk_environment_id: Optional[str] = None,
beanstalk_environment_name: Optional[str] = None,
deployment_preferences: Optional[BeanstalkDeploymentPreferencesArgs] = None,
desired_capacity: Optional[int] = None,
instance_types_spots: Optional[Sequence[str]] = None,
maintenance: Optional[str] = None,
managed_actions: Optional[BeanstalkManagedActionsArgs] = None,
max_size: Optional[int] = None,
min_size: Optional[int] = None,
name: Optional[str] = None,
product: Optional[str] = None,
region: Optional[str] = None,
scheduled_tasks: Optional[Sequence[BeanstalkScheduledTaskArgs]] = None) -> Beanstalk
func GetBeanstalk(ctx *Context, name string, id IDInput, state *BeanstalkState, opts ...ResourceOption) (*Beanstalk, error)
public static Beanstalk Get(string name, Input<string> id, BeanstalkState? state, CustomResourceOptions? opts = null)
public static Beanstalk get(String name, Output<String> id, BeanstalkState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Beanstalk
Environment stringId - The id of an existing Beanstalk environment.
- Beanstalk
Environment stringName - The name of an existing Beanstalk environment.
- Deployment
Preferences Pulumi.Spot Inst. Aws. Inputs. Beanstalk Deployment Preferences - Preferences when performing a roll
- Desired
Capacity int - The desired number of instances the group should have at any time.
- Instance
Types List<string>Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- Maintenance string
- Managed
Actions Pulumi.Spot Inst. Aws. Inputs. Beanstalk Managed Actions - Managed Actions parameters
- Max
Size int - The maximum number of instances the group should have at any time.
- Min
Size int - The minimum number of instances the group should have at any time.
- Name string
- The group name.
- Product string
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - Region string
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Beanstalk Scheduled Task>
- Beanstalk
Environment stringId - The id of an existing Beanstalk environment.
- Beanstalk
Environment stringName - The name of an existing Beanstalk environment.
- Deployment
Preferences BeanstalkDeployment Preferences Args - Preferences when performing a roll
- Desired
Capacity int - The desired number of instances the group should have at any time.
- Instance
Types []stringSpots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- Maintenance string
- Managed
Actions BeanstalkManaged Actions Args - Managed Actions parameters
- Max
Size int - The maximum number of instances the group should have at any time.
- Min
Size int - The minimum number of instances the group should have at any time.
- Name string
- The group name.
- Product string
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - Region string
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- Scheduled
Tasks []BeanstalkScheduled Task Args
- beanstalk
Environment StringId - The id of an existing Beanstalk environment.
- beanstalk
Environment StringName - The name of an existing Beanstalk environment.
- deployment
Preferences BeanstalkDeployment Preferences - Preferences when performing a roll
- desired
Capacity Integer - The desired number of instances the group should have at any time.
- instance
Types List<String>Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- maintenance String
- managed
Actions BeanstalkManaged Actions - Managed Actions parameters
- max
Size Integer - The maximum number of instances the group should have at any time.
- min
Size Integer - The minimum number of instances the group should have at any time.
- name String
- The group name.
- product String
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region String
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- scheduled
Tasks List<BeanstalkScheduled Task>
- beanstalk
Environment stringId - The id of an existing Beanstalk environment.
- beanstalk
Environment stringName - The name of an existing Beanstalk environment.
- deployment
Preferences BeanstalkDeployment Preferences - Preferences when performing a roll
- desired
Capacity number - The desired number of instances the group should have at any time.
- instance
Types string[]Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- maintenance string
- managed
Actions BeanstalkManaged Actions - Managed Actions parameters
- max
Size number - The maximum number of instances the group should have at any time.
- min
Size number - The minimum number of instances the group should have at any time.
- name string
- The group name.
- product string
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region string
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- scheduled
Tasks BeanstalkScheduled Task[]
- beanstalk_
environment_ strid - The id of an existing Beanstalk environment.
- beanstalk_
environment_ strname - The name of an existing Beanstalk environment.
- deployment_
preferences BeanstalkDeployment Preferences Args - Preferences when performing a roll
- desired_
capacity int - The desired number of instances the group should have at any time.
- instance_
types_ Sequence[str]spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- maintenance str
- managed_
actions BeanstalkManaged Actions Args - Managed Actions parameters
- max_
size int - The maximum number of instances the group should have at any time.
- min_
size int - The minimum number of instances the group should have at any time.
- name str
- The group name.
- product str
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region str
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- scheduled_
tasks Sequence[BeanstalkScheduled Task Args]
- beanstalk
Environment StringId - The id of an existing Beanstalk environment.
- beanstalk
Environment StringName - The name of an existing Beanstalk environment.
- deployment
Preferences Property Map - Preferences when performing a roll
- desired
Capacity Number - The desired number of instances the group should have at any time.
- instance
Types List<String>Spots - One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
- maintenance String
- managed
Actions Property Map - Managed Actions parameters
- max
Size Number - The maximum number of instances the group should have at any time.
- min
Size Number - The minimum number of instances the group should have at any time.
- name String
- The group name.
- product String
- Operation system type. Valid values:
"Linux/UNIX"
,"SUSE Linux"
,"Windows"
. For EC2 Classic instances:"Linux/UNIX (Amazon VPC)"
,"SUSE Linux (Amazon VPC)"
,"Windows (Amazon VPC)"
. - region String
- The AWS region your group will be created in. Cannot be changed after the group has been created.
- scheduled
Tasks List<Property Map>
Supporting Types
BeanstalkDeploymentPreferences, BeanstalkDeploymentPreferencesArgs
- Automatic
Roll bool - Should roll perform automatically
- Batch
Size intPercentage - Percent size of each batch
- Grace
Period int - Amount of time to wait between batches
- Strategies
List<Pulumi.
Spot Inst. Aws. Inputs. Beanstalk Deployment Preferences Strategy> - Strategy parameters
- Automatic
Roll bool - Should roll perform automatically
- Batch
Size intPercentage - Percent size of each batch
- Grace
Period int - Amount of time to wait between batches
- Strategies
[]Beanstalk
Deployment Preferences Strategy - Strategy parameters
- automatic
Roll Boolean - Should roll perform automatically
- batch
Size IntegerPercentage - Percent size of each batch
- grace
Period Integer - Amount of time to wait between batches
- strategies
List<Beanstalk
Deployment Preferences Strategy> - Strategy parameters
- automatic
Roll boolean - Should roll perform automatically
- batch
Size numberPercentage - Percent size of each batch
- grace
Period number - Amount of time to wait between batches
- strategies
Beanstalk
Deployment Preferences Strategy[] - Strategy parameters
- automatic_
roll bool - Should roll perform automatically
- batch_
size_ intpercentage - Percent size of each batch
- grace_
period int - Amount of time to wait between batches
- strategies
Sequence[Beanstalk
Deployment Preferences Strategy] - Strategy parameters
- automatic
Roll Boolean - Should roll perform automatically
- batch
Size NumberPercentage - Percent size of each batch
- grace
Period Number - Amount of time to wait between batches
- strategies List<Property Map>
- Strategy parameters
BeanstalkDeploymentPreferencesStrategy, BeanstalkDeploymentPreferencesStrategyArgs
- Action string
- Action to take
- Should
Drain boolInstances - Bool value if to wait to drain instance
- Action string
- Action to take
- Should
Drain boolInstances - Bool value if to wait to drain instance
- action String
- Action to take
- should
Drain BooleanInstances - Bool value if to wait to drain instance
- action string
- Action to take
- should
Drain booleanInstances - Bool value if to wait to drain instance
- action str
- Action to take
- should_
drain_ boolinstances - Bool value if to wait to drain instance
- action String
- Action to take
- should
Drain BooleanInstances - Bool value if to wait to drain instance
BeanstalkManagedActions, BeanstalkManagedActionsArgs
- Platform
Update Pulumi.Spot Inst. Aws. Inputs. Beanstalk Managed Actions Platform Update - Platform Update parameters
- Platform
Update BeanstalkManaged Actions Platform Update - Platform Update parameters
- platform
Update BeanstalkManaged Actions Platform Update - Platform Update parameters
- platform
Update BeanstalkManaged Actions Platform Update - Platform Update parameters
- platform_
update BeanstalkManaged Actions Platform Update - Platform Update parameters
- platform
Update Property Map - Platform Update parameters
BeanstalkManagedActionsPlatformUpdate, BeanstalkManagedActionsPlatformUpdateArgs
- Perform
At string - Actions to perform (options: timeWindow, never)
- Time
Window string - Time Window for when action occurs ex. Mon:23:50-Tue:00:20
- Update
Level string - Level to update
- Perform
At string - Actions to perform (options: timeWindow, never)
- Time
Window string - Time Window for when action occurs ex. Mon:23:50-Tue:00:20
- Update
Level string - Level to update
- perform
At String - Actions to perform (options: timeWindow, never)
- time
Window String - Time Window for when action occurs ex. Mon:23:50-Tue:00:20
- update
Level String - Level to update
- perform
At string - Actions to perform (options: timeWindow, never)
- time
Window string - Time Window for when action occurs ex. Mon:23:50-Tue:00:20
- update
Level string - Level to update
- perform_
at str - Actions to perform (options: timeWindow, never)
- time_
window str - Time Window for when action occurs ex. Mon:23:50-Tue:00:20
- update_
level str - Level to update
- perform
At String - Actions to perform (options: timeWindow, never)
- time
Window String - Time Window for when action occurs ex. Mon:23:50-Tue:00:20
- update
Level String - Level to update
BeanstalkScheduledTask, BeanstalkScheduledTaskArgs
- Task
Type string - The task type to run. Supported task types are:
"scale"
,"backup_ami"
,"roll"
,"scaleUp"
,"percentageScaleUp"
,"scaleDown"
,"percentageScaleDown"
,"statefulUpdateCapacity"
. - Adjustment string
- The number of instances to add or remove.
- Adjustment
Percentage string The percentage of instances to add or remove.
Usage:
- Batch
Size stringPercentage - The percentage size of each batch in the scheduled deployment roll.
- Cron
Expression string - A valid cron expression. The cron is running in UTC time zone and is in Unix cron format.
- Frequency string
- The recurrence frequency to run this task. Supported values are
"hourly"
,"daily"
,"weekly"
and"continuous"
. - Grace
Period string - The period of time (seconds) to wait before checking a batch's health after it's deployment.
- Is
Enabled bool - Setting the task to being enabled or disabled.
- Max
Capacity string - The maximum number of instances the group should have.
- Min
Capacity string - The minimum number of instances the group should have.
- Scale
Max stringCapacity - The maximum number of instances the group should have.
- Scale
Min stringCapacity - The minimum number of instances the group should have.
- Scale
Target stringCapacity - The desired number of instances the group should have.
- Start
Time string - Set a start time for one time tasks.
- Target
Capacity string - The desired number of instances the group should have.
- Task
Type string - The task type to run. Supported task types are:
"scale"
,"backup_ami"
,"roll"
,"scaleUp"
,"percentageScaleUp"
,"scaleDown"
,"percentageScaleDown"
,"statefulUpdateCapacity"
. - Adjustment string
- The number of instances to add or remove.
- Adjustment
Percentage string The percentage of instances to add or remove.
Usage:
- Batch
Size stringPercentage - The percentage size of each batch in the scheduled deployment roll.
- Cron
Expression string - A valid cron expression. The cron is running in UTC time zone and is in Unix cron format.
- Frequency string
- The recurrence frequency to run this task. Supported values are
"hourly"
,"daily"
,"weekly"
and"continuous"
. - Grace
Period string - The period of time (seconds) to wait before checking a batch's health after it's deployment.
- Is
Enabled bool - Setting the task to being enabled or disabled.
- Max
Capacity string - The maximum number of instances the group should have.
- Min
Capacity string - The minimum number of instances the group should have.
- Scale
Max stringCapacity - The maximum number of instances the group should have.
- Scale
Min stringCapacity - The minimum number of instances the group should have.
- Scale
Target stringCapacity - The desired number of instances the group should have.
- Start
Time string - Set a start time for one time tasks.
- Target
Capacity string - The desired number of instances the group should have.
- task
Type String - The task type to run. Supported task types are:
"scale"
,"backup_ami"
,"roll"
,"scaleUp"
,"percentageScaleUp"
,"scaleDown"
,"percentageScaleDown"
,"statefulUpdateCapacity"
. - adjustment String
- The number of instances to add or remove.
- adjustment
Percentage String The percentage of instances to add or remove.
Usage:
- batch
Size StringPercentage - The percentage size of each batch in the scheduled deployment roll.
- cron
Expression String - A valid cron expression. The cron is running in UTC time zone and is in Unix cron format.
- frequency String
- The recurrence frequency to run this task. Supported values are
"hourly"
,"daily"
,"weekly"
and"continuous"
. - grace
Period String - The period of time (seconds) to wait before checking a batch's health after it's deployment.
- is
Enabled Boolean - Setting the task to being enabled or disabled.
- max
Capacity String - The maximum number of instances the group should have.
- min
Capacity String - The minimum number of instances the group should have.
- scale
Max StringCapacity - The maximum number of instances the group should have.
- scale
Min StringCapacity - The minimum number of instances the group should have.
- scale
Target StringCapacity - The desired number of instances the group should have.
- start
Time String - Set a start time for one time tasks.
- target
Capacity String - The desired number of instances the group should have.
- task
Type string - The task type to run. Supported task types are:
"scale"
,"backup_ami"
,"roll"
,"scaleUp"
,"percentageScaleUp"
,"scaleDown"
,"percentageScaleDown"
,"statefulUpdateCapacity"
. - adjustment string
- The number of instances to add or remove.
- adjustment
Percentage string The percentage of instances to add or remove.
Usage:
- batch
Size stringPercentage - The percentage size of each batch in the scheduled deployment roll.
- cron
Expression string - A valid cron expression. The cron is running in UTC time zone and is in Unix cron format.
- frequency string
- The recurrence frequency to run this task. Supported values are
"hourly"
,"daily"
,"weekly"
and"continuous"
. - grace
Period string - The period of time (seconds) to wait before checking a batch's health after it's deployment.
- is
Enabled boolean - Setting the task to being enabled or disabled.
- max
Capacity string - The maximum number of instances the group should have.
- min
Capacity string - The minimum number of instances the group should have.
- scale
Max stringCapacity - The maximum number of instances the group should have.
- scale
Min stringCapacity - The minimum number of instances the group should have.
- scale
Target stringCapacity - The desired number of instances the group should have.
- start
Time string - Set a start time for one time tasks.
- target
Capacity string - The desired number of instances the group should have.
- task_
type str - The task type to run. Supported task types are:
"scale"
,"backup_ami"
,"roll"
,"scaleUp"
,"percentageScaleUp"
,"scaleDown"
,"percentageScaleDown"
,"statefulUpdateCapacity"
. - adjustment str
- The number of instances to add or remove.
- adjustment_
percentage str The percentage of instances to add or remove.
Usage:
- batch_
size_ strpercentage - The percentage size of each batch in the scheduled deployment roll.
- cron_
expression str - A valid cron expression. The cron is running in UTC time zone and is in Unix cron format.
- frequency str
- The recurrence frequency to run this task. Supported values are
"hourly"
,"daily"
,"weekly"
and"continuous"
. - grace_
period str - The period of time (seconds) to wait before checking a batch's health after it's deployment.
- is_
enabled bool - Setting the task to being enabled or disabled.
- max_
capacity str - The maximum number of instances the group should have.
- min_
capacity str - The minimum number of instances the group should have.
- scale_
max_ strcapacity - The maximum number of instances the group should have.
- scale_
min_ strcapacity - The minimum number of instances the group should have.
- scale_
target_ strcapacity - The desired number of instances the group should have.
- start_
time str - Set a start time for one time tasks.
- target_
capacity str - The desired number of instances the group should have.
- task
Type String - The task type to run. Supported task types are:
"scale"
,"backup_ami"
,"roll"
,"scaleUp"
,"percentageScaleUp"
,"scaleDown"
,"percentageScaleDown"
,"statefulUpdateCapacity"
. - adjustment String
- The number of instances to add or remove.
- adjustment
Percentage String The percentage of instances to add or remove.
Usage:
- batch
Size StringPercentage - The percentage size of each batch in the scheduled deployment roll.
- cron
Expression String - A valid cron expression. The cron is running in UTC time zone and is in Unix cron format.
- frequency String
- The recurrence frequency to run this task. Supported values are
"hourly"
,"daily"
,"weekly"
and"continuous"
. - grace
Period String - The period of time (seconds) to wait before checking a batch's health after it's deployment.
- is
Enabled Boolean - Setting the task to being enabled or disabled.
- max
Capacity String - The maximum number of instances the group should have.
- min
Capacity String - The minimum number of instances the group should have.
- scale
Max StringCapacity - The maximum number of instances the group should have.
- scale
Min StringCapacity - The minimum number of instances the group should have.
- scale
Target StringCapacity - The desired number of instances the group should have.
- start
Time String - Set a start time for one time tasks.
- target
Capacity String - The desired number of instances the group should have.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.