@pulumi/aws-native 0.99.1-alpha.1711140610 → 0.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autoscaling/autoScalingGroup.d.ts +227 -1
- package/autoscaling/autoScalingGroup.js +3 -1
- package/autoscaling/autoScalingGroup.js.map +1 -1
- package/autoscaling/getAutoScalingGroup.d.ts +119 -2
- package/autoscaling/getAutoScalingGroup.js +6 -2
- package/autoscaling/getAutoScalingGroup.js.map +1 -1
- package/datasync/getTask.d.ts +1 -0
- package/datasync/getTask.js.map +1 -1
- package/datasync/task.d.ts +2 -0
- package/datasync/task.js +2 -0
- package/datasync/task.js.map +1 -1
- package/ec2/getNetworkInterface.d.ts +4 -0
- package/ec2/getNetworkInterface.js.map +1 -1
- package/ec2/networkInterface.d.ts +4 -0
- package/ec2/networkInterface.js +2 -0
- package/ec2/networkInterface.js.map +1 -1
- package/elasticloadbalancingv2/getListenerRule.d.ts +16 -2
- package/elasticloadbalancingv2/getListenerRule.js +4 -2
- package/elasticloadbalancingv2/getListenerRule.js.map +1 -1
- package/elasticloadbalancingv2/listenerRule.d.ts +32 -1
- package/elasticloadbalancingv2/listenerRule.js +2 -1
- package/elasticloadbalancingv2/listenerRule.js.map +1 -1
- package/fis/experimentTemplate.js +1 -1
- package/fis/experimentTemplate.js.map +1 -1
- package/kafkaconnect/connector.d.ts +8 -0
- package/kafkaconnect/connector.js +2 -0
- package/kafkaconnect/connector.js.map +1 -1
- package/kafkaconnect/getConnector.d.ts +4 -0
- package/kafkaconnect/getConnector.js.map +1 -1
- package/lambda/getUrl.d.ts +1 -1
- package/lambda/url.d.ts +2 -2
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/ssm/getParameter.d.ts +0 -1
- package/ssm/getParameter.js.map +1 -1
- package/ssm/parameter.d.ts +0 -2
- package/ssm/parameter.js.map +1 -1
- package/types/enums/datasync/index.d.ts +14 -0
- package/types/enums/datasync/index.js +7 -1
- package/types/enums/datasync/index.js.map +1 -1
- package/types/enums/lambda/index.d.ts +1 -1
- package/types/enums/ssm/index.d.ts +0 -1
- package/types/enums/ssm/index.js.map +1 -1
- package/types/input.d.ts +773 -5
- package/types/output.d.ts +773 -5
package/types/input.d.ts
CHANGED
|
@@ -3648,119 +3648,571 @@ export declare namespace auditmanager {
|
|
|
3648
3648
|
}
|
|
3649
3649
|
}
|
|
3650
3650
|
export declare namespace autoscaling {
|
|
3651
|
+
/**
|
|
3652
|
+
* ``AcceleratorCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of accelerators for an instance type.
|
|
3653
|
+
*/
|
|
3651
3654
|
interface AutoScalingGroupAcceleratorCountRequestArgs {
|
|
3655
|
+
/**
|
|
3656
|
+
* The maximum value.
|
|
3657
|
+
*/
|
|
3652
3658
|
max?: pulumi.Input<number>;
|
|
3659
|
+
/**
|
|
3660
|
+
* The minimum value.
|
|
3661
|
+
*/
|
|
3653
3662
|
min?: pulumi.Input<number>;
|
|
3654
3663
|
}
|
|
3664
|
+
/**
|
|
3665
|
+
* ``AcceleratorTotalMemoryMiBRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB.
|
|
3666
|
+
*/
|
|
3655
3667
|
interface AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgs {
|
|
3668
|
+
/**
|
|
3669
|
+
* The memory maximum in MiB.
|
|
3670
|
+
*/
|
|
3656
3671
|
max?: pulumi.Input<number>;
|
|
3672
|
+
/**
|
|
3673
|
+
* The memory minimum in MiB.
|
|
3674
|
+
*/
|
|
3657
3675
|
min?: pulumi.Input<number>;
|
|
3658
3676
|
}
|
|
3677
|
+
/**
|
|
3678
|
+
* ``BaselineEbsBandwidthMbpsRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
|
|
3679
|
+
*/
|
|
3659
3680
|
interface AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgs {
|
|
3681
|
+
/**
|
|
3682
|
+
* The maximum value in Mbps.
|
|
3683
|
+
*/
|
|
3660
3684
|
max?: pulumi.Input<number>;
|
|
3685
|
+
/**
|
|
3686
|
+
* The minimum value in Mbps.
|
|
3687
|
+
*/
|
|
3661
3688
|
min?: pulumi.Input<number>;
|
|
3662
3689
|
}
|
|
3690
|
+
/**
|
|
3691
|
+
* ``InstanceMaintenancePolicy`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
|
|
3692
|
+
* For more information, see [Instance maintenance policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
3693
|
+
*/
|
|
3663
3694
|
interface AutoScalingGroupInstanceMaintenancePolicyArgs {
|
|
3695
|
+
/**
|
|
3696
|
+
* Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of ``-1``.
|
|
3697
|
+
* Both ``MinHealthyPercentage`` and ``MaxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time.
|
|
3698
|
+
*/
|
|
3664
3699
|
maxHealthyPercentage?: pulumi.Input<number>;
|
|
3700
|
+
/**
|
|
3701
|
+
* Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of ``-1``.
|
|
3702
|
+
*/
|
|
3665
3703
|
minHealthyPercentage?: pulumi.Input<number>;
|
|
3666
3704
|
}
|
|
3705
|
+
/**
|
|
3706
|
+
* The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
|
|
3707
|
+
* When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
|
|
3708
|
+
* To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:
|
|
3709
|
+
* + ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
|
|
3710
|
+
* + ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes.
|
|
3711
|
+
*
|
|
3712
|
+
* You must specify ``VCpuCount`` and ``MemoryMiB``. All other attributes are optional. Any unspecified optional attribute is set to its default.
|
|
3713
|
+
* For an example template, see [Auto scaling template snippets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html).
|
|
3714
|
+
* For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the *Amazon EC2 Auto Scaling User Guide*. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see [Preview instance types with specified attributes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
3715
|
+
* ``InstanceRequirements`` is a property of the ``LaunchTemplateOverrides`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) property type.
|
|
3716
|
+
*/
|
|
3667
3717
|
interface AutoScalingGroupInstanceRequirementsArgs {
|
|
3718
|
+
/**
|
|
3719
|
+
* The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type.
|
|
3720
|
+
* To exclude accelerator-enabled instance types, set ``Max`` to ``0``.
|
|
3721
|
+
* Default: No minimum or maximum limits
|
|
3722
|
+
*/
|
|
3668
3723
|
acceleratorCount?: pulumi.Input<inputs.autoscaling.AutoScalingGroupAcceleratorCountRequestArgs>;
|
|
3724
|
+
/**
|
|
3725
|
+
* Indicates whether instance types must have accelerators by specific manufacturers.
|
|
3726
|
+
* + For instance types with NVIDIA devices, specify ``nvidia``.
|
|
3727
|
+
* + For instance types with AMD devices, specify ``amd``.
|
|
3728
|
+
* + For instance types with AWS devices, specify ``amazon-web-services``.
|
|
3729
|
+
* + For instance types with Xilinx devices, specify ``xilinx``.
|
|
3730
|
+
*
|
|
3731
|
+
* Default: Any manufacturer
|
|
3732
|
+
*/
|
|
3669
3733
|
acceleratorManufacturers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3734
|
+
/**
|
|
3735
|
+
* Lists the accelerators that must be on an instance type.
|
|
3736
|
+
* + For instance types with NVIDIA A100 GPUs, specify ``a100``.
|
|
3737
|
+
* + For instance types with NVIDIA V100 GPUs, specify ``v100``.
|
|
3738
|
+
* + For instance types with NVIDIA K80 GPUs, specify ``k80``.
|
|
3739
|
+
* + For instance types with NVIDIA T4 GPUs, specify ``t4``.
|
|
3740
|
+
* + For instance types with NVIDIA M60 GPUs, specify ``m60``.
|
|
3741
|
+
* + For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520``.
|
|
3742
|
+
* + For instance types with Xilinx VU9P FPGAs, specify ``vu9p``.
|
|
3743
|
+
*
|
|
3744
|
+
* Default: Any accelerator
|
|
3745
|
+
*/
|
|
3670
3746
|
acceleratorNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3747
|
+
/**
|
|
3748
|
+
* The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
|
|
3749
|
+
* Default: No minimum or maximum limits
|
|
3750
|
+
*/
|
|
3671
3751
|
acceleratorTotalMemoryMiB?: pulumi.Input<inputs.autoscaling.AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgs>;
|
|
3752
|
+
/**
|
|
3753
|
+
* Lists the accelerator types that must be on an instance type.
|
|
3754
|
+
* + For instance types with GPU accelerators, specify ``gpu``.
|
|
3755
|
+
* + For instance types with FPGA accelerators, specify ``fpga``.
|
|
3756
|
+
* + For instance types with inference accelerators, specify ``inference``.
|
|
3757
|
+
*
|
|
3758
|
+
* Default: Any accelerator type
|
|
3759
|
+
*/
|
|
3672
3760
|
acceleratorTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3761
|
+
/**
|
|
3762
|
+
* The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
|
|
3763
|
+
* You can use strings with one or more wild cards, represented by an asterisk (``*``), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge``, ``c5*.*``, ``m5a.*``, ``r*``, ``*3*``.
|
|
3764
|
+
* For example, if you specify ``c5*``, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*``, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.
|
|
3765
|
+
* If you specify ``AllowedInstanceTypes``, you can't specify ``ExcludedInstanceTypes``.
|
|
3766
|
+
* Default: All instance types
|
|
3767
|
+
*/
|
|
3673
3768
|
allowedInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3769
|
+
/**
|
|
3770
|
+
* Indicates whether bare metal instance types are included, excluded, or required.
|
|
3771
|
+
* Default: ``excluded``
|
|
3772
|
+
*/
|
|
3674
3773
|
bareMetal?: pulumi.Input<string>;
|
|
3774
|
+
/**
|
|
3775
|
+
* The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
3776
|
+
* Default: No minimum or maximum limits
|
|
3777
|
+
*/
|
|
3675
3778
|
baselineEbsBandwidthMbps?: pulumi.Input<inputs.autoscaling.AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgs>;
|
|
3779
|
+
/**
|
|
3780
|
+
* Indicates whether burstable performance instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
3781
|
+
* Default: ``excluded``
|
|
3782
|
+
*/
|
|
3676
3783
|
burstablePerformance?: pulumi.Input<string>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Lists which specific CPU manufacturers to include.
|
|
3786
|
+
* + For instance types with Intel CPUs, specify ``intel``.
|
|
3787
|
+
* + For instance types with AMD CPUs, specify ``amd``.
|
|
3788
|
+
* + For instance types with AWS CPUs, specify ``amazon-web-services``.
|
|
3789
|
+
*
|
|
3790
|
+
* Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
|
|
3791
|
+
* Default: Any manufacturer
|
|
3792
|
+
*/
|
|
3677
3793
|
cpuManufacturers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3794
|
+
/**
|
|
3795
|
+
* The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (``*``), to exclude an instance family, type, size, or generation. The following are examples: ``m5.8xlarge``, ``c5*.*``, ``m5a.*``, ``r*``, ``*3*``.
|
|
3796
|
+
* For example, if you specify ``c5*``, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*``, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types.
|
|
3797
|
+
* If you specify ``ExcludedInstanceTypes``, you can't specify ``AllowedInstanceTypes``.
|
|
3798
|
+
* Default: No excluded instance types
|
|
3799
|
+
*/
|
|
3678
3800
|
excludedInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3801
|
+
/**
|
|
3802
|
+
* Indicates whether current or previous generation instance types are included.
|
|
3803
|
+
* + For current generation instance types, specify ``current``. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
3804
|
+
* + For previous generation instance types, specify ``previous``.
|
|
3805
|
+
*
|
|
3806
|
+
* Default: Any current or previous generation
|
|
3807
|
+
*/
|
|
3679
3808
|
instanceGenerations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3809
|
+
/**
|
|
3810
|
+
* Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
3811
|
+
* Default: ``included``
|
|
3812
|
+
*/
|
|
3680
3813
|
localStorage?: pulumi.Input<string>;
|
|
3814
|
+
/**
|
|
3815
|
+
* Indicates the type of local storage that is required.
|
|
3816
|
+
* + For instance types with hard disk drive (HDD) storage, specify ``hdd``.
|
|
3817
|
+
* + For instance types with solid state drive (SSD) storage, specify ``ssd``.
|
|
3818
|
+
*
|
|
3819
|
+
* Default: Any local storage type
|
|
3820
|
+
*/
|
|
3681
3821
|
localStorageTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3822
|
+
/**
|
|
3823
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.
|
|
3824
|
+
* The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
|
|
3825
|
+
* To indicate no price protection threshold, specify a high value, such as ``999999``.
|
|
3826
|
+
* If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price.
|
|
3827
|
+
* Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, then ``SpotMaxPricePercentageOverLowestPrice`` is used and the value for that parameter defaults to ``100``.
|
|
3828
|
+
*/
|
|
3682
3829
|
maxSpotPriceAsPercentageOfOptimalOnDemandPrice?: pulumi.Input<number>;
|
|
3830
|
+
/**
|
|
3831
|
+
* The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
|
|
3832
|
+
* Default: No minimum or maximum limits
|
|
3833
|
+
*/
|
|
3683
3834
|
memoryGiBPerVCpu?: pulumi.Input<inputs.autoscaling.AutoScalingGroupMemoryGiBPerVCpuRequestArgs>;
|
|
3835
|
+
/**
|
|
3836
|
+
* The minimum and maximum instance memory size for an instance type, in MiB.
|
|
3837
|
+
*/
|
|
3684
3838
|
memoryMiB: pulumi.Input<inputs.autoscaling.AutoScalingGroupMemoryMiBRequestArgs>;
|
|
3839
|
+
/**
|
|
3840
|
+
* The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).
|
|
3841
|
+
* Default: No minimum or maximum limits
|
|
3842
|
+
*/
|
|
3685
3843
|
networkBandwidthGbps?: pulumi.Input<inputs.autoscaling.AutoScalingGroupNetworkBandwidthGbpsRequestArgs>;
|
|
3844
|
+
/**
|
|
3845
|
+
* The minimum and maximum number of network interfaces for an instance type.
|
|
3846
|
+
* Default: No minimum or maximum limits
|
|
3847
|
+
*/
|
|
3686
3848
|
networkInterfaceCount?: pulumi.Input<inputs.autoscaling.AutoScalingGroupNetworkInterfaceCountRequestArgs>;
|
|
3849
|
+
/**
|
|
3850
|
+
* [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.
|
|
3851
|
+
* The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
|
|
3852
|
+
* To turn off price protection, specify a high value, such as ``999999``.
|
|
3853
|
+
* If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price.
|
|
3854
|
+
* Default: ``20``
|
|
3855
|
+
*/
|
|
3687
3856
|
onDemandMaxPricePercentageOverLowestPrice?: pulumi.Input<number>;
|
|
3857
|
+
/**
|
|
3858
|
+
* Indicates whether instance types must provide On-Demand Instance hibernation support.
|
|
3859
|
+
* Default: ``false``
|
|
3860
|
+
*/
|
|
3688
3861
|
requireHibernateSupport?: pulumi.Input<boolean>;
|
|
3862
|
+
/**
|
|
3863
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.
|
|
3864
|
+
* The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
|
|
3865
|
+
* To turn off price protection, specify a high value, such as ``999999``.
|
|
3866
|
+
* If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price.
|
|
3867
|
+
* Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified.
|
|
3868
|
+
* Default: ``100``
|
|
3869
|
+
*/
|
|
3689
3870
|
spotMaxPricePercentageOverLowestPrice?: pulumi.Input<number>;
|
|
3871
|
+
/**
|
|
3872
|
+
* The minimum and maximum total local storage size for an instance type, in GB.
|
|
3873
|
+
* Default: No minimum or maximum limits
|
|
3874
|
+
*/
|
|
3690
3875
|
totalLocalStorageGb?: pulumi.Input<inputs.autoscaling.AutoScalingGroupTotalLocalStorageGbRequestArgs>;
|
|
3876
|
+
/**
|
|
3877
|
+
* The minimum and maximum number of vCPUs for an instance type.
|
|
3878
|
+
*/
|
|
3691
3879
|
vCpuCount: pulumi.Input<inputs.autoscaling.AutoScalingGroupVCpuCountRequestArgs>;
|
|
3692
3880
|
}
|
|
3881
|
+
/**
|
|
3882
|
+
* Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy.
|
|
3883
|
+
* For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
3884
|
+
* ``InstancesDistribution`` is a property of the [AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html) property type.
|
|
3885
|
+
*/
|
|
3693
3886
|
interface AutoScalingGroupInstancesDistributionArgs {
|
|
3887
|
+
/**
|
|
3888
|
+
* The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.
|
|
3889
|
+
* The following lists the valid values:
|
|
3890
|
+
* + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
|
|
3891
|
+
*/
|
|
3694
3892
|
onDemandAllocationStrategy?: pulumi.Input<string>;
|
|
3893
|
+
/**
|
|
3894
|
+
* The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales.
|
|
3895
|
+
* This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.
|
|
3896
|
+
* Default: 0
|
|
3897
|
+
* An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
|
|
3898
|
+
*/
|
|
3695
3899
|
onDemandBaseCapacity?: pulumi.Input<number>;
|
|
3900
|
+
/**
|
|
3901
|
+
* Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond ``OnDemandBaseCapacity``. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used.
|
|
3902
|
+
* Default: 100
|
|
3903
|
+
* An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones.
|
|
3904
|
+
*/
|
|
3696
3905
|
onDemandPercentageAboveBaseCapacity?: pulumi.Input<number>;
|
|
3906
|
+
/**
|
|
3907
|
+
* The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.
|
|
3908
|
+
* The following lists the valid values:
|
|
3909
|
+
* + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
|
|
3910
|
+
*/
|
|
3697
3911
|
spotAllocationStrategy?: pulumi.Input<string>;
|
|
3912
|
+
/**
|
|
3913
|
+
* The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the ``SpotAllocationStrategy`` is ``lowest-price``. Value must be in the range of 1–20.
|
|
3914
|
+
* Default: 2
|
|
3915
|
+
*/
|
|
3698
3916
|
spotInstancePools?: pulumi.Input<number>;
|
|
3917
|
+
/**
|
|
3918
|
+
* The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ("") for the value.
|
|
3919
|
+
* If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.
|
|
3920
|
+
* Valid Range: Minimum value of 0.001
|
|
3921
|
+
*/
|
|
3699
3922
|
spotMaxPrice?: pulumi.Input<string>;
|
|
3700
3923
|
}
|
|
3924
|
+
/**
|
|
3925
|
+
* Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
|
|
3926
|
+
* ``LaunchTemplate`` is a property of the [AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html) property type.
|
|
3927
|
+
*/
|
|
3701
3928
|
interface AutoScalingGroupLaunchTemplateArgs {
|
|
3929
|
+
/**
|
|
3930
|
+
* The launch template.
|
|
3931
|
+
*/
|
|
3702
3932
|
launchTemplateSpecification: pulumi.Input<inputs.autoscaling.AutoScalingGroupLaunchTemplateSpecificationArgs>;
|
|
3933
|
+
/**
|
|
3934
|
+
* Any properties that you specify override the same properties in the launch template.
|
|
3935
|
+
*/
|
|
3703
3936
|
overrides?: pulumi.Input<pulumi.Input<inputs.autoscaling.AutoScalingGroupLaunchTemplateOverridesArgs>[]>;
|
|
3704
3937
|
}
|
|
3938
|
+
/**
|
|
3939
|
+
* Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy:
|
|
3940
|
+
* + Override the instance type that is specified in the launch template.
|
|
3941
|
+
* + Use multiple instance types.
|
|
3942
|
+
*
|
|
3943
|
+
* Specify the instance types that you want, or define your instance requirements instead and let Amazon EC2 Auto Scaling provision the available instance types that meet your requirements. This can provide Amazon EC2 Auto Scaling with a larger selection of instance types to choose from when fulfilling Spot and On-Demand capacities. You can view which instance types are matched before you apply the instance requirements to your Auto Scaling group.
|
|
3944
|
+
* After you define your instance requirements, you don't have to keep updating these settings to get new EC2 instance types automatically. Amazon EC2 Auto Scaling uses the instance requirements of the Auto Scaling group to determine whether a new EC2 instance type can be used.
|
|
3945
|
+
* ``LaunchTemplateOverrides`` is a property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) property type.
|
|
3946
|
+
*/
|
|
3705
3947
|
interface AutoScalingGroupLaunchTemplateOverridesArgs {
|
|
3948
|
+
/**
|
|
3949
|
+
* The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
|
|
3950
|
+
* You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.
|
|
3951
|
+
* If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
|
|
3952
|
+
*/
|
|
3706
3953
|
instanceRequirements?: pulumi.Input<inputs.autoscaling.AutoScalingGroupInstanceRequirementsArgs>;
|
|
3954
|
+
/**
|
|
3955
|
+
* The instance type, such as ``m3.xlarge``. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon Elastic Compute Cloud User Guide*.
|
|
3956
|
+
* You can specify up to 40 instance types per Auto Scaling group.
|
|
3957
|
+
*/
|
|
3707
3958
|
instanceType?: pulumi.Input<string>;
|
|
3959
|
+
/**
|
|
3960
|
+
* Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the ``LaunchTemplate`` definition. For more information, see [Specifying a different launch template for an instance type](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
3961
|
+
* You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the ``LaunchTemplate`` definition count towards this limit.
|
|
3962
|
+
*/
|
|
3708
3963
|
launchTemplateSpecification?: pulumi.Input<inputs.autoscaling.AutoScalingGroupLaunchTemplateSpecificationArgs>;
|
|
3964
|
+
/**
|
|
3965
|
+
* If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a ``WeightedCapacity`` of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see [Configure instance weighting for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html) in the *Amazon EC2 Auto Scaling User Guide*. Value must be in the range of 1-999.
|
|
3966
|
+
* If you specify a value for ``WeightedCapacity`` for one instance type, you must specify a value for ``WeightedCapacity`` for all of them.
|
|
3967
|
+
* Every Auto Scaling group has three size parameters (``DesiredCapacity``, ``MaxSize``, and ``MinSize``). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.
|
|
3968
|
+
*/
|
|
3709
3969
|
weightedCapacity?: pulumi.Input<string>;
|
|
3710
3970
|
}
|
|
3971
|
+
/**
|
|
3972
|
+
* Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group.
|
|
3973
|
+
* You must specify the following:
|
|
3974
|
+
* + The ID or the name of the launch template, but not both.
|
|
3975
|
+
* + The version of the launch template.
|
|
3976
|
+
*
|
|
3977
|
+
* ``LaunchTemplateSpecification`` is property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. It is also a property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) and [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property types.
|
|
3978
|
+
* For information about creating a launch template, see [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) and [Create a launch template for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
3979
|
+
* For examples of launch templates, see [Auto scaling template snippets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html) and the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate--examples) section in the ``AWS::EC2::LaunchTemplate`` resource.
|
|
3980
|
+
*/
|
|
3711
3981
|
interface AutoScalingGroupLaunchTemplateSpecificationArgs {
|
|
3982
|
+
/**
|
|
3983
|
+
* The ID of the launch template.
|
|
3984
|
+
* You must specify the ``LaunchTemplateID`` or the ``LaunchTemplateName``, but not both.
|
|
3985
|
+
*/
|
|
3712
3986
|
launchTemplateId?: pulumi.Input<string>;
|
|
3987
|
+
/**
|
|
3988
|
+
* The name of the launch template.
|
|
3989
|
+
* You must specify the ``LaunchTemplateName`` or the ``LaunchTemplateID``, but not both.
|
|
3990
|
+
*/
|
|
3713
3991
|
launchTemplateName?: pulumi.Input<string>;
|
|
3992
|
+
/**
|
|
3993
|
+
* The version number of the launch template.
|
|
3994
|
+
* Specifying ``$Latest`` or ``$Default`` for the template version number is not supported. However, you can specify ``LatestVersionNumber`` or ``DefaultVersionNumber`` using the ``Fn::GetAtt`` intrinsic function. For more information, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
|
|
3995
|
+
* For an example of using the ``Fn::GetAtt`` function, see the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource.
|
|
3996
|
+
*/
|
|
3714
3997
|
version: pulumi.Input<string>;
|
|
3715
3998
|
}
|
|
3999
|
+
/**
|
|
4000
|
+
* ``LifecycleHookSpecification`` specifies a lifecycle hook for the ``LifecycleHookSpecificationList`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. A lifecycle hook specifies actions to perform when Amazon EC2 Auto Scaling launches or terminates instances.
|
|
4001
|
+
* For more information, see [Amazon EC2 Auto Scaling lifecycle hooks](https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#aws-resource-as-lifecyclehook--examples) section of the ``AWS::AutoScaling::LifecycleHook`` resource.
|
|
4002
|
+
*/
|
|
3716
4003
|
interface AutoScalingGroupLifecycleHookSpecificationArgs {
|
|
4004
|
+
/**
|
|
4005
|
+
* The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ``ABANDON``.
|
|
4006
|
+
* Valid values: ``CONTINUE`` | ``ABANDON``
|
|
4007
|
+
*/
|
|
3717
4008
|
defaultResult?: pulumi.Input<string>;
|
|
4009
|
+
/**
|
|
4010
|
+
* The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from ``30`` to ``7200`` seconds. The default value is ``3600`` seconds (1 hour).
|
|
4011
|
+
*/
|
|
3718
4012
|
heartbeatTimeout?: pulumi.Input<number>;
|
|
4013
|
+
/**
|
|
4014
|
+
* The name of the lifecycle hook.
|
|
4015
|
+
*/
|
|
3719
4016
|
lifecycleHookName: pulumi.Input<string>;
|
|
4017
|
+
/**
|
|
4018
|
+
* The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.
|
|
4019
|
+
* + To create a lifecycle hook for scale-out events, specify ``autoscaling:EC2_INSTANCE_LAUNCHING``.
|
|
4020
|
+
* + To create a lifecycle hook for scale-in events, specify ``autoscaling:EC2_INSTANCE_TERMINATING``.
|
|
4021
|
+
*/
|
|
3720
4022
|
lifecycleTransition: pulumi.Input<string>;
|
|
4023
|
+
/**
|
|
4024
|
+
* Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
|
|
4025
|
+
*/
|
|
3721
4026
|
notificationMetadata?: pulumi.Input<string>;
|
|
4027
|
+
/**
|
|
4028
|
+
* The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
|
|
4029
|
+
*/
|
|
3722
4030
|
notificationTargetArn?: pulumi.Input<string>;
|
|
4031
|
+
/**
|
|
4032
|
+
* The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see [Configure a notification target for a lifecycle hook](https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html#lifecycle-hook-notification-target) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
4033
|
+
* Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
|
|
4034
|
+
*/
|
|
3723
4035
|
roleArn?: pulumi.Input<string>;
|
|
3724
4036
|
}
|
|
4037
|
+
/**
|
|
4038
|
+
* ``MemoryGiBPerVCpuRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB.
|
|
4039
|
+
*/
|
|
3725
4040
|
interface AutoScalingGroupMemoryGiBPerVCpuRequestArgs {
|
|
4041
|
+
/**
|
|
4042
|
+
* The memory maximum in GiB.
|
|
4043
|
+
*/
|
|
3726
4044
|
max?: pulumi.Input<number>;
|
|
4045
|
+
/**
|
|
4046
|
+
* The memory minimum in GiB.
|
|
4047
|
+
*/
|
|
3727
4048
|
min?: pulumi.Input<number>;
|
|
3728
4049
|
}
|
|
4050
|
+
/**
|
|
4051
|
+
* ``MemoryMiBRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum instance memory size for an instance type, in MiB.
|
|
4052
|
+
*/
|
|
3729
4053
|
interface AutoScalingGroupMemoryMiBRequestArgs {
|
|
4054
|
+
/**
|
|
4055
|
+
* The memory maximum in MiB.
|
|
4056
|
+
*/
|
|
3730
4057
|
max?: pulumi.Input<number>;
|
|
4058
|
+
/**
|
|
4059
|
+
* The memory minimum in MiB.
|
|
4060
|
+
*/
|
|
3731
4061
|
min?: pulumi.Input<number>;
|
|
3732
4062
|
}
|
|
4063
|
+
/**
|
|
4064
|
+
* ``MetricsCollection`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource that describes the group metrics that an Amazon EC2 Auto Scaling group sends to Amazon CloudWatch. These metrics describe the group rather than any of its instances.
|
|
4065
|
+
* For more information, see [Monitor CloudWatch metrics for your Auto Scaling groups and instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource.
|
|
4066
|
+
*/
|
|
3733
4067
|
interface AutoScalingGroupMetricsCollectionArgs {
|
|
4068
|
+
/**
|
|
4069
|
+
* The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is ``1Minute``.
|
|
4070
|
+
*/
|
|
3734
4071
|
granularity: pulumi.Input<string>;
|
|
4072
|
+
/**
|
|
4073
|
+
* Identifies the metrics to enable.
|
|
4074
|
+
* You can specify one or more of the following metrics:
|
|
4075
|
+
* + ``GroupMinSize``
|
|
4076
|
+
* + ``GroupMaxSize``
|
|
4077
|
+
* + ``GroupDesiredCapacity``
|
|
4078
|
+
* + ``GroupInServiceInstances``
|
|
4079
|
+
* + ``GroupPendingInstances``
|
|
4080
|
+
* + ``GroupStandbyInstances``
|
|
4081
|
+
* + ``GroupTerminatingInstances``
|
|
4082
|
+
* + ``GroupTotalInstances``
|
|
4083
|
+
* + ``GroupInServiceCapacity``
|
|
4084
|
+
* + ``GroupPendingCapacity``
|
|
4085
|
+
* + ``GroupStandbyCapacity``
|
|
4086
|
+
* + ``GroupTerminatingCapacity``
|
|
4087
|
+
* + ``GroupTotalCapacity``
|
|
4088
|
+
* + ``WarmPoolDesiredCapacity``
|
|
4089
|
+
* + ``WarmPoolWarmedCapacity``
|
|
4090
|
+
* + ``WarmPoolPendingCapacity``
|
|
4091
|
+
* + ``WarmPoolTerminatingCapacity``
|
|
4092
|
+
* + ``WarmPoolTotalCapacity``
|
|
4093
|
+
* + ``GroupAndWarmPoolDesiredCapacity``
|
|
4094
|
+
* + ``GroupAndWarmPoolTotalCapacity``
|
|
4095
|
+
*
|
|
4096
|
+
* If you specify ``Granularity`` and don't specify any metrics, all metrics are enabled.
|
|
4097
|
+
* For more information, see [Auto Scaling group metrics](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
4098
|
+
*/
|
|
3735
4099
|
metrics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3736
4100
|
}
|
|
4101
|
+
/**
|
|
4102
|
+
* Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
|
|
4103
|
+
* A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
4104
|
+
* You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration.
|
|
4105
|
+
* There are key differences between Spot Instances and On-Demand Instances:
|
|
4106
|
+
* + The price for Spot Instances varies based on demand
|
|
4107
|
+
* + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes
|
|
4108
|
+
*
|
|
4109
|
+
* When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group.
|
|
4110
|
+
* ``MixedInstancesPolicy`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
|
|
4111
|
+
*/
|
|
3737
4112
|
interface AutoScalingGroupMixedInstancesPolicyArgs {
|
|
4113
|
+
/**
|
|
4114
|
+
* The instances distribution.
|
|
4115
|
+
*/
|
|
3738
4116
|
instancesDistribution?: pulumi.Input<inputs.autoscaling.AutoScalingGroupInstancesDistributionArgs>;
|
|
4117
|
+
/**
|
|
4118
|
+
* One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities.
|
|
4119
|
+
*/
|
|
3739
4120
|
launchTemplate: pulumi.Input<inputs.autoscaling.AutoScalingGroupLaunchTemplateArgs>;
|
|
3740
4121
|
}
|
|
4122
|
+
/**
|
|
4123
|
+
* ``NetworkBandwidthGbpsRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps.
|
|
4124
|
+
* Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see [Available instance bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
4125
|
+
*/
|
|
3741
4126
|
interface AutoScalingGroupNetworkBandwidthGbpsRequestArgs {
|
|
4127
|
+
/**
|
|
4128
|
+
* The maximum amount of network bandwidth, in gigabits per second (Gbps).
|
|
4129
|
+
*/
|
|
3742
4130
|
max?: pulumi.Input<number>;
|
|
4131
|
+
/**
|
|
4132
|
+
* The minimum amount of network bandwidth, in gigabits per second (Gbps).
|
|
4133
|
+
*/
|
|
3743
4134
|
min?: pulumi.Input<number>;
|
|
3744
4135
|
}
|
|
4136
|
+
/**
|
|
4137
|
+
* ``NetworkInterfaceCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of network interfaces for an instance type.
|
|
4138
|
+
*/
|
|
3745
4139
|
interface AutoScalingGroupNetworkInterfaceCountRequestArgs {
|
|
4140
|
+
/**
|
|
4141
|
+
* The maximum number of network interfaces.
|
|
4142
|
+
*/
|
|
3746
4143
|
max?: pulumi.Input<number>;
|
|
4144
|
+
/**
|
|
4145
|
+
* The minimum number of network interfaces.
|
|
4146
|
+
*/
|
|
3747
4147
|
min?: pulumi.Input<number>;
|
|
3748
4148
|
}
|
|
4149
|
+
/**
|
|
4150
|
+
* A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
|
|
4151
|
+
* For an example template snippet, see [Auto scaling template snippets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html).
|
|
4152
|
+
* For more information, see [Get Amazon SNS notifications when your Auto Scaling group scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
4153
|
+
*/
|
|
3749
4154
|
interface AutoScalingGroupNotificationConfigurationArgs {
|
|
4155
|
+
/**
|
|
4156
|
+
* A list of event types that send a notification. Event types can include any of the following types.
|
|
4157
|
+
* *Allowed values*:
|
|
4158
|
+
* + ``autoscaling:EC2_INSTANCE_LAUNCH``
|
|
4159
|
+
* + ``autoscaling:EC2_INSTANCE_LAUNCH_ERROR``
|
|
4160
|
+
* + ``autoscaling:EC2_INSTANCE_TERMINATE``
|
|
4161
|
+
* + ``autoscaling:EC2_INSTANCE_TERMINATE_ERROR``
|
|
4162
|
+
* + ``autoscaling:TEST_NOTIFICATION``
|
|
4163
|
+
*/
|
|
3750
4164
|
notificationTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4165
|
+
/**
|
|
4166
|
+
* The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
|
4167
|
+
*/
|
|
3751
4168
|
topicArn: pulumi.Input<pulumi.Input<string>[]>;
|
|
3752
4169
|
}
|
|
4170
|
+
/**
|
|
4171
|
+
* A structure that specifies a tag for the ``Tags`` property of [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
|
|
4172
|
+
* For more information, see [Tag Auto Scaling groups and instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource.
|
|
4173
|
+
* CloudFormation adds the following tags to all Auto Scaling groups and associated instances:
|
|
4174
|
+
* + aws:cloudformation:stack-name
|
|
4175
|
+
* + aws:cloudformation:stack-id
|
|
4176
|
+
* + aws:cloudformation:logical-id
|
|
4177
|
+
*/
|
|
3753
4178
|
interface AutoScalingGroupTagPropertyArgs {
|
|
4179
|
+
/**
|
|
4180
|
+
* The tag key.
|
|
4181
|
+
*/
|
|
3754
4182
|
key: pulumi.Input<string>;
|
|
4183
|
+
/**
|
|
4184
|
+
* Set to ``true`` if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set to ``false`` if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group.
|
|
4185
|
+
*/
|
|
3755
4186
|
propagateAtLaunch: pulumi.Input<boolean>;
|
|
4187
|
+
/**
|
|
4188
|
+
* The tag value.
|
|
4189
|
+
*/
|
|
3756
4190
|
value: pulumi.Input<string>;
|
|
3757
4191
|
}
|
|
4192
|
+
/**
|
|
4193
|
+
* ``TotalLocalStorageGBRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum total local storage size for an instance type, in GB.
|
|
4194
|
+
*/
|
|
3758
4195
|
interface AutoScalingGroupTotalLocalStorageGbRequestArgs {
|
|
4196
|
+
/**
|
|
4197
|
+
* The storage maximum in GB.
|
|
4198
|
+
*/
|
|
3759
4199
|
max?: pulumi.Input<number>;
|
|
4200
|
+
/**
|
|
4201
|
+
* The storage minimum in GB.
|
|
4202
|
+
*/
|
|
3760
4203
|
min?: pulumi.Input<number>;
|
|
3761
4204
|
}
|
|
4205
|
+
/**
|
|
4206
|
+
* ``VCpuCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of vCPUs for an instance type.
|
|
4207
|
+
*/
|
|
3762
4208
|
interface AutoScalingGroupVCpuCountRequestArgs {
|
|
4209
|
+
/**
|
|
4210
|
+
* The maximum number of vCPUs.
|
|
4211
|
+
*/
|
|
3763
4212
|
max?: pulumi.Input<number>;
|
|
4213
|
+
/**
|
|
4214
|
+
* The minimum number of vCPUs.
|
|
4215
|
+
*/
|
|
3764
4216
|
min?: pulumi.Input<number>;
|
|
3765
4217
|
}
|
|
3766
4218
|
/**
|
|
@@ -8306,6 +8758,50 @@ export declare namespace datasync {
|
|
|
8306
8758
|
*/
|
|
8307
8759
|
value?: pulumi.Input<string>;
|
|
8308
8760
|
}
|
|
8761
|
+
/**
|
|
8762
|
+
* Configures a manifest, which is a list of files or objects that you want DataSync to transfer.
|
|
8763
|
+
*/
|
|
8764
|
+
interface TaskManifestConfigArgs {
|
|
8765
|
+
/**
|
|
8766
|
+
* Specifies what DataSync uses the manifest for.
|
|
8767
|
+
*/
|
|
8768
|
+
action?: pulumi.Input<enums.datasync.TaskManifestConfigAction>;
|
|
8769
|
+
/**
|
|
8770
|
+
* Specifies the file format of your manifest.
|
|
8771
|
+
*/
|
|
8772
|
+
format?: pulumi.Input<enums.datasync.TaskManifestConfigFormat>;
|
|
8773
|
+
/**
|
|
8774
|
+
* Specifies the manifest that you want DataSync to use and where it's hosted.
|
|
8775
|
+
*/
|
|
8776
|
+
source: pulumi.Input<inputs.datasync.TaskManifestConfigSourcePropertiesArgs>;
|
|
8777
|
+
}
|
|
8778
|
+
/**
|
|
8779
|
+
* Specifies the manifest that you want DataSync to use and where it's hosted.
|
|
8780
|
+
*/
|
|
8781
|
+
interface TaskManifestConfigSourcePropertiesArgs {
|
|
8782
|
+
s3?: pulumi.Input<inputs.datasync.TaskManifestConfigSourceS3Args>;
|
|
8783
|
+
}
|
|
8784
|
+
/**
|
|
8785
|
+
* Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.
|
|
8786
|
+
*/
|
|
8787
|
+
interface TaskManifestConfigSourceS3Args {
|
|
8788
|
+
/**
|
|
8789
|
+
* Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest.
|
|
8790
|
+
*/
|
|
8791
|
+
bucketAccessRoleArn?: pulumi.Input<string>;
|
|
8792
|
+
/**
|
|
8793
|
+
* Specifies the Amazon S3 object key of your manifest.
|
|
8794
|
+
*/
|
|
8795
|
+
manifestObjectPath?: pulumi.Input<string>;
|
|
8796
|
+
/**
|
|
8797
|
+
* Specifies the object version ID of the manifest that you want DataSync to use.
|
|
8798
|
+
*/
|
|
8799
|
+
manifestObjectVersionId?: pulumi.Input<string>;
|
|
8800
|
+
/**
|
|
8801
|
+
* Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
|
|
8802
|
+
*/
|
|
8803
|
+
s3BucketArn?: pulumi.Input<string>;
|
|
8804
|
+
}
|
|
8309
8805
|
/**
|
|
8310
8806
|
* Represents the options that are available to control the behavior of a StartTaskExecution operation.
|
|
8311
8807
|
*/
|
|
@@ -8400,15 +8896,12 @@ export declare namespace datasync {
|
|
|
8400
8896
|
* Specifies where DataSync uploads your task report.
|
|
8401
8897
|
*/
|
|
8402
8898
|
interface TaskReportConfigDestinationPropertiesArgs {
|
|
8403
|
-
|
|
8404
|
-
* Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
8405
|
-
*/
|
|
8406
|
-
s3?: pulumi.Input<inputs.datasync.TaskReportConfigDestinationPropertiesS3PropertiesArgs>;
|
|
8899
|
+
s3?: pulumi.Input<inputs.datasync.TaskReportConfigDestinationS3Args>;
|
|
8407
8900
|
}
|
|
8408
8901
|
/**
|
|
8409
8902
|
* Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
8410
8903
|
*/
|
|
8411
|
-
interface
|
|
8904
|
+
interface TaskReportConfigDestinationS3Args {
|
|
8412
8905
|
/**
|
|
8413
8906
|
* Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket.
|
|
8414
8907
|
*/
|
|
@@ -13693,100 +14186,375 @@ export declare namespace elasticloadbalancingv2 {
|
|
|
13693
14186
|
*/
|
|
13694
14187
|
statusCode: pulumi.Input<string>;
|
|
13695
14188
|
}
|
|
14189
|
+
/**
|
|
14190
|
+
* Specifies an action for a listener rule.
|
|
14191
|
+
*/
|
|
13696
14192
|
interface ListenerRuleActionArgs {
|
|
14193
|
+
/**
|
|
14194
|
+
* [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito``.
|
|
14195
|
+
*/
|
|
13697
14196
|
authenticateCognitoConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleAuthenticateCognitoConfigArgs>;
|
|
14197
|
+
/**
|
|
14198
|
+
* [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc``.
|
|
14199
|
+
*/
|
|
13698
14200
|
authenticateOidcConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleAuthenticateOidcConfigArgs>;
|
|
14201
|
+
/**
|
|
14202
|
+
* [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response``.
|
|
14203
|
+
*/
|
|
13699
14204
|
fixedResponseConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleFixedResponseConfigArgs>;
|
|
14205
|
+
/**
|
|
14206
|
+
* Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
|
|
14207
|
+
*/
|
|
13700
14208
|
forwardConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleForwardConfigArgs>;
|
|
14209
|
+
/**
|
|
14210
|
+
* The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
|
|
14211
|
+
*/
|
|
13701
14212
|
order?: pulumi.Input<number>;
|
|
14213
|
+
/**
|
|
14214
|
+
* [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect``.
|
|
14215
|
+
*/
|
|
13702
14216
|
redirectConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleRedirectConfigArgs>;
|
|
14217
|
+
/**
|
|
14218
|
+
* The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
|
|
14219
|
+
*/
|
|
13703
14220
|
targetGroupArn?: pulumi.Input<string>;
|
|
14221
|
+
/**
|
|
14222
|
+
* The type of action.
|
|
14223
|
+
*/
|
|
13704
14224
|
type: pulumi.Input<string>;
|
|
13705
14225
|
}
|
|
14226
|
+
/**
|
|
14227
|
+
* Specifies information required when integrating with Amazon Cognito to authenticate users.
|
|
14228
|
+
*/
|
|
13706
14229
|
interface ListenerRuleAuthenticateCognitoConfigArgs {
|
|
14230
|
+
/**
|
|
14231
|
+
* The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
|
|
14232
|
+
*/
|
|
13707
14233
|
authenticationRequestExtraParams?: pulumi.Input<{
|
|
13708
14234
|
[key: string]: pulumi.Input<string>;
|
|
13709
14235
|
}>;
|
|
14236
|
+
/**
|
|
14237
|
+
* The behavior if the user is not authenticated. The following are possible values:
|
|
14238
|
+
* + deny```` - Return an HTTP 401 Unauthorized error.
|
|
14239
|
+
* + allow```` - Allow the request to be forwarded to the target.
|
|
14240
|
+
* + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
|
|
14241
|
+
*/
|
|
13710
14242
|
onUnauthenticatedRequest?: pulumi.Input<string>;
|
|
14243
|
+
/**
|
|
14244
|
+
* The set of user claims to be requested from the IdP. The default is ``openid``.
|
|
14245
|
+
* To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
|
|
14246
|
+
*/
|
|
13711
14247
|
scope?: pulumi.Input<string>;
|
|
14248
|
+
/**
|
|
14249
|
+
* The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
|
|
14250
|
+
*/
|
|
13712
14251
|
sessionCookieName?: pulumi.Input<string>;
|
|
14252
|
+
/**
|
|
14253
|
+
* The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
|
|
14254
|
+
*/
|
|
13713
14255
|
sessionTimeout?: pulumi.Input<number>;
|
|
14256
|
+
/**
|
|
14257
|
+
* The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
|
|
14258
|
+
*/
|
|
13714
14259
|
userPoolArn: pulumi.Input<string>;
|
|
14260
|
+
/**
|
|
14261
|
+
* The ID of the Amazon Cognito user pool client.
|
|
14262
|
+
*/
|
|
13715
14263
|
userPoolClientId: pulumi.Input<string>;
|
|
14264
|
+
/**
|
|
14265
|
+
* The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
|
|
14266
|
+
*/
|
|
13716
14267
|
userPoolDomain: pulumi.Input<string>;
|
|
13717
14268
|
}
|
|
14269
|
+
/**
|
|
14270
|
+
* Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
|
|
14271
|
+
*/
|
|
13718
14272
|
interface ListenerRuleAuthenticateOidcConfigArgs {
|
|
14273
|
+
/**
|
|
14274
|
+
* The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
|
|
14275
|
+
*/
|
|
13719
14276
|
authenticationRequestExtraParams?: pulumi.Input<{
|
|
13720
14277
|
[key: string]: pulumi.Input<string>;
|
|
13721
14278
|
}>;
|
|
14279
|
+
/**
|
|
14280
|
+
* The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
|
|
14281
|
+
*/
|
|
13722
14282
|
authorizationEndpoint: pulumi.Input<string>;
|
|
14283
|
+
/**
|
|
14284
|
+
* The OAuth 2.0 client identifier.
|
|
14285
|
+
*/
|
|
13723
14286
|
clientId: pulumi.Input<string>;
|
|
14287
|
+
/**
|
|
14288
|
+
* The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true.
|
|
14289
|
+
*/
|
|
13724
14290
|
clientSecret?: pulumi.Input<string>;
|
|
14291
|
+
/**
|
|
14292
|
+
* The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
|
|
14293
|
+
*/
|
|
13725
14294
|
issuer: pulumi.Input<string>;
|
|
14295
|
+
/**
|
|
14296
|
+
* The behavior if the user is not authenticated. The following are possible values:
|
|
14297
|
+
* + deny```` - Return an HTTP 401 Unauthorized error.
|
|
14298
|
+
* + allow```` - Allow the request to be forwarded to the target.
|
|
14299
|
+
* + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
|
|
14300
|
+
*/
|
|
13726
14301
|
onUnauthenticatedRequest?: pulumi.Input<string>;
|
|
14302
|
+
/**
|
|
14303
|
+
* The set of user claims to be requested from the IdP. The default is ``openid``.
|
|
14304
|
+
* To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
|
|
14305
|
+
*/
|
|
13727
14306
|
scope?: pulumi.Input<string>;
|
|
14307
|
+
/**
|
|
14308
|
+
* The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
|
|
14309
|
+
*/
|
|
13728
14310
|
sessionCookieName?: pulumi.Input<string>;
|
|
14311
|
+
/**
|
|
14312
|
+
* The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
|
|
14313
|
+
*/
|
|
13729
14314
|
sessionTimeout?: pulumi.Input<number>;
|
|
14315
|
+
/**
|
|
14316
|
+
* The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
|
|
14317
|
+
*/
|
|
13730
14318
|
tokenEndpoint: pulumi.Input<string>;
|
|
14319
|
+
/**
|
|
14320
|
+
* Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
|
|
14321
|
+
*/
|
|
13731
14322
|
useExistingClientSecret?: pulumi.Input<boolean>;
|
|
14323
|
+
/**
|
|
14324
|
+
* The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
|
|
14325
|
+
*/
|
|
13732
14326
|
userInfoEndpoint: pulumi.Input<string>;
|
|
13733
14327
|
}
|
|
14328
|
+
/**
|
|
14329
|
+
* Specifies information required when returning a custom HTTP response.
|
|
14330
|
+
*/
|
|
13734
14331
|
interface ListenerRuleFixedResponseConfigArgs {
|
|
14332
|
+
/**
|
|
14333
|
+
* The content type.
|
|
14334
|
+
* Valid Values: text/plain | text/css | text/html | application/javascript | application/json
|
|
14335
|
+
*/
|
|
13735
14336
|
contentType?: pulumi.Input<string>;
|
|
14337
|
+
/**
|
|
14338
|
+
* The message.
|
|
14339
|
+
*/
|
|
13736
14340
|
messageBody?: pulumi.Input<string>;
|
|
14341
|
+
/**
|
|
14342
|
+
* The HTTP response code (2XX, 4XX, or 5XX).
|
|
14343
|
+
*/
|
|
13737
14344
|
statusCode: pulumi.Input<string>;
|
|
13738
14345
|
}
|
|
14346
|
+
/**
|
|
14347
|
+
* Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
|
|
14348
|
+
*/
|
|
13739
14349
|
interface ListenerRuleForwardConfigArgs {
|
|
14350
|
+
/**
|
|
14351
|
+
* Information about the target group stickiness for a rule.
|
|
14352
|
+
*/
|
|
13740
14353
|
targetGroupStickinessConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleTargetGroupStickinessConfigArgs>;
|
|
14354
|
+
/**
|
|
14355
|
+
* Information about how traffic will be distributed between multiple target groups in a forward rule.
|
|
14356
|
+
*/
|
|
13741
14357
|
targetGroups?: pulumi.Input<pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleTargetGroupTupleArgs>[]>;
|
|
13742
14358
|
}
|
|
14359
|
+
/**
|
|
14360
|
+
* Information about a host header condition.
|
|
14361
|
+
*/
|
|
13743
14362
|
interface ListenerRuleHostHeaderConfigArgs {
|
|
14363
|
+
/**
|
|
14364
|
+
* The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
|
|
14365
|
+
* If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
|
|
14366
|
+
*/
|
|
13744
14367
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
13745
14368
|
}
|
|
14369
|
+
/**
|
|
14370
|
+
* Information about an HTTP header condition.
|
|
14371
|
+
* There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
|
|
14372
|
+
*/
|
|
13746
14373
|
interface ListenerRuleHttpHeaderConfigArgs {
|
|
14374
|
+
/**
|
|
14375
|
+
* The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
|
|
14376
|
+
*/
|
|
13747
14377
|
httpHeaderName?: pulumi.Input<string>;
|
|
14378
|
+
/**
|
|
14379
|
+
* The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
|
|
14380
|
+
* If the same header appears multiple times in the request, we search them in order until a match is found.
|
|
14381
|
+
* If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
|
|
14382
|
+
*/
|
|
13748
14383
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
13749
14384
|
}
|
|
14385
|
+
/**
|
|
14386
|
+
* Information about an HTTP method condition.
|
|
14387
|
+
* HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the [HTTP Method Registry](https://docs.aws.amazon.com/https://www.iana.org/assignments/http-methods/http-methods.xhtml). You can also define custom HTTP methods.
|
|
14388
|
+
*/
|
|
13750
14389
|
interface ListenerRuleHttpRequestMethodConfigArgs {
|
|
14390
|
+
/**
|
|
14391
|
+
* The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
|
|
14392
|
+
* If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
|
|
14393
|
+
*/
|
|
13751
14394
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
13752
14395
|
}
|
|
14396
|
+
/**
|
|
14397
|
+
* Information about a path pattern condition.
|
|
14398
|
+
*/
|
|
13753
14399
|
interface ListenerRulePathPatternConfigArgs {
|
|
14400
|
+
/**
|
|
14401
|
+
* The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
|
|
14402
|
+
* If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
|
|
14403
|
+
*/
|
|
13754
14404
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
13755
14405
|
}
|
|
14406
|
+
/**
|
|
14407
|
+
* Information about a query string condition.
|
|
14408
|
+
* The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
|
|
14409
|
+
*/
|
|
13756
14410
|
interface ListenerRuleQueryStringConfigArgs {
|
|
14411
|
+
/**
|
|
14412
|
+
* The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '\' character.
|
|
14413
|
+
* If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
|
|
14414
|
+
*/
|
|
13757
14415
|
values?: pulumi.Input<pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleQueryStringKeyValueArgs>[]>;
|
|
13758
14416
|
}
|
|
14417
|
+
/**
|
|
14418
|
+
* Information about a key/value pair.
|
|
14419
|
+
*/
|
|
13759
14420
|
interface ListenerRuleQueryStringKeyValueArgs {
|
|
14421
|
+
/**
|
|
14422
|
+
* The key. You can omit the key.
|
|
14423
|
+
*/
|
|
13760
14424
|
key?: pulumi.Input<string>;
|
|
14425
|
+
/**
|
|
14426
|
+
* The value.
|
|
14427
|
+
*/
|
|
13761
14428
|
value?: pulumi.Input<string>;
|
|
13762
14429
|
}
|
|
14430
|
+
/**
|
|
14431
|
+
* Information about a redirect action.
|
|
14432
|
+
* A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.
|
|
14433
|
+
* You can reuse URI components using the following reserved keywords:
|
|
14434
|
+
* + #{protocol}
|
|
14435
|
+
* + #{host}
|
|
14436
|
+
* + #{port}
|
|
14437
|
+
* + #{path} (the leading "/" is removed)
|
|
14438
|
+
* + #{query}
|
|
14439
|
+
*
|
|
14440
|
+
* For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".
|
|
14441
|
+
*/
|
|
13763
14442
|
interface ListenerRuleRedirectConfigArgs {
|
|
14443
|
+
/**
|
|
14444
|
+
* The hostname. This component is not percent-encoded. The hostname can contain #{host}.
|
|
14445
|
+
*/
|
|
13764
14446
|
host?: pulumi.Input<string>;
|
|
14447
|
+
/**
|
|
14448
|
+
* The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
|
|
14449
|
+
*/
|
|
13765
14450
|
path?: pulumi.Input<string>;
|
|
14451
|
+
/**
|
|
14452
|
+
* The port. You can specify a value from 1 to 65535 or #{port}.
|
|
14453
|
+
*/
|
|
13766
14454
|
port?: pulumi.Input<string>;
|
|
14455
|
+
/**
|
|
14456
|
+
* The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
|
|
14457
|
+
*/
|
|
13767
14458
|
protocol?: pulumi.Input<string>;
|
|
14459
|
+
/**
|
|
14460
|
+
* The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
|
|
14461
|
+
*/
|
|
13768
14462
|
query?: pulumi.Input<string>;
|
|
14463
|
+
/**
|
|
14464
|
+
* The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
|
|
14465
|
+
*/
|
|
13769
14466
|
statusCode: pulumi.Input<string>;
|
|
13770
14467
|
}
|
|
14468
|
+
/**
|
|
14469
|
+
* Specifies a condition for a listener rule.
|
|
14470
|
+
*/
|
|
13771
14471
|
interface ListenerRuleRuleConditionArgs {
|
|
14472
|
+
/**
|
|
14473
|
+
* The field in the HTTP request. The following are the possible values:
|
|
14474
|
+
* + ``http-header``
|
|
14475
|
+
* + ``http-request-method``
|
|
14476
|
+
* + ``host-header``
|
|
14477
|
+
* + ``path-pattern``
|
|
14478
|
+
* + ``query-string``
|
|
14479
|
+
* + ``source-ip``
|
|
14480
|
+
*/
|
|
13772
14481
|
field?: pulumi.Input<string>;
|
|
14482
|
+
/**
|
|
14483
|
+
* Information for a host header condition. Specify only when ``Field`` is ``host-header``.
|
|
14484
|
+
*/
|
|
13773
14485
|
hostHeaderConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleHostHeaderConfigArgs>;
|
|
14486
|
+
/**
|
|
14487
|
+
* Information for an HTTP header condition. Specify only when ``Field`` is ``http-header``.
|
|
14488
|
+
*/
|
|
13774
14489
|
httpHeaderConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleHttpHeaderConfigArgs>;
|
|
14490
|
+
/**
|
|
14491
|
+
* Information for an HTTP method condition. Specify only when ``Field`` is ``http-request-method``.
|
|
14492
|
+
*/
|
|
13775
14493
|
httpRequestMethodConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleHttpRequestMethodConfigArgs>;
|
|
14494
|
+
/**
|
|
14495
|
+
* Information for a path pattern condition. Specify only when ``Field`` is ``path-pattern``.
|
|
14496
|
+
*/
|
|
13776
14497
|
pathPatternConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRulePathPatternConfigArgs>;
|
|
14498
|
+
/**
|
|
14499
|
+
* Information for a query string condition. Specify only when ``Field`` is ``query-string``.
|
|
14500
|
+
*/
|
|
13777
14501
|
queryStringConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleQueryStringConfigArgs>;
|
|
14502
|
+
/**
|
|
14503
|
+
* Information for a source IP condition. Specify only when ``Field`` is ``source-ip``.
|
|
14504
|
+
*/
|
|
13778
14505
|
sourceIpConfig?: pulumi.Input<inputs.elasticloadbalancingv2.ListenerRuleSourceIpConfigArgs>;
|
|
14506
|
+
/**
|
|
14507
|
+
* The condition value. Specify only when ``Field`` is ``host-header`` or ``path-pattern``. Alternatively, to specify multiple host names or multiple path patterns, use ``HostHeaderConfig`` or ``PathPatternConfig``.
|
|
14508
|
+
* If ``Field`` is ``host-header`` and you're not using ``HostHeaderConfig``, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.
|
|
14509
|
+
* + A-Z, a-z, 0-9
|
|
14510
|
+
* + - .
|
|
14511
|
+
* + * (matches 0 or more characters)
|
|
14512
|
+
* + ? (matches exactly 1 character)
|
|
14513
|
+
*
|
|
14514
|
+
* If ``Field`` is ``path-pattern`` and you're not using ``PathPatternConfig``, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
|
|
14515
|
+
* + A-Z, a-z, 0-9
|
|
14516
|
+
* + _ - . $ / ~ " ' @ : +
|
|
14517
|
+
* + & (using &)
|
|
14518
|
+
* + * (matches 0 or more characters)
|
|
14519
|
+
* + ? (matches exactly 1 character)
|
|
14520
|
+
*/
|
|
13779
14521
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
13780
14522
|
}
|
|
14523
|
+
/**
|
|
14524
|
+
* Information about a source IP condition.
|
|
14525
|
+
* You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.
|
|
14526
|
+
*/
|
|
13781
14527
|
interface ListenerRuleSourceIpConfigArgs {
|
|
14528
|
+
/**
|
|
14529
|
+
* The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.
|
|
14530
|
+
* If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
|
|
14531
|
+
*/
|
|
13782
14532
|
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
13783
14533
|
}
|
|
14534
|
+
/**
|
|
14535
|
+
* Information about the target group stickiness for a rule.
|
|
14536
|
+
*/
|
|
13784
14537
|
interface ListenerRuleTargetGroupStickinessConfigArgs {
|
|
14538
|
+
/**
|
|
14539
|
+
* The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
|
|
14540
|
+
*/
|
|
13785
14541
|
durationSeconds?: pulumi.Input<number>;
|
|
14542
|
+
/**
|
|
14543
|
+
* Indicates whether target group stickiness is enabled.
|
|
14544
|
+
*/
|
|
13786
14545
|
enabled?: pulumi.Input<boolean>;
|
|
13787
14546
|
}
|
|
14547
|
+
/**
|
|
14548
|
+
* Information about how traffic will be distributed between multiple target groups in a forward rule.
|
|
14549
|
+
*/
|
|
13788
14550
|
interface ListenerRuleTargetGroupTupleArgs {
|
|
14551
|
+
/**
|
|
14552
|
+
* The Amazon Resource Name (ARN) of the target group.
|
|
14553
|
+
*/
|
|
13789
14554
|
targetGroupArn?: pulumi.Input<string>;
|
|
14555
|
+
/**
|
|
14556
|
+
* The weight. The range is 0 to 999.
|
|
14557
|
+
*/
|
|
13790
14558
|
weight?: pulumi.Input<number>;
|
|
13791
14559
|
}
|
|
13792
14560
|
/**
|