1. Packages
  2. Spotinst
  3. API Docs
  4. aws
  5. Beanstalk
Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi

spotinst.aws.Beanstalk

Explore with Pulumi AI

spotinst logo
Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi

    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:

    DesiredCapacity int
    The desired number of instances the group should have at any time.
    InstanceTypesSpots List<string>
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    MaxSize int
    The maximum number of instances the group should have at any time.
    MinSize 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.
    BeanstalkEnvironmentId string
    The id of an existing Beanstalk environment.
    BeanstalkEnvironmentName string
    The name of an existing Beanstalk environment.
    DeploymentPreferences Pulumi.SpotInst.Aws.Inputs.BeanstalkDeploymentPreferences
    Preferences when performing a roll
    Maintenance string
    ManagedActions Pulumi.SpotInst.Aws.Inputs.BeanstalkManagedActions
    Managed Actions parameters
    Name string
    The group name.
    ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.BeanstalkScheduledTask>
    DesiredCapacity int
    The desired number of instances the group should have at any time.
    InstanceTypesSpots []string
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    MaxSize int
    The maximum number of instances the group should have at any time.
    MinSize 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.
    BeanstalkEnvironmentId string
    The id of an existing Beanstalk environment.
    BeanstalkEnvironmentName string
    The name of an existing Beanstalk environment.
    DeploymentPreferences BeanstalkDeploymentPreferencesArgs
    Preferences when performing a roll
    Maintenance string
    ManagedActions BeanstalkManagedActionsArgs
    Managed Actions parameters
    Name string
    The group name.
    ScheduledTasks []BeanstalkScheduledTaskArgs
    desiredCapacity Integer
    The desired number of instances the group should have at any time.
    instanceTypesSpots List<String>
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maxSize Integer
    The maximum number of instances the group should have at any time.
    minSize 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.
    beanstalkEnvironmentId String
    The id of an existing Beanstalk environment.
    beanstalkEnvironmentName String
    The name of an existing Beanstalk environment.
    deploymentPreferences BeanstalkDeploymentPreferences
    Preferences when performing a roll
    maintenance String
    managedActions BeanstalkManagedActions
    Managed Actions parameters
    name String
    The group name.
    scheduledTasks List<BeanstalkScheduledTask>
    desiredCapacity number
    The desired number of instances the group should have at any time.
    instanceTypesSpots string[]
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maxSize number
    The maximum number of instances the group should have at any time.
    minSize 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.
    beanstalkEnvironmentId string
    The id of an existing Beanstalk environment.
    beanstalkEnvironmentName string
    The name of an existing Beanstalk environment.
    deploymentPreferences BeanstalkDeploymentPreferences
    Preferences when performing a roll
    maintenance string
    managedActions BeanstalkManagedActions
    Managed Actions parameters
    name string
    The group name.
    scheduledTasks BeanstalkScheduledTask[]
    desired_capacity int
    The desired number of instances the group should have at any time.
    instance_types_spots Sequence[str]
    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_id str
    The id of an existing Beanstalk environment.
    beanstalk_environment_name str
    The name of an existing Beanstalk environment.
    deployment_preferences BeanstalkDeploymentPreferencesArgs
    Preferences when performing a roll
    maintenance str
    managed_actions BeanstalkManagedActionsArgs
    Managed Actions parameters
    name str
    The group name.
    scheduled_tasks Sequence[BeanstalkScheduledTaskArgs]
    desiredCapacity Number
    The desired number of instances the group should have at any time.
    instanceTypesSpots List<String>
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maxSize Number
    The maximum number of instances the group should have at any time.
    minSize 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.
    beanstalkEnvironmentId String
    The id of an existing Beanstalk environment.
    beanstalkEnvironmentName String
    The name of an existing Beanstalk environment.
    deploymentPreferences Property Map
    Preferences when performing a roll
    maintenance String
    managedActions Property Map
    Managed Actions parameters
    name String
    The group name.
    scheduledTasks 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.
    The following state arguments are supported:
    BeanstalkEnvironmentId string
    The id of an existing Beanstalk environment.
    BeanstalkEnvironmentName string
    The name of an existing Beanstalk environment.
    DeploymentPreferences Pulumi.SpotInst.Aws.Inputs.BeanstalkDeploymentPreferences
    Preferences when performing a roll
    DesiredCapacity int
    The desired number of instances the group should have at any time.
    InstanceTypesSpots List<string>
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    Maintenance string
    ManagedActions Pulumi.SpotInst.Aws.Inputs.BeanstalkManagedActions
    Managed Actions parameters
    MaxSize int
    The maximum number of instances the group should have at any time.
    MinSize 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.
    ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.BeanstalkScheduledTask>
    BeanstalkEnvironmentId string
    The id of an existing Beanstalk environment.
    BeanstalkEnvironmentName string
    The name of an existing Beanstalk environment.
    DeploymentPreferences BeanstalkDeploymentPreferencesArgs
    Preferences when performing a roll
    DesiredCapacity int
    The desired number of instances the group should have at any time.
    InstanceTypesSpots []string
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    Maintenance string
    ManagedActions BeanstalkManagedActionsArgs
    Managed Actions parameters
    MaxSize int
    The maximum number of instances the group should have at any time.
    MinSize 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.
    ScheduledTasks []BeanstalkScheduledTaskArgs
    beanstalkEnvironmentId String
    The id of an existing Beanstalk environment.
    beanstalkEnvironmentName String
    The name of an existing Beanstalk environment.
    deploymentPreferences BeanstalkDeploymentPreferences
    Preferences when performing a roll
    desiredCapacity Integer
    The desired number of instances the group should have at any time.
    instanceTypesSpots List<String>
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maintenance String
    managedActions BeanstalkManagedActions
    Managed Actions parameters
    maxSize Integer
    The maximum number of instances the group should have at any time.
    minSize 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.
    scheduledTasks List<BeanstalkScheduledTask>
    beanstalkEnvironmentId string
    The id of an existing Beanstalk environment.
    beanstalkEnvironmentName string
    The name of an existing Beanstalk environment.
    deploymentPreferences BeanstalkDeploymentPreferences
    Preferences when performing a roll
    desiredCapacity number
    The desired number of instances the group should have at any time.
    instanceTypesSpots string[]
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maintenance string
    managedActions BeanstalkManagedActions
    Managed Actions parameters
    maxSize number
    The maximum number of instances the group should have at any time.
    minSize 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.
    scheduledTasks BeanstalkScheduledTask[]
    beanstalk_environment_id str
    The id of an existing Beanstalk environment.
    beanstalk_environment_name str
    The name of an existing Beanstalk environment.
    deployment_preferences BeanstalkDeploymentPreferencesArgs
    Preferences when performing a roll
    desired_capacity int
    The desired number of instances the group should have at any time.
    instance_types_spots Sequence[str]
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maintenance str
    managed_actions BeanstalkManagedActionsArgs
    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[BeanstalkScheduledTaskArgs]
    beanstalkEnvironmentId String
    The id of an existing Beanstalk environment.
    beanstalkEnvironmentName String
    The name of an existing Beanstalk environment.
    deploymentPreferences Property Map
    Preferences when performing a roll
    desiredCapacity Number
    The desired number of instances the group should have at any time.
    instanceTypesSpots List<String>
    One or more instance types. To maximize the availability of Spot instances, select as many instance types as possible.
    maintenance String
    managedActions Property Map
    Managed Actions parameters
    maxSize Number
    The maximum number of instances the group should have at any time.
    minSize 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.
    scheduledTasks List<Property Map>

    Supporting Types

    BeanstalkDeploymentPreferences, BeanstalkDeploymentPreferencesArgs

    AutomaticRoll bool
    Should roll perform automatically
    BatchSizePercentage int
    Percent size of each batch
    GracePeriod int
    Amount of time to wait between batches
    Strategies List<Pulumi.SpotInst.Aws.Inputs.BeanstalkDeploymentPreferencesStrategy>
    Strategy parameters
    AutomaticRoll bool
    Should roll perform automatically
    BatchSizePercentage int
    Percent size of each batch
    GracePeriod int
    Amount of time to wait between batches
    Strategies []BeanstalkDeploymentPreferencesStrategy
    Strategy parameters
    automaticRoll Boolean
    Should roll perform automatically
    batchSizePercentage Integer
    Percent size of each batch
    gracePeriod Integer
    Amount of time to wait between batches
    strategies List<BeanstalkDeploymentPreferencesStrategy>
    Strategy parameters
    automaticRoll boolean
    Should roll perform automatically
    batchSizePercentage number
    Percent size of each batch
    gracePeriod number
    Amount of time to wait between batches
    strategies BeanstalkDeploymentPreferencesStrategy[]
    Strategy parameters
    automatic_roll bool
    Should roll perform automatically
    batch_size_percentage int
    Percent size of each batch
    grace_period int
    Amount of time to wait between batches
    strategies Sequence[BeanstalkDeploymentPreferencesStrategy]
    Strategy parameters
    automaticRoll Boolean
    Should roll perform automatically
    batchSizePercentage Number
    Percent size of each batch
    gracePeriod Number
    Amount of time to wait between batches
    strategies List<Property Map>
    Strategy parameters

    BeanstalkDeploymentPreferencesStrategy, BeanstalkDeploymentPreferencesStrategyArgs

    Action string
    Action to take
    ShouldDrainInstances bool
    Bool value if to wait to drain instance
    Action string
    Action to take
    ShouldDrainInstances bool
    Bool value if to wait to drain instance
    action String
    Action to take
    shouldDrainInstances Boolean
    Bool value if to wait to drain instance
    action string
    Action to take
    shouldDrainInstances boolean
    Bool value if to wait to drain instance
    action str
    Action to take
    should_drain_instances bool
    Bool value if to wait to drain instance
    action String
    Action to take
    shouldDrainInstances Boolean
    Bool value if to wait to drain instance

    BeanstalkManagedActions, BeanstalkManagedActionsArgs

    platformUpdate Property Map
    Platform Update parameters

    BeanstalkManagedActionsPlatformUpdate, BeanstalkManagedActionsPlatformUpdateArgs

    PerformAt string
    Actions to perform (options: timeWindow, never)
    TimeWindow string
    Time Window for when action occurs ex. Mon:23:50-Tue:00:20
    UpdateLevel string
    Level to update
    PerformAt string
    Actions to perform (options: timeWindow, never)
    TimeWindow string
    Time Window for when action occurs ex. Mon:23:50-Tue:00:20
    UpdateLevel string
    Level to update
    performAt String
    Actions to perform (options: timeWindow, never)
    timeWindow String
    Time Window for when action occurs ex. Mon:23:50-Tue:00:20
    updateLevel String
    Level to update
    performAt string
    Actions to perform (options: timeWindow, never)
    timeWindow string
    Time Window for when action occurs ex. Mon:23:50-Tue:00:20
    updateLevel 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
    performAt String
    Actions to perform (options: timeWindow, never)
    timeWindow String
    Time Window for when action occurs ex. Mon:23:50-Tue:00:20
    updateLevel String
    Level to update

    BeanstalkScheduledTask, BeanstalkScheduledTaskArgs

    TaskType 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.
    AdjustmentPercentage string

    The percentage of instances to add or remove.

    Usage:

    BatchSizePercentage string
    The percentage size of each batch in the scheduled deployment roll.
    CronExpression 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".
    GracePeriod string
    The period of time (seconds) to wait before checking a batch's health after it's deployment.
    IsEnabled bool
    Setting the task to being enabled or disabled.
    MaxCapacity string
    The maximum number of instances the group should have.
    MinCapacity string
    The minimum number of instances the group should have.
    ScaleMaxCapacity string
    The maximum number of instances the group should have.
    ScaleMinCapacity string
    The minimum number of instances the group should have.
    ScaleTargetCapacity string
    The desired number of instances the group should have.
    StartTime string
    Set a start time for one time tasks.
    TargetCapacity string
    The desired number of instances the group should have.
    TaskType 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.
    AdjustmentPercentage string

    The percentage of instances to add or remove.

    Usage:

    BatchSizePercentage string
    The percentage size of each batch in the scheduled deployment roll.
    CronExpression 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".
    GracePeriod string
    The period of time (seconds) to wait before checking a batch's health after it's deployment.
    IsEnabled bool
    Setting the task to being enabled or disabled.
    MaxCapacity string
    The maximum number of instances the group should have.
    MinCapacity string
    The minimum number of instances the group should have.
    ScaleMaxCapacity string
    The maximum number of instances the group should have.
    ScaleMinCapacity string
    The minimum number of instances the group should have.
    ScaleTargetCapacity string
    The desired number of instances the group should have.
    StartTime string
    Set a start time for one time tasks.
    TargetCapacity string
    The desired number of instances the group should have.
    taskType 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.
    adjustmentPercentage String

    The percentage of instances to add or remove.

    Usage:

    batchSizePercentage String
    The percentage size of each batch in the scheduled deployment roll.
    cronExpression 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".
    gracePeriod String
    The period of time (seconds) to wait before checking a batch's health after it's deployment.
    isEnabled Boolean
    Setting the task to being enabled or disabled.
    maxCapacity String
    The maximum number of instances the group should have.
    minCapacity String
    The minimum number of instances the group should have.
    scaleMaxCapacity String
    The maximum number of instances the group should have.
    scaleMinCapacity String
    The minimum number of instances the group should have.
    scaleTargetCapacity String
    The desired number of instances the group should have.
    startTime String
    Set a start time for one time tasks.
    targetCapacity String
    The desired number of instances the group should have.
    taskType 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.
    adjustmentPercentage string

    The percentage of instances to add or remove.

    Usage:

    batchSizePercentage string
    The percentage size of each batch in the scheduled deployment roll.
    cronExpression 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".
    gracePeriod string
    The period of time (seconds) to wait before checking a batch's health after it's deployment.
    isEnabled boolean
    Setting the task to being enabled or disabled.
    maxCapacity string
    The maximum number of instances the group should have.
    minCapacity string
    The minimum number of instances the group should have.
    scaleMaxCapacity string
    The maximum number of instances the group should have.
    scaleMinCapacity string
    The minimum number of instances the group should have.
    scaleTargetCapacity string
    The desired number of instances the group should have.
    startTime string
    Set a start time for one time tasks.
    targetCapacity 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_percentage str
    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_capacity str
    The maximum number of instances the group should have.
    scale_min_capacity str
    The minimum number of instances the group should have.
    scale_target_capacity str
    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.
    taskType 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.
    adjustmentPercentage String

    The percentage of instances to add or remove.

    Usage:

    batchSizePercentage String
    The percentage size of each batch in the scheduled deployment roll.
    cronExpression 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".
    gracePeriod String
    The period of time (seconds) to wait before checking a batch's health after it's deployment.
    isEnabled Boolean
    Setting the task to being enabled or disabled.
    maxCapacity String
    The maximum number of instances the group should have.
    minCapacity String
    The minimum number of instances the group should have.
    scaleMaxCapacity String
    The maximum number of instances the group should have.
    scaleMinCapacity String
    The minimum number of instances the group should have.
    scaleTargetCapacity String
    The desired number of instances the group should have.
    startTime String
    Set a start time for one time tasks.
    targetCapacity 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.
    spotinst logo
    Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi