|
7 | 7 | from typing import List, Literal, Optional |
8 | 8 |
|
9 | 9 | from pycfmodel.model.base import CustomModel |
10 | | -from pycfmodel.model.generic import ResolvableGeneric |
11 | 10 | from pycfmodel.model.resources.resource import Resource |
12 | | -from pycfmodel.model.types import Resolvable |
13 | | -from pycfmodel.model.types import ResolvableBool |
14 | | -from pycfmodel.model.types import ResolvableInt |
15 | | -from pycfmodel.model.types import ResolvableModel |
16 | | -from pycfmodel.model.types import ResolvableStr |
| 11 | +from pycfmodel.model.types import Resolvable, ResolvableBool, ResolvableInt, ResolvableModel, ResolvableStr |
17 | 12 |
|
18 | 13 |
|
19 | 14 | class AcceleratorCountRequest(CustomModel): |
@@ -222,7 +217,7 @@ class NotificationConfiguration(CustomModel): |
222 | 217 | A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs. |
223 | 218 | """ |
224 | 219 |
|
225 | | - TopicARN: ResolvableGeneric |
| 220 | + TopicARN: ResolvableStr |
226 | 221 | NotificationTypes: Optional[Resolvable[List[ResolvableStr]]] = None |
227 | 222 |
|
228 | 223 |
|
@@ -370,8 +365,8 @@ class InstanceRequirements(CustomModel): |
370 | 365 |
|
371 | 366 | class LaunchTemplateOverrides(CustomModel): |
372 | 367 | """ |
373 | | - Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy: |
374 | | - + Override the instance type that is specified in the launch template. |
| 368 | + Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy: |
| 369 | + + Override the instance type that is specified in the launch template. |
375 | 370 | """ |
376 | 371 |
|
377 | 372 | ImageId: Optional[ResolvableStr] = None |
@@ -410,53 +405,53 @@ class MixedInstancesPolicy(CustomModel): |
410 | 405 |
|
411 | 406 | class AutoScalingAutoScalingGroupProperties(CustomModel): |
412 | 407 | """ |
413 | | - Properties for AWS::AutoScaling::AutoScalingGroup. |
414 | | -
|
415 | | - Properties: |
416 | | -
|
417 | | - - AutoScalingGroupName: The name of the Auto Scaling group. This name must be unique per Region per acco... |
418 | | - - AvailabilityZoneDistribution: The EC2 instance capacity distribution across Availability Zones for the Auto Sc... |
419 | | - - AvailabilityZoneImpairmentPolicy: The Availability Zone impairment policy for the Auto Scaling group. |
420 | | - - AvailabilityZones: A list of Availability Zones where instances in the Auto Scaling group can be cr... |
421 | | - - CapacityRebalance: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalanci... |
422 | | - - CapacityReservationSpecification: The capacity reservation specification for the Auto Scaling group. |
423 | | - - Context: Reserved. |
424 | | - - Cooldown: *Only needed if you use simple scaling policies.* |
425 | | - The amount of time, in secon... |
426 | | - - DefaultInstanceWarmup: The amount of time, in seconds, until a new instance is considered to have finis... |
427 | | - - DesiredCapacity: The desired capacity is the initial capacity of the Auto Scaling group at the ti... |
428 | | - - DesiredCapacityType: The unit of measurement for the value specified for desired capacity. Amazon EC2... |
429 | | - - HealthCheckGracePeriod: The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checki... |
430 | | - - HealthCheckType: A comma-separated value string of one or more health check types. |
431 | | - The valid val... |
432 | | - - InstanceId: The ID of the instance used to base the launch configuration on. For more inform... |
433 | | - - InstanceLifecyclePolicy: The instance lifecycle policy for the Auto Scaling group. |
434 | | - - InstanceMaintenancePolicy: An instance maintenance policy. For more information, see [Set instance maintena... |
435 | | - - LaunchConfigurationName: The name of the launch configuration to use to launch instances. |
436 | | - Required only ... |
437 | | - - LaunchTemplate: Information used to specify the launch template and version to use to launch ins... |
438 | | - - LifecycleHookSpecificationList: One or more lifecycle hooks to add to the Auto Scaling group before instances ar... |
439 | | - - LoadBalancerNames: A list of Classic Load Balancers associated with this Auto Scaling group. For Ap... |
440 | | - - MaxInstanceLifetime: The maximum amount of time, in seconds, that an instance can be in service. The ... |
441 | | - - MaxSize: The maximum size of the group. |
442 | | - With a mixed instances policy that uses instanc... |
443 | | - - MetricsCollection: Enables the monitoring of group metrics of an Auto Scaling group. By default, th... |
444 | | - - MinSize: The minimum size of the group. |
445 | | - - MixedInstancesPolicy: An embedded object that specifies a mixed instances policy. |
446 | | - The policy includes... |
447 | | - - NewInstancesProtectedFromScaleIn: Indicates whether newly launched instances are protected from termination by Ama... |
448 | | - - NotificationConfiguration: |
449 | | - - NotificationConfigurations: Configures an Auto Scaling group to send notifications when specified events tak... |
450 | | - - PlacementGroup: The name of the placement group into which to launch your instances. For more in... |
451 | | - - ServiceLinkedRoleARN: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling ... |
452 | | - - SkipZonalShiftValidation: |
453 | | - - Tags: One or more tags. You can tag your Auto Scaling group and propagate the tags to ... |
454 | | - - TargetGroupARNs: The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to a... |
455 | | - - TerminationPolicies: A policy or a list of policies that are used to select the instance to terminate... |
456 | | - - TrafficSources: The traffic sources associated with this Auto Scaling group. |
457 | | - - VPCZoneIdentifier: A list of subnet IDs for a virtual private cloud (VPC) where instances in the Au... |
458 | | -
|
459 | | - More info at [AWS Docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) |
| 408 | + Properties for AWS::AutoScaling::AutoScalingGroup. |
| 409 | +
|
| 410 | + Properties: |
| 411 | +
|
| 412 | + - AutoScalingGroupName: The name of the Auto Scaling group. This name must be unique per Region per acco... |
| 413 | + - AvailabilityZoneDistribution: The EC2 instance capacity distribution across Availability Zones for the Auto Sc... |
| 414 | + - AvailabilityZoneImpairmentPolicy: The Availability Zone impairment policy for the Auto Scaling group. |
| 415 | + - AvailabilityZones: A list of Availability Zones where instances in the Auto Scaling group can be cr... |
| 416 | + - CapacityRebalance: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalanci... |
| 417 | + - CapacityReservationSpecification: The capacity reservation specification for the Auto Scaling group. |
| 418 | + - Context: Reserved. |
| 419 | + - Cooldown: *Only needed if you use simple scaling policies.* |
| 420 | + The amount of time, in secon... |
| 421 | + - DefaultInstanceWarmup: The amount of time, in seconds, until a new instance is considered to have finis... |
| 422 | + - DesiredCapacity: The desired capacity is the initial capacity of the Auto Scaling group at the ti... |
| 423 | + - DesiredCapacityType: The unit of measurement for the value specified for desired capacity. Amazon EC2... |
| 424 | + - HealthCheckGracePeriod: The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checki... |
| 425 | + - HealthCheckType: A comma-separated value string of one or more health check types. |
| 426 | + The valid val... |
| 427 | + - InstanceId: The ID of the instance used to base the launch configuration on. For more inform... |
| 428 | + - InstanceLifecyclePolicy: The instance lifecycle policy for the Auto Scaling group. |
| 429 | + - InstanceMaintenancePolicy: An instance maintenance policy. For more information, see [Set instance maintena... |
| 430 | + - LaunchConfigurationName: The name of the launch configuration to use to launch instances. |
| 431 | + Required only ... |
| 432 | + - LaunchTemplate: Information used to specify the launch template and version to use to launch ins... |
| 433 | + - LifecycleHookSpecificationList: One or more lifecycle hooks to add to the Auto Scaling group before instances ar... |
| 434 | + - LoadBalancerNames: A list of Classic Load Balancers associated with this Auto Scaling group. For Ap... |
| 435 | + - MaxInstanceLifetime: The maximum amount of time, in seconds, that an instance can be in service. The ... |
| 436 | + - MaxSize: The maximum size of the group. |
| 437 | + With a mixed instances policy that uses instanc... |
| 438 | + - MetricsCollection: Enables the monitoring of group metrics of an Auto Scaling group. By default, th... |
| 439 | + - MinSize: The minimum size of the group. |
| 440 | + - MixedInstancesPolicy: An embedded object that specifies a mixed instances policy. |
| 441 | + The policy includes... |
| 442 | + - NewInstancesProtectedFromScaleIn: Indicates whether newly launched instances are protected from termination by Ama... |
| 443 | + - NotificationConfiguration: |
| 444 | + - NotificationConfigurations: Configures an Auto Scaling group to send notifications when specified events tak... |
| 445 | + - PlacementGroup: The name of the placement group into which to launch your instances. For more in... |
| 446 | + - ServiceLinkedRoleARN: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling ... |
| 447 | + - SkipZonalShiftValidation: |
| 448 | + - Tags: One or more tags. You can tag your Auto Scaling group and propagate the tags to ... |
| 449 | + - TargetGroupARNs: The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to a... |
| 450 | + - TerminationPolicies: A policy or a list of policies that are used to select the instance to terminate... |
| 451 | + - TrafficSources: The traffic sources associated with this Auto Scaling group. |
| 452 | + - VPCZoneIdentifier: A list of subnet IDs for a virtual private cloud (VPC) where instances in the Au... |
| 453 | +
|
| 454 | + More info at [AWS Docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) |
460 | 455 | """ |
461 | 456 |
|
462 | 457 | MaxSize: ResolvableStr |
|
0 commit comments