Documentation ¶
Index ¶
- Constants
- type Attachment
- type AttachmentArgs
- type AttachmentArray
- type AttachmentArrayInput
- type AttachmentArrayOutput
- func (AttachmentArrayOutput) ElementType() reflect.Type
- func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
- func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
- type AttachmentInput
- type AttachmentMap
- type AttachmentMapInput
- type AttachmentMapOutput
- func (AttachmentMapOutput) ElementType() reflect.Type
- func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
- func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
- type AttachmentOutput
- type AttachmentState
- type GetAmiIdsArgs
- type GetAmiIdsFilter
- type GetAmiIdsFilterArgs
- type GetAmiIdsFilterArray
- type GetAmiIdsFilterArrayInput
- type GetAmiIdsFilterArrayOutput
- func (GetAmiIdsFilterArrayOutput) ElementType() reflect.Type
- func (o GetAmiIdsFilterArrayOutput) Index(i pulumi.IntInput) GetAmiIdsFilterOutput
- func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
- func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutputWithContext(ctx context.Context) GetAmiIdsFilterArrayOutput
- type GetAmiIdsFilterInput
- type GetAmiIdsFilterOutput
- func (GetAmiIdsFilterOutput) ElementType() reflect.Type
- func (o GetAmiIdsFilterOutput) Name() pulumi.StringOutput
- func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
- func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext(ctx context.Context) GetAmiIdsFilterOutput
- func (o GetAmiIdsFilterOutput) Values() pulumi.StringArrayOutput
- type GetAmiIdsOutputArgs
- type GetAmiIdsResult
- type GetAmiIdsResultOutput
- func (o GetAmiIdsResultOutput) Arns() pulumi.StringArrayOutput
- func (GetAmiIdsResultOutput) ElementType() reflect.Type
- func (o GetAmiIdsResultOutput) Filters() GetAmiIdsFilterArrayOutput
- func (o GetAmiIdsResultOutput) Id() pulumi.StringOutput
- func (o GetAmiIdsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutput() GetAmiIdsResultOutput
- func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutputWithContext(ctx context.Context) GetAmiIdsResultOutput
- type GetGroupLaunchTemplate
- type GetGroupLaunchTemplateArgs
- type GetGroupLaunchTemplateArray
- func (GetGroupLaunchTemplateArray) ElementType() reflect.Type
- func (i GetGroupLaunchTemplateArray) ToGetGroupLaunchTemplateArrayOutput() GetGroupLaunchTemplateArrayOutput
- func (i GetGroupLaunchTemplateArray) ToGetGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetGroupLaunchTemplateArrayOutput
- type GetGroupLaunchTemplateArrayInput
- type GetGroupLaunchTemplateArrayOutput
- func (GetGroupLaunchTemplateArrayOutput) ElementType() reflect.Type
- func (o GetGroupLaunchTemplateArrayOutput) Index(i pulumi.IntInput) GetGroupLaunchTemplateOutput
- func (o GetGroupLaunchTemplateArrayOutput) ToGetGroupLaunchTemplateArrayOutput() GetGroupLaunchTemplateArrayOutput
- func (o GetGroupLaunchTemplateArrayOutput) ToGetGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetGroupLaunchTemplateArrayOutput
- type GetGroupLaunchTemplateInput
- type GetGroupLaunchTemplateOutput
- func (GetGroupLaunchTemplateOutput) ElementType() reflect.Type
- func (o GetGroupLaunchTemplateOutput) Id() pulumi.StringOutput
- func (o GetGroupLaunchTemplateOutput) Name() pulumi.StringOutput
- func (o GetGroupLaunchTemplateOutput) ToGetGroupLaunchTemplateOutput() GetGroupLaunchTemplateOutput
- func (o GetGroupLaunchTemplateOutput) ToGetGroupLaunchTemplateOutputWithContext(ctx context.Context) GetGroupLaunchTemplateOutput
- func (o GetGroupLaunchTemplateOutput) Version() pulumi.StringOutput
- type Group
- type GroupArgs
- type GroupArray
- type GroupArrayInput
- type GroupArrayOutput
- type GroupInitialLifecycleHook
- type GroupInitialLifecycleHookArgs
- func (GroupInitialLifecycleHookArgs) ElementType() reflect.Type
- func (i GroupInitialLifecycleHookArgs) ToGroupInitialLifecycleHookOutput() GroupInitialLifecycleHookOutput
- func (i GroupInitialLifecycleHookArgs) ToGroupInitialLifecycleHookOutputWithContext(ctx context.Context) GroupInitialLifecycleHookOutput
- type GroupInitialLifecycleHookArray
- func (GroupInitialLifecycleHookArray) ElementType() reflect.Type
- func (i GroupInitialLifecycleHookArray) ToGroupInitialLifecycleHookArrayOutput() GroupInitialLifecycleHookArrayOutput
- func (i GroupInitialLifecycleHookArray) ToGroupInitialLifecycleHookArrayOutputWithContext(ctx context.Context) GroupInitialLifecycleHookArrayOutput
- type GroupInitialLifecycleHookArrayInput
- type GroupInitialLifecycleHookArrayOutput
- func (GroupInitialLifecycleHookArrayOutput) ElementType() reflect.Type
- func (o GroupInitialLifecycleHookArrayOutput) Index(i pulumi.IntInput) GroupInitialLifecycleHookOutput
- func (o GroupInitialLifecycleHookArrayOutput) ToGroupInitialLifecycleHookArrayOutput() GroupInitialLifecycleHookArrayOutput
- func (o GroupInitialLifecycleHookArrayOutput) ToGroupInitialLifecycleHookArrayOutputWithContext(ctx context.Context) GroupInitialLifecycleHookArrayOutput
- type GroupInitialLifecycleHookInput
- type GroupInitialLifecycleHookOutput
- func (o GroupInitialLifecycleHookOutput) DefaultResult() pulumi.StringPtrOutput
- func (GroupInitialLifecycleHookOutput) ElementType() reflect.Type
- func (o GroupInitialLifecycleHookOutput) HeartbeatTimeout() pulumi.IntPtrOutput
- func (o GroupInitialLifecycleHookOutput) LifecycleTransition() pulumi.StringOutput
- func (o GroupInitialLifecycleHookOutput) Name() pulumi.StringOutput
- func (o GroupInitialLifecycleHookOutput) NotificationMetadata() pulumi.StringPtrOutput
- func (o GroupInitialLifecycleHookOutput) NotificationTargetArn() pulumi.StringPtrOutput
- func (o GroupInitialLifecycleHookOutput) RoleArn() pulumi.StringPtrOutput
- func (o GroupInitialLifecycleHookOutput) ToGroupInitialLifecycleHookOutput() GroupInitialLifecycleHookOutput
- func (o GroupInitialLifecycleHookOutput) ToGroupInitialLifecycleHookOutputWithContext(ctx context.Context) GroupInitialLifecycleHookOutput
- type GroupInput
- type GroupInstanceRefresh
- type GroupInstanceRefreshArgs
- func (GroupInstanceRefreshArgs) ElementType() reflect.Type
- func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshOutput() GroupInstanceRefreshOutput
- func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshOutputWithContext(ctx context.Context) GroupInstanceRefreshOutput
- func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput
- func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPtrOutput
- type GroupInstanceRefreshInput
- type GroupInstanceRefreshOutput
- func (GroupInstanceRefreshOutput) ElementType() reflect.Type
- func (o GroupInstanceRefreshOutput) Preferences() GroupInstanceRefreshPreferencesPtrOutput
- func (o GroupInstanceRefreshOutput) Strategy() pulumi.StringOutput
- func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshOutput() GroupInstanceRefreshOutput
- func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshOutputWithContext(ctx context.Context) GroupInstanceRefreshOutput
- func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput
- func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPtrOutput
- func (o GroupInstanceRefreshOutput) Triggers() pulumi.StringArrayOutput
- type GroupInstanceRefreshPreferences
- type GroupInstanceRefreshPreferencesArgs
- func (GroupInstanceRefreshPreferencesArgs) ElementType() reflect.Type
- func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesOutput() GroupInstanceRefreshPreferencesOutput
- func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesOutput
- func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput
- func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesPtrOutput
- type GroupInstanceRefreshPreferencesInput
- type GroupInstanceRefreshPreferencesOutput
- func (o GroupInstanceRefreshPreferencesOutput) CheckpointDelay() pulumi.StringPtrOutput
- func (o GroupInstanceRefreshPreferencesOutput) CheckpointPercentages() pulumi.IntArrayOutput
- func (GroupInstanceRefreshPreferencesOutput) ElementType() reflect.Type
- func (o GroupInstanceRefreshPreferencesOutput) InstanceWarmup() pulumi.StringPtrOutput
- func (o GroupInstanceRefreshPreferencesOutput) MinHealthyPercentage() pulumi.IntPtrOutput
- func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesOutput() GroupInstanceRefreshPreferencesOutput
- func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesOutput
- func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput
- func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesPtrOutput
- type GroupInstanceRefreshPreferencesPtrInput
- type GroupInstanceRefreshPreferencesPtrOutput
- func (o GroupInstanceRefreshPreferencesPtrOutput) CheckpointDelay() pulumi.StringPtrOutput
- func (o GroupInstanceRefreshPreferencesPtrOutput) CheckpointPercentages() pulumi.IntArrayOutput
- func (o GroupInstanceRefreshPreferencesPtrOutput) Elem() GroupInstanceRefreshPreferencesOutput
- func (GroupInstanceRefreshPreferencesPtrOutput) ElementType() reflect.Type
- func (o GroupInstanceRefreshPreferencesPtrOutput) InstanceWarmup() pulumi.StringPtrOutput
- func (o GroupInstanceRefreshPreferencesPtrOutput) MinHealthyPercentage() pulumi.IntPtrOutput
- func (o GroupInstanceRefreshPreferencesPtrOutput) ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput
- func (o GroupInstanceRefreshPreferencesPtrOutput) ToGroupInstanceRefreshPreferencesPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesPtrOutput
- type GroupInstanceRefreshPtrInput
- type GroupInstanceRefreshPtrOutput
- func (o GroupInstanceRefreshPtrOutput) Elem() GroupInstanceRefreshOutput
- func (GroupInstanceRefreshPtrOutput) ElementType() reflect.Type
- func (o GroupInstanceRefreshPtrOutput) Preferences() GroupInstanceRefreshPreferencesPtrOutput
- func (o GroupInstanceRefreshPtrOutput) Strategy() pulumi.StringPtrOutput
- func (o GroupInstanceRefreshPtrOutput) ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput
- func (o GroupInstanceRefreshPtrOutput) ToGroupInstanceRefreshPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPtrOutput
- func (o GroupInstanceRefreshPtrOutput) Triggers() pulumi.StringArrayOutput
- type GroupLaunchTemplate
- type GroupLaunchTemplateArgs
- func (GroupLaunchTemplateArgs) ElementType() reflect.Type
- func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplateOutput() GroupLaunchTemplateOutput
- func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplateOutputWithContext(ctx context.Context) GroupLaunchTemplateOutput
- func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput
- func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupLaunchTemplatePtrOutput
- type GroupLaunchTemplateInput
- type GroupLaunchTemplateOutput
- func (GroupLaunchTemplateOutput) ElementType() reflect.Type
- func (o GroupLaunchTemplateOutput) Id() pulumi.StringPtrOutput
- func (o GroupLaunchTemplateOutput) Name() pulumi.StringPtrOutput
- func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplateOutput() GroupLaunchTemplateOutput
- func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplateOutputWithContext(ctx context.Context) GroupLaunchTemplateOutput
- func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput
- func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupLaunchTemplatePtrOutput
- func (o GroupLaunchTemplateOutput) Version() pulumi.StringPtrOutput
- type GroupLaunchTemplatePtrInput
- type GroupLaunchTemplatePtrOutput
- func (o GroupLaunchTemplatePtrOutput) Elem() GroupLaunchTemplateOutput
- func (GroupLaunchTemplatePtrOutput) ElementType() reflect.Type
- func (o GroupLaunchTemplatePtrOutput) Id() pulumi.StringPtrOutput
- func (o GroupLaunchTemplatePtrOutput) Name() pulumi.StringPtrOutput
- func (o GroupLaunchTemplatePtrOutput) ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput
- func (o GroupLaunchTemplatePtrOutput) ToGroupLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupLaunchTemplatePtrOutput
- func (o GroupLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
- type GroupMap
- type GroupMapInput
- type GroupMapOutput
- type GroupMixedInstancesPolicy
- type GroupMixedInstancesPolicyArgs
- func (GroupMixedInstancesPolicyArgs) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyOutput() GroupMixedInstancesPolicyOutput
- func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyOutput
- func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput
- func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyPtrOutput
- type GroupMixedInstancesPolicyInput
- type GroupMixedInstancesPolicyInstancesDistribution
- type GroupMixedInstancesPolicyInstancesDistributionArgs
- func (GroupMixedInstancesPolicyInstancesDistributionArgs) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionOutput() GroupMixedInstancesPolicyInstancesDistributionOutput
- func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionOutput
- func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- type GroupMixedInstancesPolicyInstancesDistributionInput
- type GroupMixedInstancesPolicyInstancesDistributionOutput
- func (GroupMixedInstancesPolicyInstancesDistributionOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandAllocationStrategy() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotAllocationStrategy() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotInstancePools() pulumi.IntPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotMaxPrice() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionOutput() GroupMixedInstancesPolicyInstancesDistributionOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- type GroupMixedInstancesPolicyInstancesDistributionPtrInput
- type GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) Elem() GroupMixedInstancesPolicyInstancesDistributionOutput
- func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandAllocationStrategy() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotAllocationStrategy() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotInstancePools() pulumi.IntPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotMaxPrice() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplate
- type GroupMixedInstancesPolicyLaunchTemplateArgs
- func (GroupMixedInstancesPolicyLaunchTemplateArgs) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplateOutput() GroupMixedInstancesPolicyLaunchTemplateOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateInput
- type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification
- type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs
- func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput
- type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrInput
- type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) Elem() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateOutput
- func (GroupMixedInstancesPolicyLaunchTemplateOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOutput) Overrides() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplateOutput() GroupMixedInstancesPolicyLaunchTemplateOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateOverride
- type GroupMixedInstancesPolicyLaunchTemplateOverrideArgs
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideArray
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) Index(i pulumi.IntInput) GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideInput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification
- type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ElementType() reflect.Type
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput() ...
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext(ctx context.Context) ...
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() ...
- func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ...
- type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationInput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput() ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext(ctx context.Context) ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) Elem() ...
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
- func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) InstanceType() pulumi.StringPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) LaunchTemplateSpecification() ...
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
- func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) WeightedCapacity() pulumi.StringPtrOutput
- type GroupMixedInstancesPolicyLaunchTemplatePtrInput
- type GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Elem() GroupMixedInstancesPolicyLaunchTemplateOutput
- func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Overrides() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
- func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- type GroupMixedInstancesPolicyOutput
- func (GroupMixedInstancesPolicyOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyOutput) InstancesDistribution() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- func (o GroupMixedInstancesPolicyOutput) LaunchTemplate() GroupMixedInstancesPolicyLaunchTemplateOutput
- func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyOutput() GroupMixedInstancesPolicyOutput
- func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyOutput
- func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput
- func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyPtrOutput
- type GroupMixedInstancesPolicyPtrInput
- type GroupMixedInstancesPolicyPtrOutput
- func (o GroupMixedInstancesPolicyPtrOutput) Elem() GroupMixedInstancesPolicyOutput
- func (GroupMixedInstancesPolicyPtrOutput) ElementType() reflect.Type
- func (o GroupMixedInstancesPolicyPtrOutput) InstancesDistribution() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
- func (o GroupMixedInstancesPolicyPtrOutput) LaunchTemplate() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
- func (o GroupMixedInstancesPolicyPtrOutput) ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput
- func (o GroupMixedInstancesPolicyPtrOutput) ToGroupMixedInstancesPolicyPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyPtrOutput
- type GroupOutput
- type GroupState
- type GroupTag
- type GroupTagArgs
- type GroupTagArray
- type GroupTagArrayInput
- type GroupTagArrayOutput
- type GroupTagInput
- type GroupTagOutput
- func (GroupTagOutput) ElementType() reflect.Type
- func (o GroupTagOutput) Key() pulumi.StringOutput
- func (o GroupTagOutput) PropagateAtLaunch() pulumi.BoolOutput
- func (o GroupTagOutput) ToGroupTagOutput() GroupTagOutput
- func (o GroupTagOutput) ToGroupTagOutputWithContext(ctx context.Context) GroupTagOutput
- func (o GroupTagOutput) Value() pulumi.StringOutput
- type GroupWarmPool
- type GroupWarmPoolArgs
- func (GroupWarmPoolArgs) ElementType() reflect.Type
- func (i GroupWarmPoolArgs) ToGroupWarmPoolOutput() GroupWarmPoolOutput
- func (i GroupWarmPoolArgs) ToGroupWarmPoolOutputWithContext(ctx context.Context) GroupWarmPoolOutput
- func (i GroupWarmPoolArgs) ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput
- func (i GroupWarmPoolArgs) ToGroupWarmPoolPtrOutputWithContext(ctx context.Context) GroupWarmPoolPtrOutput
- type GroupWarmPoolInput
- type GroupWarmPoolOutput
- func (GroupWarmPoolOutput) ElementType() reflect.Type
- func (o GroupWarmPoolOutput) MaxGroupPreparedCapacity() pulumi.IntPtrOutput
- func (o GroupWarmPoolOutput) MinSize() pulumi.IntPtrOutput
- func (o GroupWarmPoolOutput) PoolState() pulumi.StringPtrOutput
- func (o GroupWarmPoolOutput) ToGroupWarmPoolOutput() GroupWarmPoolOutput
- func (o GroupWarmPoolOutput) ToGroupWarmPoolOutputWithContext(ctx context.Context) GroupWarmPoolOutput
- func (o GroupWarmPoolOutput) ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput
- func (o GroupWarmPoolOutput) ToGroupWarmPoolPtrOutputWithContext(ctx context.Context) GroupWarmPoolPtrOutput
- type GroupWarmPoolPtrInput
- type GroupWarmPoolPtrOutput
- func (o GroupWarmPoolPtrOutput) Elem() GroupWarmPoolOutput
- func (GroupWarmPoolPtrOutput) ElementType() reflect.Type
- func (o GroupWarmPoolPtrOutput) MaxGroupPreparedCapacity() pulumi.IntPtrOutput
- func (o GroupWarmPoolPtrOutput) MinSize() pulumi.IntPtrOutput
- func (o GroupWarmPoolPtrOutput) PoolState() pulumi.StringPtrOutput
- func (o GroupWarmPoolPtrOutput) ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput
- func (o GroupWarmPoolPtrOutput) ToGroupWarmPoolPtrOutputWithContext(ctx context.Context) GroupWarmPoolPtrOutput
- type LifecycleHook
- type LifecycleHookArgs
- type LifecycleHookArray
- type LifecycleHookArrayInput
- type LifecycleHookArrayOutput
- func (LifecycleHookArrayOutput) ElementType() reflect.Type
- func (o LifecycleHookArrayOutput) Index(i pulumi.IntInput) LifecycleHookOutput
- func (o LifecycleHookArrayOutput) ToLifecycleHookArrayOutput() LifecycleHookArrayOutput
- func (o LifecycleHookArrayOutput) ToLifecycleHookArrayOutputWithContext(ctx context.Context) LifecycleHookArrayOutput
- type LifecycleHookInput
- type LifecycleHookMap
- type LifecycleHookMapInput
- type LifecycleHookMapOutput
- func (LifecycleHookMapOutput) ElementType() reflect.Type
- func (o LifecycleHookMapOutput) MapIndex(k pulumi.StringInput) LifecycleHookOutput
- func (o LifecycleHookMapOutput) ToLifecycleHookMapOutput() LifecycleHookMapOutput
- func (o LifecycleHookMapOutput) ToLifecycleHookMapOutputWithContext(ctx context.Context) LifecycleHookMapOutput
- type LifecycleHookOutput
- type LifecycleHookState
- type LookupGroupArgs
- type LookupGroupOutputArgs
- type LookupGroupResult
- type LookupGroupResultOutput
- func (o LookupGroupResultOutput) Arn() pulumi.StringOutput
- func (o LookupGroupResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) DefaultCooldown() pulumi.IntOutput
- func (o LookupGroupResultOutput) DesiredCapacity() pulumi.IntOutput
- func (LookupGroupResultOutput) ElementType() reflect.Type
- func (o LookupGroupResultOutput) HealthCheckGracePeriod() pulumi.IntOutput
- func (o LookupGroupResultOutput) HealthCheckType() pulumi.StringOutput
- func (o LookupGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupGroupResultOutput) LaunchConfiguration() pulumi.StringOutput
- func (o LookupGroupResultOutput) LaunchTemplates() GetGroupLaunchTemplateArrayOutput
- func (o LookupGroupResultOutput) LoadBalancers() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) MaxSize() pulumi.IntOutput
- func (o LookupGroupResultOutput) MinSize() pulumi.IntOutput
- func (o LookupGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupGroupResultOutput) NewInstancesProtectedFromScaleIn() pulumi.BoolOutput
- func (o LookupGroupResultOutput) PlacementGroup() pulumi.StringOutput
- func (o LookupGroupResultOutput) ServiceLinkedRoleArn() pulumi.StringOutput
- func (o LookupGroupResultOutput) Status() pulumi.StringOutput
- func (o LookupGroupResultOutput) TargetGroupArns() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) TerminationPolicies() pulumi.StringArrayOutput
- func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput
- func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput
- func (o LookupGroupResultOutput) VpcZoneIdentifier() pulumi.StringOutput
- type Metric
- func (Metric) ElementType() reflect.Type
- func (e Metric) ToMetricOutput() MetricOutput
- func (e Metric) ToMetricOutputWithContext(ctx context.Context) MetricOutput
- func (e Metric) ToMetricPtrOutput() MetricPtrOutput
- func (e Metric) ToMetricPtrOutputWithContext(ctx context.Context) MetricPtrOutput
- func (e Metric) ToStringOutput() pulumi.StringOutput
- func (e Metric) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e Metric) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e Metric) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type MetricInput
- type MetricOutput
- func (MetricOutput) ElementType() reflect.Type
- func (o MetricOutput) ToMetricOutput() MetricOutput
- func (o MetricOutput) ToMetricOutputWithContext(ctx context.Context) MetricOutput
- func (o MetricOutput) ToMetricPtrOutput() MetricPtrOutput
- func (o MetricOutput) ToMetricPtrOutputWithContext(ctx context.Context) MetricPtrOutput
- func (o MetricOutput) ToStringOutput() pulumi.StringOutput
- func (o MetricOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o MetricOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o MetricOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type MetricPtrInput
- type MetricPtrOutput
- func (o MetricPtrOutput) Elem() MetricOutput
- func (MetricPtrOutput) ElementType() reflect.Type
- func (o MetricPtrOutput) ToMetricPtrOutput() MetricPtrOutput
- func (o MetricPtrOutput) ToMetricPtrOutputWithContext(ctx context.Context) MetricPtrOutput
- func (o MetricPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o MetricPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type MetricsGranularity
- func (MetricsGranularity) ElementType() reflect.Type
- func (e MetricsGranularity) ToMetricsGranularityOutput() MetricsGranularityOutput
- func (e MetricsGranularity) ToMetricsGranularityOutputWithContext(ctx context.Context) MetricsGranularityOutput
- func (e MetricsGranularity) ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput
- func (e MetricsGranularity) ToMetricsGranularityPtrOutputWithContext(ctx context.Context) MetricsGranularityPtrOutput
- func (e MetricsGranularity) ToStringOutput() pulumi.StringOutput
- func (e MetricsGranularity) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e MetricsGranularity) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e MetricsGranularity) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type MetricsGranularityInput
- type MetricsGranularityOutput
- func (MetricsGranularityOutput) ElementType() reflect.Type
- func (o MetricsGranularityOutput) ToMetricsGranularityOutput() MetricsGranularityOutput
- func (o MetricsGranularityOutput) ToMetricsGranularityOutputWithContext(ctx context.Context) MetricsGranularityOutput
- func (o MetricsGranularityOutput) ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput
- func (o MetricsGranularityOutput) ToMetricsGranularityPtrOutputWithContext(ctx context.Context) MetricsGranularityPtrOutput
- func (o MetricsGranularityOutput) ToStringOutput() pulumi.StringOutput
- func (o MetricsGranularityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o MetricsGranularityOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o MetricsGranularityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type MetricsGranularityPtrInput
- type MetricsGranularityPtrOutput
- func (o MetricsGranularityPtrOutput) Elem() MetricsGranularityOutput
- func (MetricsGranularityPtrOutput) ElementType() reflect.Type
- func (o MetricsGranularityPtrOutput) ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput
- func (o MetricsGranularityPtrOutput) ToMetricsGranularityPtrOutputWithContext(ctx context.Context) MetricsGranularityPtrOutput
- func (o MetricsGranularityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o MetricsGranularityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type Notification
- type NotificationArgs
- type NotificationArray
- type NotificationArrayInput
- type NotificationArrayOutput
- func (NotificationArrayOutput) ElementType() reflect.Type
- func (o NotificationArrayOutput) Index(i pulumi.IntInput) NotificationOutput
- func (o NotificationArrayOutput) ToNotificationArrayOutput() NotificationArrayOutput
- func (o NotificationArrayOutput) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
- type NotificationInput
- type NotificationMap
- type NotificationMapInput
- type NotificationMapOutput
- func (NotificationMapOutput) ElementType() reflect.Type
- func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
- func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
- func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
- type NotificationOutput
- type NotificationState
- type NotificationType
- func (NotificationType) ElementType() reflect.Type
- func (e NotificationType) ToNotificationTypeOutput() NotificationTypeOutput
- func (e NotificationType) ToNotificationTypeOutputWithContext(ctx context.Context) NotificationTypeOutput
- func (e NotificationType) ToNotificationTypePtrOutput() NotificationTypePtrOutput
- func (e NotificationType) ToNotificationTypePtrOutputWithContext(ctx context.Context) NotificationTypePtrOutput
- func (e NotificationType) ToStringOutput() pulumi.StringOutput
- func (e NotificationType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e NotificationType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e NotificationType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationTypeInput
- type NotificationTypeOutput
- func (NotificationTypeOutput) ElementType() reflect.Type
- func (o NotificationTypeOutput) ToNotificationTypeOutput() NotificationTypeOutput
- func (o NotificationTypeOutput) ToNotificationTypeOutputWithContext(ctx context.Context) NotificationTypeOutput
- func (o NotificationTypeOutput) ToNotificationTypePtrOutput() NotificationTypePtrOutput
- func (o NotificationTypeOutput) ToNotificationTypePtrOutputWithContext(ctx context.Context) NotificationTypePtrOutput
- func (o NotificationTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o NotificationTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o NotificationTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NotificationTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationTypePtrInput
- type NotificationTypePtrOutput
- func (o NotificationTypePtrOutput) Elem() NotificationTypeOutput
- func (NotificationTypePtrOutput) ElementType() reflect.Type
- func (o NotificationTypePtrOutput) ToNotificationTypePtrOutput() NotificationTypePtrOutput
- func (o NotificationTypePtrOutput) ToNotificationTypePtrOutputWithContext(ctx context.Context) NotificationTypePtrOutput
- func (o NotificationTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NotificationTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type Policy
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- type PolicyPredictiveScalingConfiguration
- type PolicyPredictiveScalingConfigurationArgs
- func (PolicyPredictiveScalingConfigurationArgs) ElementType() reflect.Type
- func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationOutput() PolicyPredictiveScalingConfigurationOutput
- func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationOutput
- func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput
- func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationPtrOutput
- type PolicyPredictiveScalingConfigurationInput
- type PolicyPredictiveScalingConfigurationMetricSpecification
- type PolicyPredictiveScalingConfigurationMetricSpecificationArgs
- func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- type PolicyPredictiveScalingConfigurationMetricSpecificationInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedLoadMetricSpecification() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedMetricPairSpecification() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedScalingMetricSpecification() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) TargetValue() pulumi.IntOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecification
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput() ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ResourceLabel() pulumi.StringOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) Elem() ...
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecification
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ElementType() reflect.Type
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput() ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext(ctx context.Context) ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ResourceLabel() pulumi.StringOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext(ctx context.Context) ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) Elem() ...
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecification
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput() ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() ...
- func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ResourceLabel() pulumi.StringOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) Elem() ...
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyPredictiveScalingConfigurationMetricSpecificationPtrInput
- type PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) Elem() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedLoadMetricSpecification() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedMetricPairSpecification() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedScalingMetricSpecification() ...
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) TargetValue() pulumi.IntPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- type PolicyPredictiveScalingConfigurationOutput
- func (PolicyPredictiveScalingConfigurationOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationOutput) MaxCapacityBuffer() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationOutput) MetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
- func (o PolicyPredictiveScalingConfigurationOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationOutput) SchedulingBufferTime() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationOutput() PolicyPredictiveScalingConfigurationOutput
- func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationOutput
- func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput
- func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationPtrOutput
- type PolicyPredictiveScalingConfigurationPtrInput
- type PolicyPredictiveScalingConfigurationPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) Elem() PolicyPredictiveScalingConfigurationOutput
- func (PolicyPredictiveScalingConfigurationPtrOutput) ElementType() reflect.Type
- func (o PolicyPredictiveScalingConfigurationPtrOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) MaxCapacityBuffer() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) MetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) SchedulingBufferTime() pulumi.StringPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput
- func (o PolicyPredictiveScalingConfigurationPtrOutput) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationPtrOutput
- type PolicyState
- type PolicyStepAdjustment
- type PolicyStepAdjustmentArgs
- type PolicyStepAdjustmentArray
- type PolicyStepAdjustmentArrayInput
- type PolicyStepAdjustmentArrayOutput
- func (PolicyStepAdjustmentArrayOutput) ElementType() reflect.Type
- func (o PolicyStepAdjustmentArrayOutput) Index(i pulumi.IntInput) PolicyStepAdjustmentOutput
- func (o PolicyStepAdjustmentArrayOutput) ToPolicyStepAdjustmentArrayOutput() PolicyStepAdjustmentArrayOutput
- func (o PolicyStepAdjustmentArrayOutput) ToPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepAdjustmentArrayOutput
- type PolicyStepAdjustmentInput
- type PolicyStepAdjustmentOutput
- func (PolicyStepAdjustmentOutput) ElementType() reflect.Type
- func (o PolicyStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.StringPtrOutput
- func (o PolicyStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.StringPtrOutput
- func (o PolicyStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput
- func (o PolicyStepAdjustmentOutput) ToPolicyStepAdjustmentOutput() PolicyStepAdjustmentOutput
- func (o PolicyStepAdjustmentOutput) ToPolicyStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepAdjustmentOutput
- type PolicyTargetTrackingConfiguration
- type PolicyTargetTrackingConfigurationArgs
- func (PolicyTargetTrackingConfigurationArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationOutput() PolicyTargetTrackingConfigurationOutput
- func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationOutput
- func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput
- func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPtrOutput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecification
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationInput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimension
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput() ...
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ElementType() reflect.Type
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput() ...
- func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayInput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) Index(i pulumi.IntInput) ...
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput() ...
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionInput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) Name() pulumi.StringOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput() ...
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) Value() pulumi.StringOutput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) MetricDimensions() ...
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) MetricName() pulumi.StringOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Namespace() pulumi.StringOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Statistic() pulumi.StringOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Unit() pulumi.StringPtrOutput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput
- type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Elem() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
- func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) MetricDimensions() ...
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Statistic() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Unit() pulumi.StringPtrOutput
- type PolicyTargetTrackingConfigurationInput
- type PolicyTargetTrackingConfigurationOutput
- func (o PolicyTargetTrackingConfigurationOutput) CustomizedMetricSpecification() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationOutput) DisableScaleIn() pulumi.BoolPtrOutput
- func (PolicyTargetTrackingConfigurationOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationOutput) PredefinedMetricSpecification() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationOutput) TargetValue() pulumi.Float64Output
- func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationOutput() PolicyTargetTrackingConfigurationOutput
- func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationOutput
- func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput
- func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPtrOutput
- type PolicyTargetTrackingConfigurationPredefinedMetricSpecification
- type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs
- func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
- func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
- func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationInput
- type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
- func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput
- type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) Elem() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
- func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- type PolicyTargetTrackingConfigurationPtrInput
- type PolicyTargetTrackingConfigurationPtrOutput
- func (o PolicyTargetTrackingConfigurationPtrOutput) CustomizedMetricSpecification() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationPtrOutput) DisableScaleIn() pulumi.BoolPtrOutput
- func (o PolicyTargetTrackingConfigurationPtrOutput) Elem() PolicyTargetTrackingConfigurationOutput
- func (PolicyTargetTrackingConfigurationPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingConfigurationPtrOutput) PredefinedMetricSpecification() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingConfigurationPtrOutput) TargetValue() pulumi.Float64PtrOutput
- func (o PolicyTargetTrackingConfigurationPtrOutput) ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput
- func (o PolicyTargetTrackingConfigurationPtrOutput) ToPolicyTargetTrackingConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPtrOutput
- type Schedule
- type ScheduleArgs
- type ScheduleArray
- type ScheduleArrayInput
- type ScheduleArrayOutput
- type ScheduleInput
- type ScheduleMap
- type ScheduleMapInput
- type ScheduleMapOutput
- type ScheduleOutput
- type ScheduleState
- type Tag
- type TagArgs
- type TagArray
- type TagArrayInput
- type TagArrayOutput
- type TagInput
- type TagMap
- type TagMapInput
- type TagMapOutput
- type TagOutput
- type TagState
- type TagTag
- type TagTagArgs
- func (TagTagArgs) ElementType() reflect.Type
- func (i TagTagArgs) ToTagTagOutput() TagTagOutput
- func (i TagTagArgs) ToTagTagOutputWithContext(ctx context.Context) TagTagOutput
- func (i TagTagArgs) ToTagTagPtrOutput() TagTagPtrOutput
- func (i TagTagArgs) ToTagTagPtrOutputWithContext(ctx context.Context) TagTagPtrOutput
- type TagTagInput
- type TagTagOutput
- func (TagTagOutput) ElementType() reflect.Type
- func (o TagTagOutput) Key() pulumi.StringOutput
- func (o TagTagOutput) PropagateAtLaunch() pulumi.BoolOutput
- func (o TagTagOutput) ToTagTagOutput() TagTagOutput
- func (o TagTagOutput) ToTagTagOutputWithContext(ctx context.Context) TagTagOutput
- func (o TagTagOutput) ToTagTagPtrOutput() TagTagPtrOutput
- func (o TagTagOutput) ToTagTagPtrOutputWithContext(ctx context.Context) TagTagPtrOutput
- func (o TagTagOutput) Value() pulumi.StringOutput
- type TagTagPtrInput
- type TagTagPtrOutput
- func (o TagTagPtrOutput) Elem() TagTagOutput
- func (TagTagPtrOutput) ElementType() reflect.Type
- func (o TagTagPtrOutput) Key() pulumi.StringPtrOutput
- func (o TagTagPtrOutput) PropagateAtLaunch() pulumi.BoolPtrOutput
- func (o TagTagPtrOutput) ToTagTagPtrOutput() TagTagPtrOutput
- func (o TagTagPtrOutput) ToTagTagPtrOutputWithContext(ctx context.Context) TagTagPtrOutput
- func (o TagTagPtrOutput) Value() pulumi.StringPtrOutput
Constants ¶
const ( MetricGroupMinSize = Metric("GroupMinSize") MetricGroupMaxSize = Metric("GroupMaxSize") MetricGroupDesiredCapacity = Metric("GroupDesiredCapacity") MetricGroupInServiceInstances = Metric("GroupInServiceInstances") MetricGroupInServiceCapacity = Metric("GroupInServiceCapacity") MetricGroupPendingInstances = Metric("GroupPendingInstances") MetricGroupPendingCapacity = Metric("GroupPendingCapacity") MetricGroupStandbyInstances = Metric("GroupStandbyInstances") MetricGroupStandbyCapacity = Metric("GroupStandbyCapacity") MetricGroupTerminatingInstances = Metric("GroupTerminatingInstances") MetricGroupTerminatingCapacity = Metric("GroupTerminatingCapacity") MetricGroupTotalInstances = Metric("GroupTotalInstances") MetricGroupTotalCapacity = Metric("GroupTotalCapacity") )
const ( NotificationTypeInstanceLaunch = NotificationType("autoscaling:EC2_INSTANCE_LAUNCH") NotificationTypeInstanceTerminate = NotificationType("autoscaling:EC2_INSTANCE_TERMINATE") NotificationTypeInstanceLaunchError = NotificationType("autoscaling:EC2_INSTANCE_LAUNCH_ERROR") NotificationTypeInstanceTerminateError = NotificationType("autoscaling:EC2_INSTANCE_TERMINATE_ERROR") NotificationTypeTestNotification = NotificationType("autoscaling:TEST_NOTIFICATION") )
const (
MetricsGranularityOneMinute = MetricsGranularity("1Minute")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { pulumi.CustomResourceState // The ARN of an ALB Target Group. AlbTargetGroupArn pulumi.StringPtrOutput `pulumi:"albTargetGroupArn"` // Name of ASG to associate with the ELB. AutoscalingGroupName pulumi.StringOutput `pulumi:"autoscalingGroupName"` // The name of the ELB. Elb pulumi.StringPtrOutput `pulumi:"elb"` }
Provides an Auto Scaling Attachment resource.
> **NOTE on Auto Scaling Groups and ASG Attachments:** This provider currently provides both a standalone `autoscaling.Attachment` resource (describing an ASG attached to an ELB or ALB), and an `autoscaling.Group` with `loadBalancers` and `targetGroupArns` defined in-line. These two methods are not mutually-exclusive. If `autoscaling.Attachment` resources are used, either alone or with inline `loadBalancers` or `targetGroupArns`, the `autoscaling.Group` resource must be configured to [ignore changes](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to the `loadBalancers` and `targetGroupArns` arguments.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := autoscaling.NewAttachment(ctx, "asgAttachmentBar", &autoscaling.AttachmentArgs{ AutoscalingGroupName: pulumi.Any(aws_autoscaling_group.Asg.Id), Elb: pulumi.Any(aws_elb.Bar.Id), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := autoscaling.NewAttachment(ctx, "asgAttachmentBar", &autoscaling.AttachmentArgs{ AutoscalingGroupName: pulumi.Any(aws_autoscaling_group.Asg.Id), AlbTargetGroupArn: pulumi.Any(aws_lb_target_group.Test.Arn), }) if err != nil { return err } return nil }) }
``` ## With An AutoScaling Group Resource
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { asg, err := autoscaling.NewGroup(ctx, "asg", nil) if err != nil { return err } _, err = autoscaling.NewAttachment(ctx, "asgAttachmentBar", &autoscaling.AttachmentArgs{ AutoscalingGroupName: asg.ID(), Elb: pulumi.Any(aws_elb.Test.Id), }) if err != nil { return err } return nil }) }
```
func GetAttachment ¶
func GetAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AttachmentState, opts ...pulumi.ResourceOption) (*Attachment, error)
GetAttachment gets an existing Attachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAttachment ¶
func NewAttachment(ctx *pulumi.Context, name string, args *AttachmentArgs, opts ...pulumi.ResourceOption) (*Attachment, error)
NewAttachment registers a new resource with the given unique name, arguments, and options.
func (*Attachment) ElementType ¶
func (*Attachment) ElementType() reflect.Type
func (*Attachment) ToAttachmentOutput ¶
func (i *Attachment) ToAttachmentOutput() AttachmentOutput
func (*Attachment) ToAttachmentOutputWithContext ¶
func (i *Attachment) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentArgs ¶
type AttachmentArgs struct { // The ARN of an ALB Target Group. AlbTargetGroupArn pulumi.StringPtrInput // Name of ASG to associate with the ELB. AutoscalingGroupName pulumi.StringInput // The name of the ELB. Elb pulumi.StringPtrInput }
The set of arguments for constructing a Attachment resource.
func (AttachmentArgs) ElementType ¶
func (AttachmentArgs) ElementType() reflect.Type
type AttachmentArray ¶
type AttachmentArray []AttachmentInput
func (AttachmentArray) ElementType ¶
func (AttachmentArray) ElementType() reflect.Type
func (AttachmentArray) ToAttachmentArrayOutput ¶
func (i AttachmentArray) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArray) ToAttachmentArrayOutputWithContext ¶
func (i AttachmentArray) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentArrayInput ¶
type AttachmentArrayInput interface { pulumi.Input ToAttachmentArrayOutput() AttachmentArrayOutput ToAttachmentArrayOutputWithContext(context.Context) AttachmentArrayOutput }
AttachmentArrayInput is an input type that accepts AttachmentArray and AttachmentArrayOutput values. You can construct a concrete instance of `AttachmentArrayInput` via:
AttachmentArray{ AttachmentArgs{...} }
type AttachmentArrayOutput ¶
type AttachmentArrayOutput struct{ *pulumi.OutputState }
func (AttachmentArrayOutput) ElementType ¶
func (AttachmentArrayOutput) ElementType() reflect.Type
func (AttachmentArrayOutput) Index ¶
func (o AttachmentArrayOutput) Index(i pulumi.IntInput) AttachmentOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutput ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutput() AttachmentArrayOutput
func (AttachmentArrayOutput) ToAttachmentArrayOutputWithContext ¶
func (o AttachmentArrayOutput) ToAttachmentArrayOutputWithContext(ctx context.Context) AttachmentArrayOutput
type AttachmentInput ¶
type AttachmentInput interface { pulumi.Input ToAttachmentOutput() AttachmentOutput ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput }
type AttachmentMap ¶
type AttachmentMap map[string]AttachmentInput
func (AttachmentMap) ElementType ¶
func (AttachmentMap) ElementType() reflect.Type
func (AttachmentMap) ToAttachmentMapOutput ¶
func (i AttachmentMap) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMap) ToAttachmentMapOutputWithContext ¶
func (i AttachmentMap) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentMapInput ¶
type AttachmentMapInput interface { pulumi.Input ToAttachmentMapOutput() AttachmentMapOutput ToAttachmentMapOutputWithContext(context.Context) AttachmentMapOutput }
AttachmentMapInput is an input type that accepts AttachmentMap and AttachmentMapOutput values. You can construct a concrete instance of `AttachmentMapInput` via:
AttachmentMap{ "key": AttachmentArgs{...} }
type AttachmentMapOutput ¶
type AttachmentMapOutput struct{ *pulumi.OutputState }
func (AttachmentMapOutput) ElementType ¶
func (AttachmentMapOutput) ElementType() reflect.Type
func (AttachmentMapOutput) MapIndex ¶
func (o AttachmentMapOutput) MapIndex(k pulumi.StringInput) AttachmentOutput
func (AttachmentMapOutput) ToAttachmentMapOutput ¶
func (o AttachmentMapOutput) ToAttachmentMapOutput() AttachmentMapOutput
func (AttachmentMapOutput) ToAttachmentMapOutputWithContext ¶
func (o AttachmentMapOutput) ToAttachmentMapOutputWithContext(ctx context.Context) AttachmentMapOutput
type AttachmentOutput ¶
type AttachmentOutput struct{ *pulumi.OutputState }
func (AttachmentOutput) ElementType ¶
func (AttachmentOutput) ElementType() reflect.Type
func (AttachmentOutput) ToAttachmentOutput ¶
func (o AttachmentOutput) ToAttachmentOutput() AttachmentOutput
func (AttachmentOutput) ToAttachmentOutputWithContext ¶
func (o AttachmentOutput) ToAttachmentOutputWithContext(ctx context.Context) AttachmentOutput
type AttachmentState ¶
type AttachmentState struct { // The ARN of an ALB Target Group. AlbTargetGroupArn pulumi.StringPtrInput // Name of ASG to associate with the ELB. AutoscalingGroupName pulumi.StringPtrInput // The name of the ELB. Elb pulumi.StringPtrInput }
func (AttachmentState) ElementType ¶
func (AttachmentState) ElementType() reflect.Type
type GetAmiIdsArgs ¶
type GetAmiIdsArgs struct { // A filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html). Filters []GetAmiIdsFilter `pulumi:"filters"` }
A collection of arguments for invoking getAmiIds.
type GetAmiIdsFilter ¶
type GetAmiIdsFilterArgs ¶
type GetAmiIdsFilterArgs struct { // The name of the DescribeAutoScalingGroup filter. The recommended values are: `tag-key`, `tag-value`, and `tag:<tag name>` Name pulumi.StringInput `pulumi:"name"` // The value of the filter. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetAmiIdsFilterArgs) ElementType ¶
func (GetAmiIdsFilterArgs) ElementType() reflect.Type
func (GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutput ¶
func (i GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
func (GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutputWithContext ¶
func (i GetAmiIdsFilterArgs) ToGetAmiIdsFilterOutputWithContext(ctx context.Context) GetAmiIdsFilterOutput
type GetAmiIdsFilterArray ¶
type GetAmiIdsFilterArray []GetAmiIdsFilterInput
func (GetAmiIdsFilterArray) ElementType ¶
func (GetAmiIdsFilterArray) ElementType() reflect.Type
func (GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutput ¶
func (i GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
func (GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutputWithContext ¶
func (i GetAmiIdsFilterArray) ToGetAmiIdsFilterArrayOutputWithContext(ctx context.Context) GetAmiIdsFilterArrayOutput
type GetAmiIdsFilterArrayInput ¶
type GetAmiIdsFilterArrayInput interface { pulumi.Input ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput ToGetAmiIdsFilterArrayOutputWithContext(context.Context) GetAmiIdsFilterArrayOutput }
GetAmiIdsFilterArrayInput is an input type that accepts GetAmiIdsFilterArray and GetAmiIdsFilterArrayOutput values. You can construct a concrete instance of `GetAmiIdsFilterArrayInput` via:
GetAmiIdsFilterArray{ GetAmiIdsFilterArgs{...} }
type GetAmiIdsFilterArrayOutput ¶
type GetAmiIdsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAmiIdsFilterArrayOutput) ElementType ¶
func (GetAmiIdsFilterArrayOutput) ElementType() reflect.Type
func (GetAmiIdsFilterArrayOutput) Index ¶
func (o GetAmiIdsFilterArrayOutput) Index(i pulumi.IntInput) GetAmiIdsFilterOutput
func (GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutput ¶
func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutput() GetAmiIdsFilterArrayOutput
func (GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutputWithContext ¶
func (o GetAmiIdsFilterArrayOutput) ToGetAmiIdsFilterArrayOutputWithContext(ctx context.Context) GetAmiIdsFilterArrayOutput
type GetAmiIdsFilterInput ¶
type GetAmiIdsFilterInput interface { pulumi.Input ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput ToGetAmiIdsFilterOutputWithContext(context.Context) GetAmiIdsFilterOutput }
GetAmiIdsFilterInput is an input type that accepts GetAmiIdsFilterArgs and GetAmiIdsFilterOutput values. You can construct a concrete instance of `GetAmiIdsFilterInput` via:
GetAmiIdsFilterArgs{...}
type GetAmiIdsFilterOutput ¶
type GetAmiIdsFilterOutput struct{ *pulumi.OutputState }
func (GetAmiIdsFilterOutput) ElementType ¶
func (GetAmiIdsFilterOutput) ElementType() reflect.Type
func (GetAmiIdsFilterOutput) Name ¶
func (o GetAmiIdsFilterOutput) Name() pulumi.StringOutput
The name of the DescribeAutoScalingGroup filter. The recommended values are: `tag-key`, `tag-value`, and `tag:<tag name>`
func (GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutput ¶
func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutput() GetAmiIdsFilterOutput
func (GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext ¶
func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext(ctx context.Context) GetAmiIdsFilterOutput
func (GetAmiIdsFilterOutput) Values ¶
func (o GetAmiIdsFilterOutput) Values() pulumi.StringArrayOutput
The value of the filter.
type GetAmiIdsOutputArgs ¶ added in v4.21.0
type GetAmiIdsOutputArgs struct { // A filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html). Filters GetAmiIdsFilterArrayInput `pulumi:"filters"` }
A collection of arguments for invoking getAmiIds.
func (GetAmiIdsOutputArgs) ElementType ¶ added in v4.21.0
func (GetAmiIdsOutputArgs) ElementType() reflect.Type
type GetAmiIdsResult ¶
type GetAmiIdsResult struct { // A list of the Autoscaling Groups Arns in the current region. Arns []string `pulumi:"arns"` Filters []GetAmiIdsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of the Autoscaling Groups in the current region. Names []string `pulumi:"names"` }
A collection of values returned by getAmiIds.
func GetAmiIds ¶
func GetAmiIds(ctx *pulumi.Context, args *GetAmiIdsArgs, opts ...pulumi.InvokeOption) (*GetAmiIdsResult, error)
The Autoscaling Groups data source allows access to the list of AWS ASGs within a specific region. This will allow you to pass a list of AutoScaling Groups to other resources.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { groups, err := autoscaling.GetAmiIds(ctx, &autoscaling.GetAmiIdsArgs{ Filters: []autoscaling.GetAmiIdsFilter{ autoscaling.GetAmiIdsFilter{ Name: "tag:Team", Values: []string{ "Pets", }, }, autoscaling.GetAmiIdsFilter{ Name: "tag-key", Values: []string{ "Environment", }, }, }, }, nil) if err != nil { return err } _, err = autoscaling.NewNotification(ctx, "slackNotifications", &autoscaling.NotificationArgs{ GroupNames: interface{}(groups.Names), Notifications: pulumi.StringArray{ pulumi.String("autoscaling:EC2_INSTANCE_LAUNCH"), pulumi.String("autoscaling:EC2_INSTANCE_TERMINATE"), pulumi.String("autoscaling:EC2_INSTANCE_LAUNCH_ERROR"), pulumi.String("autoscaling:EC2_INSTANCE_TERMINATE_ERROR"), }, TopicArn: pulumi.String("TOPIC ARN"), }) if err != nil { return err } return nil }) }
```
type GetAmiIdsResultOutput ¶ added in v4.21.0
type GetAmiIdsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAmiIds.
func GetAmiIdsOutput ¶ added in v4.21.0
func GetAmiIdsOutput(ctx *pulumi.Context, args GetAmiIdsOutputArgs, opts ...pulumi.InvokeOption) GetAmiIdsResultOutput
func (GetAmiIdsResultOutput) Arns ¶ added in v4.21.0
func (o GetAmiIdsResultOutput) Arns() pulumi.StringArrayOutput
A list of the Autoscaling Groups Arns in the current region.
func (GetAmiIdsResultOutput) ElementType ¶ added in v4.21.0
func (GetAmiIdsResultOutput) ElementType() reflect.Type
func (GetAmiIdsResultOutput) Filters ¶ added in v4.21.0
func (o GetAmiIdsResultOutput) Filters() GetAmiIdsFilterArrayOutput
func (GetAmiIdsResultOutput) Id ¶ added in v4.21.0
func (o GetAmiIdsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAmiIdsResultOutput) Names ¶ added in v4.21.0
func (o GetAmiIdsResultOutput) Names() pulumi.StringArrayOutput
A list of the Autoscaling Groups in the current region.
func (GetAmiIdsResultOutput) ToGetAmiIdsResultOutput ¶ added in v4.21.0
func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutput() GetAmiIdsResultOutput
func (GetAmiIdsResultOutput) ToGetAmiIdsResultOutputWithContext ¶ added in v4.21.0
func (o GetAmiIdsResultOutput) ToGetAmiIdsResultOutputWithContext(ctx context.Context) GetAmiIdsResultOutput
type GetGroupLaunchTemplate ¶
type GetGroupLaunchTemplateArgs ¶
type GetGroupLaunchTemplateArgs struct { // Name of the Auto Scaling Group. Id pulumi.StringInput `pulumi:"id"` // Specify the exact name of the desired autoscaling group. Name pulumi.StringInput `pulumi:"name"` Version pulumi.StringInput `pulumi:"version"` }
func (GetGroupLaunchTemplateArgs) ElementType ¶
func (GetGroupLaunchTemplateArgs) ElementType() reflect.Type
func (GetGroupLaunchTemplateArgs) ToGetGroupLaunchTemplateOutput ¶
func (i GetGroupLaunchTemplateArgs) ToGetGroupLaunchTemplateOutput() GetGroupLaunchTemplateOutput
func (GetGroupLaunchTemplateArgs) ToGetGroupLaunchTemplateOutputWithContext ¶
func (i GetGroupLaunchTemplateArgs) ToGetGroupLaunchTemplateOutputWithContext(ctx context.Context) GetGroupLaunchTemplateOutput
type GetGroupLaunchTemplateArray ¶
type GetGroupLaunchTemplateArray []GetGroupLaunchTemplateInput
func (GetGroupLaunchTemplateArray) ElementType ¶
func (GetGroupLaunchTemplateArray) ElementType() reflect.Type
func (GetGroupLaunchTemplateArray) ToGetGroupLaunchTemplateArrayOutput ¶
func (i GetGroupLaunchTemplateArray) ToGetGroupLaunchTemplateArrayOutput() GetGroupLaunchTemplateArrayOutput
func (GetGroupLaunchTemplateArray) ToGetGroupLaunchTemplateArrayOutputWithContext ¶
func (i GetGroupLaunchTemplateArray) ToGetGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetGroupLaunchTemplateArrayOutput
type GetGroupLaunchTemplateArrayInput ¶
type GetGroupLaunchTemplateArrayInput interface { pulumi.Input ToGetGroupLaunchTemplateArrayOutput() GetGroupLaunchTemplateArrayOutput ToGetGroupLaunchTemplateArrayOutputWithContext(context.Context) GetGroupLaunchTemplateArrayOutput }
GetGroupLaunchTemplateArrayInput is an input type that accepts GetGroupLaunchTemplateArray and GetGroupLaunchTemplateArrayOutput values. You can construct a concrete instance of `GetGroupLaunchTemplateArrayInput` via:
GetGroupLaunchTemplateArray{ GetGroupLaunchTemplateArgs{...} }
type GetGroupLaunchTemplateArrayOutput ¶
type GetGroupLaunchTemplateArrayOutput struct{ *pulumi.OutputState }
func (GetGroupLaunchTemplateArrayOutput) ElementType ¶
func (GetGroupLaunchTemplateArrayOutput) ElementType() reflect.Type
func (GetGroupLaunchTemplateArrayOutput) Index ¶
func (o GetGroupLaunchTemplateArrayOutput) Index(i pulumi.IntInput) GetGroupLaunchTemplateOutput
func (GetGroupLaunchTemplateArrayOutput) ToGetGroupLaunchTemplateArrayOutput ¶
func (o GetGroupLaunchTemplateArrayOutput) ToGetGroupLaunchTemplateArrayOutput() GetGroupLaunchTemplateArrayOutput
func (GetGroupLaunchTemplateArrayOutput) ToGetGroupLaunchTemplateArrayOutputWithContext ¶
func (o GetGroupLaunchTemplateArrayOutput) ToGetGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetGroupLaunchTemplateArrayOutput
type GetGroupLaunchTemplateInput ¶
type GetGroupLaunchTemplateInput interface { pulumi.Input ToGetGroupLaunchTemplateOutput() GetGroupLaunchTemplateOutput ToGetGroupLaunchTemplateOutputWithContext(context.Context) GetGroupLaunchTemplateOutput }
GetGroupLaunchTemplateInput is an input type that accepts GetGroupLaunchTemplateArgs and GetGroupLaunchTemplateOutput values. You can construct a concrete instance of `GetGroupLaunchTemplateInput` via:
GetGroupLaunchTemplateArgs{...}
type GetGroupLaunchTemplateOutput ¶
type GetGroupLaunchTemplateOutput struct{ *pulumi.OutputState }
func (GetGroupLaunchTemplateOutput) ElementType ¶
func (GetGroupLaunchTemplateOutput) ElementType() reflect.Type
func (GetGroupLaunchTemplateOutput) Id ¶
func (o GetGroupLaunchTemplateOutput) Id() pulumi.StringOutput
Name of the Auto Scaling Group.
func (GetGroupLaunchTemplateOutput) Name ¶
func (o GetGroupLaunchTemplateOutput) Name() pulumi.StringOutput
Specify the exact name of the desired autoscaling group.
func (GetGroupLaunchTemplateOutput) ToGetGroupLaunchTemplateOutput ¶
func (o GetGroupLaunchTemplateOutput) ToGetGroupLaunchTemplateOutput() GetGroupLaunchTemplateOutput
func (GetGroupLaunchTemplateOutput) ToGetGroupLaunchTemplateOutputWithContext ¶
func (o GetGroupLaunchTemplateOutput) ToGetGroupLaunchTemplateOutputWithContext(ctx context.Context) GetGroupLaunchTemplateOutput
func (GetGroupLaunchTemplateOutput) Version ¶
func (o GetGroupLaunchTemplateOutput) Version() pulumi.StringOutput
type Group ¶
type Group struct { pulumi.CustomResourceState // The ARN for this Auto Scaling Group Arn pulumi.StringOutput `pulumi:"arn"` // A list of one or more availability zones for the group. Used for EC2-Classic, attaching a network interface via id from a launch template and default subnets when not specified with `vpcZoneIdentifier` argument. Conflicts with `vpcZoneIdentifier`. AvailabilityZones pulumi.StringArrayOutput `pulumi:"availabilityZones"` // Indicates whether capacity rebalance is enabled. Otherwise, capacity rebalance is disabled. CapacityRebalance pulumi.BoolPtrOutput `pulumi:"capacityRebalance"` // The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. DefaultCooldown pulumi.IntOutput `pulumi:"defaultCooldown"` // The number of Amazon EC2 instances that // should be running in the group. (See also Waiting for // Capacity below.) DesiredCapacity pulumi.IntOutput `pulumi:"desiredCapacity"` // A list of metrics to collect. The allowed values are defined by the [underlying AWS API](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html). EnabledMetrics pulumi.StringArrayOutput `pulumi:"enabledMetrics"` // Allows deleting the Auto Scaling Group without waiting // for all instances in the pool to terminate. You can force an Auto Scaling Group to delete // even if it's in the process of scaling a resource. Normally, this provider // drains all the instances before deleting the group. This bypasses that // behavior and potentially leaves resources dangling. ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` ForceDeleteWarmPool pulumi.BoolPtrOutput `pulumi:"forceDeleteWarmPool"` // Time (in seconds) after instance comes into service before checking health. HealthCheckGracePeriod pulumi.IntPtrOutput `pulumi:"healthCheckGracePeriod"` // "EC2" or "ELB". Controls how health checking is done. HealthCheckType pulumi.StringOutput `pulumi:"healthCheckType"` // One or more // [Lifecycle Hooks](http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) // to attach to the Auto Scaling Group **before** instances are launched. The // syntax is exactly the same as the separate // `autoscaling.LifecycleHook` // resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating // a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource. InitialLifecycleHooks GroupInitialLifecycleHookArrayOutput `pulumi:"initialLifecycleHooks"` // If this block is configured, start an // [Instance Refresh](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) // when this Auto Scaling Group is updated. Defined below. InstanceRefresh GroupInstanceRefreshPtrOutput `pulumi:"instanceRefresh"` // The name of the launch configuration to use. LaunchConfiguration pulumi.StringPtrOutput `pulumi:"launchConfiguration"` // Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below. LaunchTemplate GroupLaunchTemplatePtrOutput `pulumi:"launchTemplate"` // A list of elastic load balancer names to add to the autoscaling // group names. Only valid for classic load balancers. For ALBs, use `targetGroupArns` instead. LoadBalancers pulumi.StringArrayOutput `pulumi:"loadBalancers"` // The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds. MaxInstanceLifetime pulumi.IntPtrOutput `pulumi:"maxInstanceLifetime"` // The maximum size of the Auto Scaling Group. MaxSize pulumi.IntOutput `pulumi:"maxSize"` // The granularity to associate with the metrics to collect. The only valid value is `1Minute`. Default is `1Minute`. MetricsGranularity pulumi.StringPtrOutput `pulumi:"metricsGranularity"` // Setting this causes the provider to wait for // this number of instances from this Auto Scaling Group to show up healthy in the // ELB only on creation. Updates will not wait on ELB instance number changes. // (See also Waiting for Capacity below.) MinElbCapacity pulumi.IntPtrOutput `pulumi:"minElbCapacity"` // Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified. MinSize pulumi.IntOutput `pulumi:"minSize"` // Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details. MixedInstancesPolicy GroupMixedInstancesPolicyPtrOutput `pulumi:"mixedInstancesPolicy"` // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified // prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // The name of the placement group into which you'll launch your instances, if any. PlacementGroup pulumi.StringPtrOutput `pulumi:"placementGroup"` // Allows setting instance protection. The // Auto Scaling Group will not select instances with this setting for termination // during scale in events. ProtectFromScaleIn pulumi.BoolPtrOutput `pulumi:"protectFromScaleIn"` // The ARN of the service-linked role that the ASG will use to call other AWS services ServiceLinkedRoleArn pulumi.StringOutput `pulumi:"serviceLinkedRoleArn"` // A list of processes to suspend for the Auto Scaling Group. The allowed values are `Launch`, `Terminate`, `HealthCheck`, `ReplaceUnhealthy`, `AZRebalance`, `AlarmNotification`, `ScheduledActions`, `AddToLoadBalancer`. // Note that if you suspend either the `Launch` or `Terminate` process types, it can prevent your Auto Scaling Group from functioning properly. SuspendedProcesses pulumi.StringArrayOutput `pulumi:"suspendedProcesses"` // Configuration block(s) containing resource tags. Conflicts with `tagsCollection`. Documented below. Tags GroupTagArrayOutput `pulumi:"tags"` // Set of maps containing resource tags. Conflicts with `tag`. Documented below. TagsCollection pulumi.StringMapArrayOutput `pulumi:"tagsCollection"` // A set of `alb.TargetGroup` ARNs, for use with Application or Network Load Balancing. TargetGroupArns pulumi.StringArrayOutput `pulumi:"targetGroupArns"` // A list of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are `OldestInstance`, `NewestInstance`, `OldestLaunchConfiguration`, `ClosestToNextInstanceHour`, `OldestLaunchTemplate`, `AllocationStrategy`, `Default`. TerminationPolicies pulumi.StringArrayOutput `pulumi:"terminationPolicies"` // A list of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with `availabilityZones`. VpcZoneIdentifiers pulumi.StringArrayOutput `pulumi:"vpcZoneIdentifiers"` // A maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should // wait for ASG instances to be healthy before timing out. (See also Waiting // for Capacity below.) Setting this to "0" causes // this provider to skip all Capacity Waiting behavior. WaitForCapacityTimeout pulumi.StringPtrOutput `pulumi:"waitForCapacityTimeout"` // Setting this will cause the provider to wait // for exactly this number of healthy instances from this Auto Scaling Group in // all attached load balancers on both create and update operations. (Takes // precedence over `minElbCapacity` behavior.) // (See also Waiting for Capacity below.) WaitForElbCapacity pulumi.IntPtrOutput `pulumi:"waitForElbCapacity"` // If this block is configured, add a [Warm Pool](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) // to the specified Auto Scaling group. Defined below WarmPool GroupWarmPoolPtrOutput `pulumi:"warmPool"` }
Provides an Auto Scaling Group resource.
> **Note:** You must specify either `launchConfiguration`, `launchTemplate`, or `mixedInstancesPolicy`.
> **NOTE on Auto Scaling Groups and ASG Attachments:** This provider currently provides both a standalone `autoscaling.Attachment` resource (describing an ASG attached to an ELB or ALB), and an `autoscaling.Group` with `loadBalancers` and `targetGroupArns` defined in-line. These two methods are not mutually-exclusive. If `autoscaling.Attachment` resources are used, either alone or with inline `loadBalancers` or `targetGroupArns`, the `autoscaling.Group` resource must be configured to ignore changes to the `loadBalancers` and `targetGroupArns` arguments.
## Example Usage ### With Latest Version Of Launch Template
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foobar, err := ec2.NewLaunchTemplate(ctx, "foobar", &ec2.LaunchTemplateArgs{ NamePrefix: pulumi.String("foobar"), ImageId: pulumi.String("ami-1a2b3c"), InstanceType: pulumi.String("t2.micro"), }) if err != nil { return err } _, err = autoscaling.NewGroup(ctx, "bar", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, DesiredCapacity: pulumi.Int(1), MaxSize: pulumi.Int(1), MinSize: pulumi.Int(1), LaunchTemplate: &autoscaling.GroupLaunchTemplateArgs{ Id: foobar.ID(), Version: pulumi.String(fmt.Sprintf("%v%v", "$", "Latest")), }, }) if err != nil { return err } return nil }) }
``` ### Mixed Instances Policy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleLaunchTemplate, err := ec2.NewLaunchTemplate(ctx, "exampleLaunchTemplate", &ec2.LaunchTemplateArgs{ NamePrefix: pulumi.String("example"), ImageId: pulumi.Any(data.Aws_ami.Example.Id), InstanceType: pulumi.String("c5.large"), }) if err != nil { return err } _, err = autoscaling.NewGroup(ctx, "exampleGroup", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, DesiredCapacity: pulumi.Int(1), MaxSize: pulumi.Int(1), MinSize: pulumi.Int(1), MixedInstancesPolicy: &autoscaling.GroupMixedInstancesPolicyArgs{ LaunchTemplate: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateArgs{ LaunchTemplateSpecification: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs{ LaunchTemplateId: exampleLaunchTemplate.ID(), }, Overrides: autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArray{ &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{ InstanceType: pulumi.String("c4.large"), WeightedCapacity: pulumi.String("3"), }, &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{ InstanceType: pulumi.String("c3.large"), WeightedCapacity: pulumi.String("2"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Mixed Instances Policy with Spot Instances and Capacity Rebalance
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleLaunchTemplate, err := ec2.NewLaunchTemplate(ctx, "exampleLaunchTemplate", &ec2.LaunchTemplateArgs{ NamePrefix: pulumi.String("example"), ImageId: pulumi.Any(data.Aws_ami.Example.Id), InstanceType: pulumi.String("c5.large"), }) if err != nil { return err } _, err = autoscaling.NewGroup(ctx, "exampleGroup", &autoscaling.GroupArgs{ CapacityRebalance: pulumi.Bool(true), DesiredCapacity: pulumi.Int(12), MaxSize: pulumi.Int(15), MinSize: pulumi.Int(12), VpcZoneIdentifiers: pulumi.StringArray{ pulumi.Any(aws_subnet.Example1.Id), pulumi.Any(aws_subnet.Example2.Id), }, MixedInstancesPolicy: &autoscaling.GroupMixedInstancesPolicyArgs{ InstancesDistribution: &autoscaling.GroupMixedInstancesPolicyInstancesDistributionArgs{ OnDemandBaseCapacity: pulumi.Int(0), OnDemandPercentageAboveBaseCapacity: pulumi.Int(25), SpotAllocationStrategy: pulumi.String("capacity-optimized"), }, LaunchTemplate: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateArgs{ LaunchTemplateSpecification: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs{ LaunchTemplateId: exampleLaunchTemplate.ID(), }, Overrides: autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArray{ &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{ InstanceType: pulumi.String("c4.large"), WeightedCapacity: pulumi.String("3"), }, &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{ InstanceType: pulumi.String("c3.large"), WeightedCapacity: pulumi.String("2"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Mixed Instances Policy with Instance level LaunchTemplateSpecification Overrides
When using a diverse instance set, some instance types might require a launch template with configuration values unique to that instance type such as a different AMI (Graviton2), architecture specific user data script, different EBS configuration, or different networking configuration.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleLaunchTemplate, err := ec2.NewLaunchTemplate(ctx, "exampleLaunchTemplate", &ec2.LaunchTemplateArgs{ NamePrefix: pulumi.String("example"), ImageId: pulumi.Any(data.Aws_ami.Example.Id), InstanceType: pulumi.String("c5.large"), }) if err != nil { return err } example2, err := ec2.NewLaunchTemplate(ctx, "example2", &ec2.LaunchTemplateArgs{ NamePrefix: pulumi.String("example2"), ImageId: pulumi.Any(data.Aws_ami.Example2.Id), }) if err != nil { return err } _, err = autoscaling.NewGroup(ctx, "exampleGroup", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, DesiredCapacity: pulumi.Int(1), MaxSize: pulumi.Int(1), MinSize: pulumi.Int(1), MixedInstancesPolicy: &autoscaling.GroupMixedInstancesPolicyArgs{ LaunchTemplate: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateArgs{ LaunchTemplateSpecification: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs{ LaunchTemplateId: exampleLaunchTemplate.ID(), }, Overrides: autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArray{ &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{ InstanceType: pulumi.String("c4.large"), WeightedCapacity: pulumi.String("3"), }, &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{ InstanceType: pulumi.String("c6g.large"), LaunchTemplateSpecification: &autoscaling.GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs{ LaunchTemplateId: example2.ID(), }, WeightedCapacity: pulumi.String("2"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Automatically refresh all instances after the group is updated
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := true exampleAmi, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{ MostRecent: &opt0, Owners: []string{ "amazon", }, Filters: []ec2.GetAmiFilter{ ec2.GetAmiFilter{ Name: "name", Values: []string{ "amzn-ami-hvm-*-x86_64-gp2", }, }, }, }, nil) if err != nil { return err } exampleLaunchTemplate, err := ec2.NewLaunchTemplate(ctx, "exampleLaunchTemplate", &ec2.LaunchTemplateArgs{ ImageId: pulumi.String(exampleAmi.Id), InstanceType: pulumi.String("t3.nano"), }) if err != nil { return err } _, err = autoscaling.NewGroup(ctx, "exampleGroup", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, DesiredCapacity: pulumi.Int(1), MaxSize: pulumi.Int(2), MinSize: pulumi.Int(1), LaunchTemplate: &autoscaling.GroupLaunchTemplateArgs{ Id: exampleLaunchTemplate.ID(), Version: exampleLaunchTemplate.LatestVersion, }, Tags: autoscaling.GroupTagArray{ &autoscaling.GroupTagArgs{ Key: pulumi.String("Key"), Value: pulumi.String("Value"), PropagateAtLaunch: pulumi.Bool(true), }, }, InstanceRefresh: &autoscaling.GroupInstanceRefreshArgs{ Strategy: pulumi.String("Rolling"), Preferences: &autoscaling.GroupInstanceRefreshPreferencesArgs{ MinHealthyPercentage: pulumi.Int(50), }, Triggers: pulumi.StringArray{ pulumi.String("tag"), }, }, }) if err != nil { return err } return nil }) }
``` ### Auto Scaling group with Warm Pool
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2.NewLaunchTemplate(ctx, "exampleLaunchTemplate", &ec2.LaunchTemplateArgs{ NamePrefix: pulumi.String("example"), ImageId: pulumi.Any(data.Aws_ami.Example.Id), InstanceType: pulumi.String("c5.large"), }) if err != nil { return err } _, err = autoscaling.NewGroup(ctx, "exampleGroup", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, DesiredCapacity: pulumi.Int(1), MaxSize: pulumi.Int(5), MinSize: pulumi.Int(1), WarmPool: &autoscaling.GroupWarmPoolArgs{ PoolState: pulumi.String("Stopped"), MinSize: pulumi.Int(1), MaxGroupPreparedCapacity: pulumi.Int(10), }, }) if err != nil { return err } return nil }) }
``` ## Waiting for Capacity
A newly-created ASG is initially empty and begins to scale to `minSize` (or `desiredCapacity`, if specified) by launching instances using the provided Launch Configuration. These instances take time to launch and boot.
On ASG Update, changes to these values also take time to result in the target number of instances providing service.
This provider provides two mechanisms to help consistently manage ASG scale up time across dependent resources.
#### Waiting for ASG Capacity
The first is default behavior. This provider waits after ASG creation for `minSize` (or `desiredCapacity`, if specified) healthy instances to show up in the ASG before continuing.
If `minSize` or `desiredCapacity` are changed in a subsequent update, this provider will also wait for the correct number of healthy instances before continuing.
This provider considers an instance "healthy" when the ASG reports `HealthStatus: "Healthy"` and `LifecycleState: "InService"`. See the [AWS AutoScaling Docs](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html) for more information on an ASG's lifecycle.
This provider will wait for healthy instances for up to `waitForCapacityTimeout`. If ASG creation is taking more than a few minutes, it's worth investigating for scaling activity errors, which can be caused by problems with the selected Launch Configuration.
Setting `waitForCapacityTimeout` to `"0"` disables ASG Capacity waiting.
#### Waiting for ELB Capacity
The second mechanism is optional, and affects ASGs with attached ELBs specified via the `loadBalancers` attribute or with ALBs specified with `targetGroupArns`.
The `minElbCapacity` parameter causes this provider to wait for at least the requested number of instances to show up `"InService"` in all attached ELBs during ASG creation. It has no effect on ASG updates.
If `waitForElbCapacity` is set, this provider will wait for exactly that number of Instances to be `"InService"` in all attached ELBs on both creation and updates.
These parameters can be used to ensure that service is being provided before the provider moves on. If new instances don't pass the ELB's health checks for any reason, the apply will time out, and the ASG will be marked as tainted (i.e., marked to be destroyed in a follow up run).
As with ASG Capacity, this provider will wait for up to `waitForCapacityTimeout` for the proper number of instances to be healthy.
#### Troubleshooting Capacity Waiting Timeouts
If ASG creation takes more than a few minutes, this could indicate one of a number of configuration problems. See the [AWS Docs on Load Balancer Troubleshooting](https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-troubleshooting.html) for more information.
## Import
Auto Scaling Groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:autoscaling/group:Group web web-asg
```
func GetGroup ¶
func GetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)
GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGroup ¶
func NewGroup(ctx *pulumi.Context, name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)
NewGroup registers a new resource with the given unique name, arguments, and options.
func (*Group) ElementType ¶
func (*Group) ToGroupOutput ¶
func (i *Group) ToGroupOutput() GroupOutput
func (*Group) ToGroupOutputWithContext ¶
func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupArgs ¶
type GroupArgs struct { // A list of one or more availability zones for the group. Used for EC2-Classic, attaching a network interface via id from a launch template and default subnets when not specified with `vpcZoneIdentifier` argument. Conflicts with `vpcZoneIdentifier`. AvailabilityZones pulumi.StringArrayInput // Indicates whether capacity rebalance is enabled. Otherwise, capacity rebalance is disabled. CapacityRebalance pulumi.BoolPtrInput // The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. DefaultCooldown pulumi.IntPtrInput // The number of Amazon EC2 instances that // should be running in the group. (See also Waiting for // Capacity below.) DesiredCapacity pulumi.IntPtrInput // A list of metrics to collect. The allowed values are defined by the [underlying AWS API](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html). EnabledMetrics pulumi.StringArrayInput // Allows deleting the Auto Scaling Group without waiting // for all instances in the pool to terminate. You can force an Auto Scaling Group to delete // even if it's in the process of scaling a resource. Normally, this provider // drains all the instances before deleting the group. This bypasses that // behavior and potentially leaves resources dangling. ForceDelete pulumi.BoolPtrInput ForceDeleteWarmPool pulumi.BoolPtrInput // Time (in seconds) after instance comes into service before checking health. HealthCheckGracePeriod pulumi.IntPtrInput // "EC2" or "ELB". Controls how health checking is done. HealthCheckType pulumi.StringPtrInput // One or more // [Lifecycle Hooks](http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) // to attach to the Auto Scaling Group **before** instances are launched. The // syntax is exactly the same as the separate // `autoscaling.LifecycleHook` // resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating // a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource. InitialLifecycleHooks GroupInitialLifecycleHookArrayInput // If this block is configured, start an // [Instance Refresh](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) // when this Auto Scaling Group is updated. Defined below. InstanceRefresh GroupInstanceRefreshPtrInput // The name of the launch configuration to use. LaunchConfiguration pulumi.Input // Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below. LaunchTemplate GroupLaunchTemplatePtrInput // A list of elastic load balancer names to add to the autoscaling // group names. Only valid for classic load balancers. For ALBs, use `targetGroupArns` instead. LoadBalancers pulumi.StringArrayInput // The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds. MaxInstanceLifetime pulumi.IntPtrInput // The maximum size of the Auto Scaling Group. MaxSize pulumi.IntInput // The granularity to associate with the metrics to collect. The only valid value is `1Minute`. Default is `1Minute`. MetricsGranularity pulumi.StringPtrInput // Setting this causes the provider to wait for // this number of instances from this Auto Scaling Group to show up healthy in the // ELB only on creation. Updates will not wait on ELB instance number changes. // (See also Waiting for Capacity below.) MinElbCapacity pulumi.IntPtrInput // Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified. MinSize pulumi.IntInput // Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details. MixedInstancesPolicy GroupMixedInstancesPolicyPtrInput // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified // prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // The name of the placement group into which you'll launch your instances, if any. PlacementGroup pulumi.Input // Allows setting instance protection. The // Auto Scaling Group will not select instances with this setting for termination // during scale in events. ProtectFromScaleIn pulumi.BoolPtrInput // The ARN of the service-linked role that the ASG will use to call other AWS services ServiceLinkedRoleArn pulumi.StringPtrInput // A list of processes to suspend for the Auto Scaling Group. The allowed values are `Launch`, `Terminate`, `HealthCheck`, `ReplaceUnhealthy`, `AZRebalance`, `AlarmNotification`, `ScheduledActions`, `AddToLoadBalancer`. // Note that if you suspend either the `Launch` or `Terminate` process types, it can prevent your Auto Scaling Group from functioning properly. SuspendedProcesses pulumi.StringArrayInput // Configuration block(s) containing resource tags. Conflicts with `tagsCollection`. Documented below. Tags GroupTagArrayInput // Set of maps containing resource tags. Conflicts with `tag`. Documented below. TagsCollection pulumi.StringMapArrayInput // A set of `alb.TargetGroup` ARNs, for use with Application or Network Load Balancing. TargetGroupArns pulumi.StringArrayInput // A list of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are `OldestInstance`, `NewestInstance`, `OldestLaunchConfiguration`, `ClosestToNextInstanceHour`, `OldestLaunchTemplate`, `AllocationStrategy`, `Default`. TerminationPolicies pulumi.StringArrayInput // A list of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with `availabilityZones`. VpcZoneIdentifiers pulumi.StringArrayInput // A maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should // wait for ASG instances to be healthy before timing out. (See also Waiting // for Capacity below.) Setting this to "0" causes // this provider to skip all Capacity Waiting behavior. WaitForCapacityTimeout pulumi.StringPtrInput // Setting this will cause the provider to wait // for exactly this number of healthy instances from this Auto Scaling Group in // all attached load balancers on both create and update operations. (Takes // precedence over `minElbCapacity` behavior.) // (See also Waiting for Capacity below.) WaitForElbCapacity pulumi.IntPtrInput // If this block is configured, add a [Warm Pool](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) // to the specified Auto Scaling group. Defined below WarmPool GroupWarmPoolPtrInput }
The set of arguments for constructing a Group resource.
func (GroupArgs) ElementType ¶
type GroupArray ¶
type GroupArray []GroupInput
func (GroupArray) ElementType ¶
func (GroupArray) ElementType() reflect.Type
func (GroupArray) ToGroupArrayOutput ¶
func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput
func (GroupArray) ToGroupArrayOutputWithContext ¶
func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupArrayInput ¶
type GroupArrayInput interface { pulumi.Input ToGroupArrayOutput() GroupArrayOutput ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput }
GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:
GroupArray{ GroupArgs{...} }
type GroupArrayOutput ¶
type GroupArrayOutput struct{ *pulumi.OutputState }
func (GroupArrayOutput) ElementType ¶
func (GroupArrayOutput) ElementType() reflect.Type
func (GroupArrayOutput) Index ¶
func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput
func (GroupArrayOutput) ToGroupArrayOutput ¶
func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput
func (GroupArrayOutput) ToGroupArrayOutputWithContext ¶
func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupInitialLifecycleHook ¶
type GroupInitialLifecycleHook struct { DefaultResult *string `pulumi:"defaultResult"` HeartbeatTimeout *int `pulumi:"heartbeatTimeout"` LifecycleTransition string `pulumi:"lifecycleTransition"` // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name string `pulumi:"name"` NotificationMetadata *string `pulumi:"notificationMetadata"` NotificationTargetArn *string `pulumi:"notificationTargetArn"` RoleArn *string `pulumi:"roleArn"` }
type GroupInitialLifecycleHookArgs ¶
type GroupInitialLifecycleHookArgs struct { DefaultResult pulumi.StringPtrInput `pulumi:"defaultResult"` HeartbeatTimeout pulumi.IntPtrInput `pulumi:"heartbeatTimeout"` LifecycleTransition pulumi.StringInput `pulumi:"lifecycleTransition"` // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name pulumi.StringInput `pulumi:"name"` NotificationMetadata pulumi.StringPtrInput `pulumi:"notificationMetadata"` NotificationTargetArn pulumi.StringPtrInput `pulumi:"notificationTargetArn"` RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` }
func (GroupInitialLifecycleHookArgs) ElementType ¶
func (GroupInitialLifecycleHookArgs) ElementType() reflect.Type
func (GroupInitialLifecycleHookArgs) ToGroupInitialLifecycleHookOutput ¶
func (i GroupInitialLifecycleHookArgs) ToGroupInitialLifecycleHookOutput() GroupInitialLifecycleHookOutput
func (GroupInitialLifecycleHookArgs) ToGroupInitialLifecycleHookOutputWithContext ¶
func (i GroupInitialLifecycleHookArgs) ToGroupInitialLifecycleHookOutputWithContext(ctx context.Context) GroupInitialLifecycleHookOutput
type GroupInitialLifecycleHookArray ¶
type GroupInitialLifecycleHookArray []GroupInitialLifecycleHookInput
func (GroupInitialLifecycleHookArray) ElementType ¶
func (GroupInitialLifecycleHookArray) ElementType() reflect.Type
func (GroupInitialLifecycleHookArray) ToGroupInitialLifecycleHookArrayOutput ¶
func (i GroupInitialLifecycleHookArray) ToGroupInitialLifecycleHookArrayOutput() GroupInitialLifecycleHookArrayOutput
func (GroupInitialLifecycleHookArray) ToGroupInitialLifecycleHookArrayOutputWithContext ¶
func (i GroupInitialLifecycleHookArray) ToGroupInitialLifecycleHookArrayOutputWithContext(ctx context.Context) GroupInitialLifecycleHookArrayOutput
type GroupInitialLifecycleHookArrayInput ¶
type GroupInitialLifecycleHookArrayInput interface { pulumi.Input ToGroupInitialLifecycleHookArrayOutput() GroupInitialLifecycleHookArrayOutput ToGroupInitialLifecycleHookArrayOutputWithContext(context.Context) GroupInitialLifecycleHookArrayOutput }
GroupInitialLifecycleHookArrayInput is an input type that accepts GroupInitialLifecycleHookArray and GroupInitialLifecycleHookArrayOutput values. You can construct a concrete instance of `GroupInitialLifecycleHookArrayInput` via:
GroupInitialLifecycleHookArray{ GroupInitialLifecycleHookArgs{...} }
type GroupInitialLifecycleHookArrayOutput ¶
type GroupInitialLifecycleHookArrayOutput struct{ *pulumi.OutputState }
func (GroupInitialLifecycleHookArrayOutput) ElementType ¶
func (GroupInitialLifecycleHookArrayOutput) ElementType() reflect.Type
func (GroupInitialLifecycleHookArrayOutput) Index ¶
func (o GroupInitialLifecycleHookArrayOutput) Index(i pulumi.IntInput) GroupInitialLifecycleHookOutput
func (GroupInitialLifecycleHookArrayOutput) ToGroupInitialLifecycleHookArrayOutput ¶
func (o GroupInitialLifecycleHookArrayOutput) ToGroupInitialLifecycleHookArrayOutput() GroupInitialLifecycleHookArrayOutput
func (GroupInitialLifecycleHookArrayOutput) ToGroupInitialLifecycleHookArrayOutputWithContext ¶
func (o GroupInitialLifecycleHookArrayOutput) ToGroupInitialLifecycleHookArrayOutputWithContext(ctx context.Context) GroupInitialLifecycleHookArrayOutput
type GroupInitialLifecycleHookInput ¶
type GroupInitialLifecycleHookInput interface { pulumi.Input ToGroupInitialLifecycleHookOutput() GroupInitialLifecycleHookOutput ToGroupInitialLifecycleHookOutputWithContext(context.Context) GroupInitialLifecycleHookOutput }
GroupInitialLifecycleHookInput is an input type that accepts GroupInitialLifecycleHookArgs and GroupInitialLifecycleHookOutput values. You can construct a concrete instance of `GroupInitialLifecycleHookInput` via:
GroupInitialLifecycleHookArgs{...}
type GroupInitialLifecycleHookOutput ¶
type GroupInitialLifecycleHookOutput struct{ *pulumi.OutputState }
func (GroupInitialLifecycleHookOutput) DefaultResult ¶
func (o GroupInitialLifecycleHookOutput) DefaultResult() pulumi.StringPtrOutput
func (GroupInitialLifecycleHookOutput) ElementType ¶
func (GroupInitialLifecycleHookOutput) ElementType() reflect.Type
func (GroupInitialLifecycleHookOutput) HeartbeatTimeout ¶
func (o GroupInitialLifecycleHookOutput) HeartbeatTimeout() pulumi.IntPtrOutput
func (GroupInitialLifecycleHookOutput) LifecycleTransition ¶
func (o GroupInitialLifecycleHookOutput) LifecycleTransition() pulumi.StringOutput
func (GroupInitialLifecycleHookOutput) Name ¶
func (o GroupInitialLifecycleHookOutput) Name() pulumi.StringOutput
The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`.
func (GroupInitialLifecycleHookOutput) NotificationMetadata ¶
func (o GroupInitialLifecycleHookOutput) NotificationMetadata() pulumi.StringPtrOutput
func (GroupInitialLifecycleHookOutput) NotificationTargetArn ¶
func (o GroupInitialLifecycleHookOutput) NotificationTargetArn() pulumi.StringPtrOutput
func (GroupInitialLifecycleHookOutput) RoleArn ¶
func (o GroupInitialLifecycleHookOutput) RoleArn() pulumi.StringPtrOutput
func (GroupInitialLifecycleHookOutput) ToGroupInitialLifecycleHookOutput ¶
func (o GroupInitialLifecycleHookOutput) ToGroupInitialLifecycleHookOutput() GroupInitialLifecycleHookOutput
func (GroupInitialLifecycleHookOutput) ToGroupInitialLifecycleHookOutputWithContext ¶
func (o GroupInitialLifecycleHookOutput) ToGroupInitialLifecycleHookOutputWithContext(ctx context.Context) GroupInitialLifecycleHookOutput
type GroupInput ¶
type GroupInput interface { pulumi.Input ToGroupOutput() GroupOutput ToGroupOutputWithContext(ctx context.Context) GroupOutput }
type GroupInstanceRefresh ¶
type GroupInstanceRefresh struct { // Override default parameters for Instance Refresh. Preferences *GroupInstanceRefreshPreferences `pulumi:"preferences"` // The strategy to use for instance refresh. The only allowed value is `Rolling`. See [StartInstanceRefresh Action](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_StartInstanceRefresh.html#API_StartInstanceRefresh_RequestParameters) for more information. Strategy string `pulumi:"strategy"` // Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launchConfiguration`, `launchTemplate`, or `mixedInstancesPolicy`. Triggers []string `pulumi:"triggers"` }
type GroupInstanceRefreshArgs ¶
type GroupInstanceRefreshArgs struct { // Override default parameters for Instance Refresh. Preferences GroupInstanceRefreshPreferencesPtrInput `pulumi:"preferences"` // The strategy to use for instance refresh. The only allowed value is `Rolling`. See [StartInstanceRefresh Action](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_StartInstanceRefresh.html#API_StartInstanceRefresh_RequestParameters) for more information. Strategy pulumi.StringInput `pulumi:"strategy"` // Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launchConfiguration`, `launchTemplate`, or `mixedInstancesPolicy`. Triggers pulumi.StringArrayInput `pulumi:"triggers"` }
func (GroupInstanceRefreshArgs) ElementType ¶
func (GroupInstanceRefreshArgs) ElementType() reflect.Type
func (GroupInstanceRefreshArgs) ToGroupInstanceRefreshOutput ¶
func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshOutput() GroupInstanceRefreshOutput
func (GroupInstanceRefreshArgs) ToGroupInstanceRefreshOutputWithContext ¶
func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshOutputWithContext(ctx context.Context) GroupInstanceRefreshOutput
func (GroupInstanceRefreshArgs) ToGroupInstanceRefreshPtrOutput ¶
func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput
func (GroupInstanceRefreshArgs) ToGroupInstanceRefreshPtrOutputWithContext ¶
func (i GroupInstanceRefreshArgs) ToGroupInstanceRefreshPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPtrOutput
type GroupInstanceRefreshInput ¶
type GroupInstanceRefreshInput interface { pulumi.Input ToGroupInstanceRefreshOutput() GroupInstanceRefreshOutput ToGroupInstanceRefreshOutputWithContext(context.Context) GroupInstanceRefreshOutput }
GroupInstanceRefreshInput is an input type that accepts GroupInstanceRefreshArgs and GroupInstanceRefreshOutput values. You can construct a concrete instance of `GroupInstanceRefreshInput` via:
GroupInstanceRefreshArgs{...}
type GroupInstanceRefreshOutput ¶
type GroupInstanceRefreshOutput struct{ *pulumi.OutputState }
func (GroupInstanceRefreshOutput) ElementType ¶
func (GroupInstanceRefreshOutput) ElementType() reflect.Type
func (GroupInstanceRefreshOutput) Preferences ¶
func (o GroupInstanceRefreshOutput) Preferences() GroupInstanceRefreshPreferencesPtrOutput
Override default parameters for Instance Refresh.
func (GroupInstanceRefreshOutput) Strategy ¶
func (o GroupInstanceRefreshOutput) Strategy() pulumi.StringOutput
The strategy to use for instance refresh. The only allowed value is `Rolling`. See [StartInstanceRefresh Action](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_StartInstanceRefresh.html#API_StartInstanceRefresh_RequestParameters) for more information.
func (GroupInstanceRefreshOutput) ToGroupInstanceRefreshOutput ¶
func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshOutput() GroupInstanceRefreshOutput
func (GroupInstanceRefreshOutput) ToGroupInstanceRefreshOutputWithContext ¶
func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshOutputWithContext(ctx context.Context) GroupInstanceRefreshOutput
func (GroupInstanceRefreshOutput) ToGroupInstanceRefreshPtrOutput ¶
func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput
func (GroupInstanceRefreshOutput) ToGroupInstanceRefreshPtrOutputWithContext ¶
func (o GroupInstanceRefreshOutput) ToGroupInstanceRefreshPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPtrOutput
func (GroupInstanceRefreshOutput) Triggers ¶
func (o GroupInstanceRefreshOutput) Triggers() pulumi.StringArrayOutput
Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launchConfiguration`, `launchTemplate`, or `mixedInstancesPolicy`.
type GroupInstanceRefreshPreferences ¶
type GroupInstanceRefreshPreferences struct { // The number of seconds to wait after a checkpoint. Defaults to `3600`. CheckpointDelay *string `pulumi:"checkpointDelay"` // List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be `100`. CheckpointPercentages []int `pulumi:"checkpointPercentages"` // The number of seconds until a newly launched instance is configured and ready to use. Default behavior is to use the Auto Scaling Group's health check grace period. InstanceWarmup *string `pulumi:"instanceWarmup"` // The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group. Defaults to `90`. MinHealthyPercentage *int `pulumi:"minHealthyPercentage"` }
type GroupInstanceRefreshPreferencesArgs ¶
type GroupInstanceRefreshPreferencesArgs struct { // The number of seconds to wait after a checkpoint. Defaults to `3600`. CheckpointDelay pulumi.StringPtrInput `pulumi:"checkpointDelay"` // List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be `100`. CheckpointPercentages pulumi.IntArrayInput `pulumi:"checkpointPercentages"` // The number of seconds until a newly launched instance is configured and ready to use. Default behavior is to use the Auto Scaling Group's health check grace period. InstanceWarmup pulumi.StringPtrInput `pulumi:"instanceWarmup"` // The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group. Defaults to `90`. MinHealthyPercentage pulumi.IntPtrInput `pulumi:"minHealthyPercentage"` }
func (GroupInstanceRefreshPreferencesArgs) ElementType ¶
func (GroupInstanceRefreshPreferencesArgs) ElementType() reflect.Type
func (GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesOutput ¶
func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesOutput() GroupInstanceRefreshPreferencesOutput
func (GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesOutputWithContext ¶
func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesOutput
func (GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesPtrOutput ¶
func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput
func (GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesPtrOutputWithContext ¶
func (i GroupInstanceRefreshPreferencesArgs) ToGroupInstanceRefreshPreferencesPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesPtrOutput
type GroupInstanceRefreshPreferencesInput ¶
type GroupInstanceRefreshPreferencesInput interface { pulumi.Input ToGroupInstanceRefreshPreferencesOutput() GroupInstanceRefreshPreferencesOutput ToGroupInstanceRefreshPreferencesOutputWithContext(context.Context) GroupInstanceRefreshPreferencesOutput }
GroupInstanceRefreshPreferencesInput is an input type that accepts GroupInstanceRefreshPreferencesArgs and GroupInstanceRefreshPreferencesOutput values. You can construct a concrete instance of `GroupInstanceRefreshPreferencesInput` via:
GroupInstanceRefreshPreferencesArgs{...}
type GroupInstanceRefreshPreferencesOutput ¶
type GroupInstanceRefreshPreferencesOutput struct{ *pulumi.OutputState }
func (GroupInstanceRefreshPreferencesOutput) CheckpointDelay ¶ added in v4.27.0
func (o GroupInstanceRefreshPreferencesOutput) CheckpointDelay() pulumi.StringPtrOutput
The number of seconds to wait after a checkpoint. Defaults to `3600`.
func (GroupInstanceRefreshPreferencesOutput) CheckpointPercentages ¶ added in v4.27.0
func (o GroupInstanceRefreshPreferencesOutput) CheckpointPercentages() pulumi.IntArrayOutput
List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be `100`.
func (GroupInstanceRefreshPreferencesOutput) ElementType ¶
func (GroupInstanceRefreshPreferencesOutput) ElementType() reflect.Type
func (GroupInstanceRefreshPreferencesOutput) InstanceWarmup ¶
func (o GroupInstanceRefreshPreferencesOutput) InstanceWarmup() pulumi.StringPtrOutput
The number of seconds until a newly launched instance is configured and ready to use. Default behavior is to use the Auto Scaling Group's health check grace period.
func (GroupInstanceRefreshPreferencesOutput) MinHealthyPercentage ¶
func (o GroupInstanceRefreshPreferencesOutput) MinHealthyPercentage() pulumi.IntPtrOutput
The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group. Defaults to `90`.
func (GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesOutput ¶
func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesOutput() GroupInstanceRefreshPreferencesOutput
func (GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesOutputWithContext ¶
func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesOutput
func (GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesPtrOutput ¶
func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput
func (GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesPtrOutputWithContext ¶
func (o GroupInstanceRefreshPreferencesOutput) ToGroupInstanceRefreshPreferencesPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesPtrOutput
type GroupInstanceRefreshPreferencesPtrInput ¶
type GroupInstanceRefreshPreferencesPtrInput interface { pulumi.Input ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput ToGroupInstanceRefreshPreferencesPtrOutputWithContext(context.Context) GroupInstanceRefreshPreferencesPtrOutput }
GroupInstanceRefreshPreferencesPtrInput is an input type that accepts GroupInstanceRefreshPreferencesArgs, GroupInstanceRefreshPreferencesPtr and GroupInstanceRefreshPreferencesPtrOutput values. You can construct a concrete instance of `GroupInstanceRefreshPreferencesPtrInput` via:
GroupInstanceRefreshPreferencesArgs{...} or: nil
func GroupInstanceRefreshPreferencesPtr ¶
func GroupInstanceRefreshPreferencesPtr(v *GroupInstanceRefreshPreferencesArgs) GroupInstanceRefreshPreferencesPtrInput
type GroupInstanceRefreshPreferencesPtrOutput ¶
type GroupInstanceRefreshPreferencesPtrOutput struct{ *pulumi.OutputState }
func (GroupInstanceRefreshPreferencesPtrOutput) CheckpointDelay ¶ added in v4.27.0
func (o GroupInstanceRefreshPreferencesPtrOutput) CheckpointDelay() pulumi.StringPtrOutput
The number of seconds to wait after a checkpoint. Defaults to `3600`.
func (GroupInstanceRefreshPreferencesPtrOutput) CheckpointPercentages ¶ added in v4.27.0
func (o GroupInstanceRefreshPreferencesPtrOutput) CheckpointPercentages() pulumi.IntArrayOutput
List of percentages for each checkpoint. Values must be unique and in ascending order. To replace all instances, the final number must be `100`.
func (GroupInstanceRefreshPreferencesPtrOutput) ElementType ¶
func (GroupInstanceRefreshPreferencesPtrOutput) ElementType() reflect.Type
func (GroupInstanceRefreshPreferencesPtrOutput) InstanceWarmup ¶
func (o GroupInstanceRefreshPreferencesPtrOutput) InstanceWarmup() pulumi.StringPtrOutput
The number of seconds until a newly launched instance is configured and ready to use. Default behavior is to use the Auto Scaling Group's health check grace period.
func (GroupInstanceRefreshPreferencesPtrOutput) MinHealthyPercentage ¶
func (o GroupInstanceRefreshPreferencesPtrOutput) MinHealthyPercentage() pulumi.IntPtrOutput
The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group. Defaults to `90`.
func (GroupInstanceRefreshPreferencesPtrOutput) ToGroupInstanceRefreshPreferencesPtrOutput ¶
func (o GroupInstanceRefreshPreferencesPtrOutput) ToGroupInstanceRefreshPreferencesPtrOutput() GroupInstanceRefreshPreferencesPtrOutput
func (GroupInstanceRefreshPreferencesPtrOutput) ToGroupInstanceRefreshPreferencesPtrOutputWithContext ¶
func (o GroupInstanceRefreshPreferencesPtrOutput) ToGroupInstanceRefreshPreferencesPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPreferencesPtrOutput
type GroupInstanceRefreshPtrInput ¶
type GroupInstanceRefreshPtrInput interface { pulumi.Input ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput ToGroupInstanceRefreshPtrOutputWithContext(context.Context) GroupInstanceRefreshPtrOutput }
GroupInstanceRefreshPtrInput is an input type that accepts GroupInstanceRefreshArgs, GroupInstanceRefreshPtr and GroupInstanceRefreshPtrOutput values. You can construct a concrete instance of `GroupInstanceRefreshPtrInput` via:
GroupInstanceRefreshArgs{...} or: nil
func GroupInstanceRefreshPtr ¶
func GroupInstanceRefreshPtr(v *GroupInstanceRefreshArgs) GroupInstanceRefreshPtrInput
type GroupInstanceRefreshPtrOutput ¶
type GroupInstanceRefreshPtrOutput struct{ *pulumi.OutputState }
func (GroupInstanceRefreshPtrOutput) Elem ¶
func (o GroupInstanceRefreshPtrOutput) Elem() GroupInstanceRefreshOutput
func (GroupInstanceRefreshPtrOutput) ElementType ¶
func (GroupInstanceRefreshPtrOutput) ElementType() reflect.Type
func (GroupInstanceRefreshPtrOutput) Preferences ¶
func (o GroupInstanceRefreshPtrOutput) Preferences() GroupInstanceRefreshPreferencesPtrOutput
Override default parameters for Instance Refresh.
func (GroupInstanceRefreshPtrOutput) Strategy ¶
func (o GroupInstanceRefreshPtrOutput) Strategy() pulumi.StringPtrOutput
The strategy to use for instance refresh. The only allowed value is `Rolling`. See [StartInstanceRefresh Action](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_StartInstanceRefresh.html#API_StartInstanceRefresh_RequestParameters) for more information.
func (GroupInstanceRefreshPtrOutput) ToGroupInstanceRefreshPtrOutput ¶
func (o GroupInstanceRefreshPtrOutput) ToGroupInstanceRefreshPtrOutput() GroupInstanceRefreshPtrOutput
func (GroupInstanceRefreshPtrOutput) ToGroupInstanceRefreshPtrOutputWithContext ¶
func (o GroupInstanceRefreshPtrOutput) ToGroupInstanceRefreshPtrOutputWithContext(ctx context.Context) GroupInstanceRefreshPtrOutput
func (GroupInstanceRefreshPtrOutput) Triggers ¶
func (o GroupInstanceRefreshPtrOutput) Triggers() pulumi.StringArrayOutput
Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launchConfiguration`, `launchTemplate`, or `mixedInstancesPolicy`.
type GroupLaunchTemplate ¶
type GroupLaunchTemplate struct { // The ID of the launch template. Conflicts with `name`. Id *string `pulumi:"id"` // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`). Version *string `pulumi:"version"` }
type GroupLaunchTemplateArgs ¶
type GroupLaunchTemplateArgs struct { // The ID of the launch template. Conflicts with `name`. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name pulumi.StringPtrInput `pulumi:"name"` // Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`). Version pulumi.StringPtrInput `pulumi:"version"` }
func (GroupLaunchTemplateArgs) ElementType ¶
func (GroupLaunchTemplateArgs) ElementType() reflect.Type
func (GroupLaunchTemplateArgs) ToGroupLaunchTemplateOutput ¶
func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplateOutput() GroupLaunchTemplateOutput
func (GroupLaunchTemplateArgs) ToGroupLaunchTemplateOutputWithContext ¶
func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplateOutputWithContext(ctx context.Context) GroupLaunchTemplateOutput
func (GroupLaunchTemplateArgs) ToGroupLaunchTemplatePtrOutput ¶
func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput
func (GroupLaunchTemplateArgs) ToGroupLaunchTemplatePtrOutputWithContext ¶
func (i GroupLaunchTemplateArgs) ToGroupLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupLaunchTemplatePtrOutput
type GroupLaunchTemplateInput ¶
type GroupLaunchTemplateInput interface { pulumi.Input ToGroupLaunchTemplateOutput() GroupLaunchTemplateOutput ToGroupLaunchTemplateOutputWithContext(context.Context) GroupLaunchTemplateOutput }
GroupLaunchTemplateInput is an input type that accepts GroupLaunchTemplateArgs and GroupLaunchTemplateOutput values. You can construct a concrete instance of `GroupLaunchTemplateInput` via:
GroupLaunchTemplateArgs{...}
type GroupLaunchTemplateOutput ¶
type GroupLaunchTemplateOutput struct{ *pulumi.OutputState }
func (GroupLaunchTemplateOutput) ElementType ¶
func (GroupLaunchTemplateOutput) ElementType() reflect.Type
func (GroupLaunchTemplateOutput) Id ¶
func (o GroupLaunchTemplateOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (GroupLaunchTemplateOutput) Name ¶
func (o GroupLaunchTemplateOutput) Name() pulumi.StringPtrOutput
The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`.
func (GroupLaunchTemplateOutput) ToGroupLaunchTemplateOutput ¶
func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplateOutput() GroupLaunchTemplateOutput
func (GroupLaunchTemplateOutput) ToGroupLaunchTemplateOutputWithContext ¶
func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplateOutputWithContext(ctx context.Context) GroupLaunchTemplateOutput
func (GroupLaunchTemplateOutput) ToGroupLaunchTemplatePtrOutput ¶
func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput
func (GroupLaunchTemplateOutput) ToGroupLaunchTemplatePtrOutputWithContext ¶
func (o GroupLaunchTemplateOutput) ToGroupLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupLaunchTemplatePtrOutput
func (GroupLaunchTemplateOutput) Version ¶
func (o GroupLaunchTemplateOutput) Version() pulumi.StringPtrOutput
Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`).
type GroupLaunchTemplatePtrInput ¶
type GroupLaunchTemplatePtrInput interface { pulumi.Input ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput ToGroupLaunchTemplatePtrOutputWithContext(context.Context) GroupLaunchTemplatePtrOutput }
GroupLaunchTemplatePtrInput is an input type that accepts GroupLaunchTemplateArgs, GroupLaunchTemplatePtr and GroupLaunchTemplatePtrOutput values. You can construct a concrete instance of `GroupLaunchTemplatePtrInput` via:
GroupLaunchTemplateArgs{...} or: nil
func GroupLaunchTemplatePtr ¶
func GroupLaunchTemplatePtr(v *GroupLaunchTemplateArgs) GroupLaunchTemplatePtrInput
type GroupLaunchTemplatePtrOutput ¶
type GroupLaunchTemplatePtrOutput struct{ *pulumi.OutputState }
func (GroupLaunchTemplatePtrOutput) Elem ¶
func (o GroupLaunchTemplatePtrOutput) Elem() GroupLaunchTemplateOutput
func (GroupLaunchTemplatePtrOutput) ElementType ¶
func (GroupLaunchTemplatePtrOutput) ElementType() reflect.Type
func (GroupLaunchTemplatePtrOutput) Id ¶
func (o GroupLaunchTemplatePtrOutput) Id() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `name`.
func (GroupLaunchTemplatePtrOutput) Name ¶
func (o GroupLaunchTemplatePtrOutput) Name() pulumi.StringPtrOutput
The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`.
func (GroupLaunchTemplatePtrOutput) ToGroupLaunchTemplatePtrOutput ¶
func (o GroupLaunchTemplatePtrOutput) ToGroupLaunchTemplatePtrOutput() GroupLaunchTemplatePtrOutput
func (GroupLaunchTemplatePtrOutput) ToGroupLaunchTemplatePtrOutputWithContext ¶
func (o GroupLaunchTemplatePtrOutput) ToGroupLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupLaunchTemplatePtrOutput
func (GroupLaunchTemplatePtrOutput) Version ¶
func (o GroupLaunchTemplatePtrOutput) Version() pulumi.StringPtrOutput
Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`).
type GroupMap ¶
type GroupMap map[string]GroupInput
func (GroupMap) ElementType ¶
func (GroupMap) ToGroupMapOutput ¶
func (i GroupMap) ToGroupMapOutput() GroupMapOutput
func (GroupMap) ToGroupMapOutputWithContext ¶
func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupMapInput ¶
type GroupMapInput interface { pulumi.Input ToGroupMapOutput() GroupMapOutput ToGroupMapOutputWithContext(context.Context) GroupMapOutput }
GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:
GroupMap{ "key": GroupArgs{...} }
type GroupMapOutput ¶
type GroupMapOutput struct{ *pulumi.OutputState }
func (GroupMapOutput) ElementType ¶
func (GroupMapOutput) ElementType() reflect.Type
func (GroupMapOutput) MapIndex ¶
func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput
func (GroupMapOutput) ToGroupMapOutput ¶
func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput
func (GroupMapOutput) ToGroupMapOutputWithContext ¶
func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupMixedInstancesPolicy ¶
type GroupMixedInstancesPolicy struct { // Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below. InstancesDistribution *GroupMixedInstancesPolicyInstancesDistribution `pulumi:"instancesDistribution"` // Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below. LaunchTemplate GroupMixedInstancesPolicyLaunchTemplate `pulumi:"launchTemplate"` }
type GroupMixedInstancesPolicyArgs ¶
type GroupMixedInstancesPolicyArgs struct { // Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below. InstancesDistribution GroupMixedInstancesPolicyInstancesDistributionPtrInput `pulumi:"instancesDistribution"` // Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below. LaunchTemplate GroupMixedInstancesPolicyLaunchTemplateInput `pulumi:"launchTemplate"` }
func (GroupMixedInstancesPolicyArgs) ElementType ¶
func (GroupMixedInstancesPolicyArgs) ElementType() reflect.Type
func (GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyOutput ¶
func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyOutput() GroupMixedInstancesPolicyOutput
func (GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyOutputWithContext ¶
func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyOutput
func (GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyPtrOutput ¶
func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput
func (GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyPtrOutputWithContext ¶
func (i GroupMixedInstancesPolicyArgs) ToGroupMixedInstancesPolicyPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyPtrOutput
type GroupMixedInstancesPolicyInput ¶
type GroupMixedInstancesPolicyInput interface { pulumi.Input ToGroupMixedInstancesPolicyOutput() GroupMixedInstancesPolicyOutput ToGroupMixedInstancesPolicyOutputWithContext(context.Context) GroupMixedInstancesPolicyOutput }
GroupMixedInstancesPolicyInput is an input type that accepts GroupMixedInstancesPolicyArgs and GroupMixedInstancesPolicyOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyInput` via:
GroupMixedInstancesPolicyArgs{...}
type GroupMixedInstancesPolicyInstancesDistribution ¶
type GroupMixedInstancesPolicyInstancesDistribution struct { // Strategy to use when launching on-demand instances. Valid values: `prioritized`. Default: `prioritized`. OnDemandAllocationStrategy *string `pulumi:"onDemandAllocationStrategy"` // Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`. OnDemandBaseCapacity *int `pulumi:"onDemandBaseCapacity"` // Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`. OnDemandPercentageAboveBaseCapacity *int `pulumi:"onDemandPercentageAboveBaseCapacity"` // How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`. Default: `lowest-price`. SpotAllocationStrategy *string `pulumi:"spotAllocationStrategy"` // Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`. SpotInstancePools *int `pulumi:"spotInstancePools"` // Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price. SpotMaxPrice *string `pulumi:"spotMaxPrice"` }
type GroupMixedInstancesPolicyInstancesDistributionArgs ¶
type GroupMixedInstancesPolicyInstancesDistributionArgs struct { // Strategy to use when launching on-demand instances. Valid values: `prioritized`. Default: `prioritized`. OnDemandAllocationStrategy pulumi.StringPtrInput `pulumi:"onDemandAllocationStrategy"` // Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`. OnDemandBaseCapacity pulumi.IntPtrInput `pulumi:"onDemandBaseCapacity"` // Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`. OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput `pulumi:"onDemandPercentageAboveBaseCapacity"` // How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`. Default: `lowest-price`. SpotAllocationStrategy pulumi.StringPtrInput `pulumi:"spotAllocationStrategy"` // Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`. SpotInstancePools pulumi.IntPtrInput `pulumi:"spotInstancePools"` // Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price. SpotMaxPrice pulumi.StringPtrInput `pulumi:"spotMaxPrice"` }
func (GroupMixedInstancesPolicyInstancesDistributionArgs) ElementType ¶
func (GroupMixedInstancesPolicyInstancesDistributionArgs) ElementType() reflect.Type
func (GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionOutput ¶
func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionOutput() GroupMixedInstancesPolicyInstancesDistributionOutput
func (GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext ¶
func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionOutput
func (GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput ¶
func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
func (GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext ¶
func (i GroupMixedInstancesPolicyInstancesDistributionArgs) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput
type GroupMixedInstancesPolicyInstancesDistributionInput ¶
type GroupMixedInstancesPolicyInstancesDistributionInput interface { pulumi.Input ToGroupMixedInstancesPolicyInstancesDistributionOutput() GroupMixedInstancesPolicyInstancesDistributionOutput ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext(context.Context) GroupMixedInstancesPolicyInstancesDistributionOutput }
GroupMixedInstancesPolicyInstancesDistributionInput is an input type that accepts GroupMixedInstancesPolicyInstancesDistributionArgs and GroupMixedInstancesPolicyInstancesDistributionOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyInstancesDistributionInput` via:
GroupMixedInstancesPolicyInstancesDistributionArgs{...}
type GroupMixedInstancesPolicyInstancesDistributionOutput ¶
type GroupMixedInstancesPolicyInstancesDistributionOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyInstancesDistributionOutput) ElementType ¶
func (GroupMixedInstancesPolicyInstancesDistributionOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandAllocationStrategy ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandAllocationStrategy() pulumi.StringPtrOutput
Strategy to use when launching on-demand instances. Valid values: `prioritized`. Default: `prioritized`.
func (GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandBaseCapacity ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput
Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`.
func (GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandPercentageAboveBaseCapacity ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput
Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`.
func (GroupMixedInstancesPolicyInstancesDistributionOutput) SpotAllocationStrategy ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotAllocationStrategy() pulumi.StringPtrOutput
How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`. Default: `lowest-price`.
func (GroupMixedInstancesPolicyInstancesDistributionOutput) SpotInstancePools ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotInstancePools() pulumi.IntPtrOutput
Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`.
func (GroupMixedInstancesPolicyInstancesDistributionOutput) SpotMaxPrice ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotMaxPrice() pulumi.StringPtrOutput
Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price.
func (GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionOutput ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionOutput() GroupMixedInstancesPolicyInstancesDistributionOutput
func (GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionOutput
func (GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
func (GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput
type GroupMixedInstancesPolicyInstancesDistributionPtrInput ¶
type GroupMixedInstancesPolicyInstancesDistributionPtrInput interface { pulumi.Input ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput }
GroupMixedInstancesPolicyInstancesDistributionPtrInput is an input type that accepts GroupMixedInstancesPolicyInstancesDistributionArgs, GroupMixedInstancesPolicyInstancesDistributionPtr and GroupMixedInstancesPolicyInstancesDistributionPtrOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyInstancesDistributionPtrInput` via:
GroupMixedInstancesPolicyInstancesDistributionArgs{...} or: nil
func GroupMixedInstancesPolicyInstancesDistributionPtr ¶
func GroupMixedInstancesPolicyInstancesDistributionPtr(v *GroupMixedInstancesPolicyInstancesDistributionArgs) GroupMixedInstancesPolicyInstancesDistributionPtrInput
type GroupMixedInstancesPolicyInstancesDistributionPtrOutput ¶
type GroupMixedInstancesPolicyInstancesDistributionPtrOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ElementType ¶
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandAllocationStrategy ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandAllocationStrategy() pulumi.StringPtrOutput
Strategy to use when launching on-demand instances. Valid values: `prioritized`. Default: `prioritized`.
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandBaseCapacity ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput
Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`.
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandPercentageAboveBaseCapacity ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput
Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`.
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotAllocationStrategy ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotAllocationStrategy() pulumi.StringPtrOutput
How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`. Default: `lowest-price`.
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotInstancePools ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotInstancePools() pulumi.IntPtrOutput
Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`.
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotMaxPrice ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotMaxPrice() pulumi.StringPtrOutput
Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price.
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutput() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
func (GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) ToGroupMixedInstancesPolicyInstancesDistributionPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyInstancesDistributionPtrOutput
type GroupMixedInstancesPolicyLaunchTemplate ¶
type GroupMixedInstancesPolicyLaunchTemplate struct { // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification `pulumi:"launchTemplateSpecification"` // List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below. Overrides []GroupMixedInstancesPolicyLaunchTemplateOverride `pulumi:"overrides"` }
type GroupMixedInstancesPolicyLaunchTemplateArgs ¶
type GroupMixedInstancesPolicyLaunchTemplateArgs struct { // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput `pulumi:"launchTemplateSpecification"` // List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below. Overrides GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput `pulumi:"overrides"` }
func (GroupMixedInstancesPolicyLaunchTemplateArgs) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateArgs) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplateOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplateOutput() GroupMixedInstancesPolicyLaunchTemplateOutput
func (GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOutput
func (GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateArgs) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput
type GroupMixedInstancesPolicyLaunchTemplateInput ¶
type GroupMixedInstancesPolicyLaunchTemplateInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateOutput() GroupMixedInstancesPolicyLaunchTemplateOutput ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateOutput }
GroupMixedInstancesPolicyLaunchTemplateInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateArgs and GroupMixedInstancesPolicyLaunchTemplateOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateInput` via:
GroupMixedInstancesPolicyLaunchTemplateArgs{...}
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification ¶
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification struct { // The ID of the launch template. Conflicts with `launchTemplateName`. LaunchTemplateId *string `pulumi:"launchTemplateId"` // The name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName *string `pulumi:"launchTemplateName"` // Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`). Version *string `pulumi:"version"` }
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs ¶
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs struct { // The ID of the launch template. Conflicts with `launchTemplateName`. LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` // The name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` // Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`). Version pulumi.StringPtrInput `pulumi:"version"` }
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput ¶
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput }
GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs and GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput` via:
GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs{...}
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateId ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `launchTemplateName`.
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateName ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `launchTemplateId`.
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) Version ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`).
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrInput ¶
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput }
GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs, GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtr and GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrInput` via:
GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs{...} or: nil
func GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtr ¶
func GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtr(v *GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrInput
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateId ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `launchTemplateName`.
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateName ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `launchTemplateId`.
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) Version ¶
func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`).
type GroupMixedInstancesPolicyLaunchTemplateOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOutput) LaunchTemplateSpecification ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput
Override the instance launch template specification in the Launch Template.
func (GroupMixedInstancesPolicyLaunchTemplateOutput) Overrides ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOutput) Overrides() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below.
func (GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplateOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplateOutput() GroupMixedInstancesPolicyLaunchTemplateOutput
func (GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplateOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOutput
func (GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput
type GroupMixedInstancesPolicyLaunchTemplateOverride ¶
type GroupMixedInstancesPolicyLaunchTemplateOverride struct { // Override the instance type in the Launch Template. InstanceType *string `pulumi:"instanceType"` // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification *GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification `pulumi:"launchTemplateSpecification"` // The number of capacity units, which gives the instance type a proportional weight to other instance types. WeightedCapacity *string `pulumi:"weightedCapacity"` }
type GroupMixedInstancesPolicyLaunchTemplateOverrideArgs ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideArgs struct { // Override the instance type in the Launch Template. InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput `pulumi:"launchTemplateSpecification"` // The number of capacity units, which gives the instance type a proportional weight to other instance types. WeightedCapacity pulumi.StringPtrInput `pulumi:"weightedCapacity"` }
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
type GroupMixedInstancesPolicyLaunchTemplateOverrideArray ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideArray []GroupMixedInstancesPolicyLaunchTemplateOverrideInput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideArray) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
type GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput }
GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateOverrideArray and GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput` via:
GroupMixedInstancesPolicyLaunchTemplateOverrideArray{ GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{...} }
type GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
type GroupMixedInstancesPolicyLaunchTemplateOverrideInput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideOutput ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideOutput }
GroupMixedInstancesPolicyLaunchTemplateOverrideInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateOverrideArgs and GroupMixedInstancesPolicyLaunchTemplateOverrideOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateOverrideInput` via:
GroupMixedInstancesPolicyLaunchTemplateOverrideArgs{...}
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification struct { // The ID of the launch template. Conflicts with `launchTemplateName`. LaunchTemplateId *string `pulumi:"launchTemplateId"` // The name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName *string `pulumi:"launchTemplateName"` // Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`). Version *string `pulumi:"version"` }
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs struct { // The ID of the launch template. Conflicts with `launchTemplateName`. LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` // The name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` // Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`). Version pulumi.StringPtrInput `pulumi:"version"` }
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext ¶
func (i GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationInput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput }
GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs and GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationInput` via:
GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs{...}
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateId ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `launchTemplateName`.
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateName ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `launchTemplateId`.
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) Version ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) Version() pulumi.StringPtrOutput
Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`).
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput }
GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs, GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtr and GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput` via:
GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs{...} or: nil
func GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtr ¶
func GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtr(v *GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateId ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput
The ID of the launch template. Conflicts with `launchTemplateName`.
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateName ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput
The name of the launch template. Conflicts with `launchTemplateId`.
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) Version ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) Version() pulumi.StringPtrOutput
Template version. Can be version number, `$Latest`, or `$Default`. (Default: `$Default`).
type GroupMixedInstancesPolicyLaunchTemplateOverrideOutput ¶
type GroupMixedInstancesPolicyLaunchTemplateOverrideOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) InstanceType ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) InstanceType() pulumi.StringPtrOutput
Override the instance type in the Launch Template.
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) LaunchTemplateSpecification ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput
Override the instance launch template specification in the Launch Template.
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutput() GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInstancesPolicyLaunchTemplateOverrideOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplateOverrideOutput
func (GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) WeightedCapacity ¶
func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) WeightedCapacity() pulumi.StringPtrOutput
The number of capacity units, which gives the instance type a proportional weight to other instance types.
type GroupMixedInstancesPolicyLaunchTemplatePtrInput ¶
type GroupMixedInstancesPolicyLaunchTemplatePtrInput interface { pulumi.Input ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput }
GroupMixedInstancesPolicyLaunchTemplatePtrInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateArgs, GroupMixedInstancesPolicyLaunchTemplatePtr and GroupMixedInstancesPolicyLaunchTemplatePtrOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyLaunchTemplatePtrInput` via:
GroupMixedInstancesPolicyLaunchTemplateArgs{...} or: nil
func GroupMixedInstancesPolicyLaunchTemplatePtr ¶
func GroupMixedInstancesPolicyLaunchTemplatePtr(v *GroupMixedInstancesPolicyLaunchTemplateArgs) GroupMixedInstancesPolicyLaunchTemplatePtrInput
type GroupMixedInstancesPolicyLaunchTemplatePtrOutput ¶
type GroupMixedInstancesPolicyLaunchTemplatePtrOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ElementType ¶
func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) LaunchTemplateSpecification ¶
func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput
Override the instance launch template specification in the Launch Template.
func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Overrides ¶
func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Overrides() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput
List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below.
func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput ¶
func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutput() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
func (GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) ToGroupMixedInstancesPolicyLaunchTemplatePtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyLaunchTemplatePtrOutput
type GroupMixedInstancesPolicyOutput ¶
type GroupMixedInstancesPolicyOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyOutput) ElementType ¶
func (GroupMixedInstancesPolicyOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyOutput) InstancesDistribution ¶
func (o GroupMixedInstancesPolicyOutput) InstancesDistribution() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below.
func (GroupMixedInstancesPolicyOutput) LaunchTemplate ¶
func (o GroupMixedInstancesPolicyOutput) LaunchTemplate() GroupMixedInstancesPolicyLaunchTemplateOutput
Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below.
func (GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyOutput ¶
func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyOutput() GroupMixedInstancesPolicyOutput
func (GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyOutputWithContext ¶
func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyOutput
func (GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyPtrOutput ¶
func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput
func (GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyOutput) ToGroupMixedInstancesPolicyPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyPtrOutput
type GroupMixedInstancesPolicyPtrInput ¶
type GroupMixedInstancesPolicyPtrInput interface { pulumi.Input ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput ToGroupMixedInstancesPolicyPtrOutputWithContext(context.Context) GroupMixedInstancesPolicyPtrOutput }
GroupMixedInstancesPolicyPtrInput is an input type that accepts GroupMixedInstancesPolicyArgs, GroupMixedInstancesPolicyPtr and GroupMixedInstancesPolicyPtrOutput values. You can construct a concrete instance of `GroupMixedInstancesPolicyPtrInput` via:
GroupMixedInstancesPolicyArgs{...} or: nil
func GroupMixedInstancesPolicyPtr ¶
func GroupMixedInstancesPolicyPtr(v *GroupMixedInstancesPolicyArgs) GroupMixedInstancesPolicyPtrInput
type GroupMixedInstancesPolicyPtrOutput ¶
type GroupMixedInstancesPolicyPtrOutput struct{ *pulumi.OutputState }
func (GroupMixedInstancesPolicyPtrOutput) Elem ¶
func (o GroupMixedInstancesPolicyPtrOutput) Elem() GroupMixedInstancesPolicyOutput
func (GroupMixedInstancesPolicyPtrOutput) ElementType ¶
func (GroupMixedInstancesPolicyPtrOutput) ElementType() reflect.Type
func (GroupMixedInstancesPolicyPtrOutput) InstancesDistribution ¶
func (o GroupMixedInstancesPolicyPtrOutput) InstancesDistribution() GroupMixedInstancesPolicyInstancesDistributionPtrOutput
Nested argument containing settings on how to mix on-demand and Spot instances in the Auto Scaling group. Defined below.
func (GroupMixedInstancesPolicyPtrOutput) LaunchTemplate ¶
func (o GroupMixedInstancesPolicyPtrOutput) LaunchTemplate() GroupMixedInstancesPolicyLaunchTemplatePtrOutput
Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below.
func (GroupMixedInstancesPolicyPtrOutput) ToGroupMixedInstancesPolicyPtrOutput ¶
func (o GroupMixedInstancesPolicyPtrOutput) ToGroupMixedInstancesPolicyPtrOutput() GroupMixedInstancesPolicyPtrOutput
func (GroupMixedInstancesPolicyPtrOutput) ToGroupMixedInstancesPolicyPtrOutputWithContext ¶
func (o GroupMixedInstancesPolicyPtrOutput) ToGroupMixedInstancesPolicyPtrOutputWithContext(ctx context.Context) GroupMixedInstancesPolicyPtrOutput
type GroupOutput ¶
type GroupOutput struct{ *pulumi.OutputState }
func (GroupOutput) ElementType ¶
func (GroupOutput) ElementType() reflect.Type
func (GroupOutput) ToGroupOutput ¶
func (o GroupOutput) ToGroupOutput() GroupOutput
func (GroupOutput) ToGroupOutputWithContext ¶
func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupState ¶
type GroupState struct { // The ARN for this Auto Scaling Group Arn pulumi.StringPtrInput // A list of one or more availability zones for the group. Used for EC2-Classic, attaching a network interface via id from a launch template and default subnets when not specified with `vpcZoneIdentifier` argument. Conflicts with `vpcZoneIdentifier`. AvailabilityZones pulumi.StringArrayInput // Indicates whether capacity rebalance is enabled. Otherwise, capacity rebalance is disabled. CapacityRebalance pulumi.BoolPtrInput // The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. DefaultCooldown pulumi.IntPtrInput // The number of Amazon EC2 instances that // should be running in the group. (See also Waiting for // Capacity below.) DesiredCapacity pulumi.IntPtrInput // A list of metrics to collect. The allowed values are defined by the [underlying AWS API](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html). EnabledMetrics pulumi.StringArrayInput // Allows deleting the Auto Scaling Group without waiting // for all instances in the pool to terminate. You can force an Auto Scaling Group to delete // even if it's in the process of scaling a resource. Normally, this provider // drains all the instances before deleting the group. This bypasses that // behavior and potentially leaves resources dangling. ForceDelete pulumi.BoolPtrInput ForceDeleteWarmPool pulumi.BoolPtrInput // Time (in seconds) after instance comes into service before checking health. HealthCheckGracePeriod pulumi.IntPtrInput // "EC2" or "ELB". Controls how health checking is done. HealthCheckType pulumi.StringPtrInput // One or more // [Lifecycle Hooks](http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) // to attach to the Auto Scaling Group **before** instances are launched. The // syntax is exactly the same as the separate // `autoscaling.LifecycleHook` // resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating // a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource. InitialLifecycleHooks GroupInitialLifecycleHookArrayInput // If this block is configured, start an // [Instance Refresh](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) // when this Auto Scaling Group is updated. Defined below. InstanceRefresh GroupInstanceRefreshPtrInput // The name of the launch configuration to use. LaunchConfiguration pulumi.Input // Nested argument containing launch template settings along with the overrides to specify multiple instance types and weights. Defined below. LaunchTemplate GroupLaunchTemplatePtrInput // A list of elastic load balancer names to add to the autoscaling // group names. Only valid for classic load balancers. For ALBs, use `targetGroupArns` instead. LoadBalancers pulumi.StringArrayInput // The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds. MaxInstanceLifetime pulumi.IntPtrInput // The maximum size of the Auto Scaling Group. MaxSize pulumi.IntPtrInput // The granularity to associate with the metrics to collect. The only valid value is `1Minute`. Default is `1Minute`. MetricsGranularity pulumi.StringPtrInput // Setting this causes the provider to wait for // this number of instances from this Auto Scaling Group to show up healthy in the // ELB only on creation. Updates will not wait on ELB instance number changes. // (See also Waiting for Capacity below.) MinElbCapacity pulumi.IntPtrInput // Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified. MinSize pulumi.IntPtrInput // Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details. MixedInstancesPolicy GroupMixedInstancesPolicyPtrInput // The name of the Auto Scaling Group. By default generated by this provider. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified // prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // The name of the placement group into which you'll launch your instances, if any. PlacementGroup pulumi.Input // Allows setting instance protection. The // Auto Scaling Group will not select instances with this setting for termination // during scale in events. ProtectFromScaleIn pulumi.BoolPtrInput // The ARN of the service-linked role that the ASG will use to call other AWS services ServiceLinkedRoleArn pulumi.StringPtrInput // A list of processes to suspend for the Auto Scaling Group. The allowed values are `Launch`, `Terminate`, `HealthCheck`, `ReplaceUnhealthy`, `AZRebalance`, `AlarmNotification`, `ScheduledActions`, `AddToLoadBalancer`. // Note that if you suspend either the `Launch` or `Terminate` process types, it can prevent your Auto Scaling Group from functioning properly. SuspendedProcesses pulumi.StringArrayInput // Configuration block(s) containing resource tags. Conflicts with `tagsCollection`. Documented below. Tags GroupTagArrayInput // Set of maps containing resource tags. Conflicts with `tag`. Documented below. TagsCollection pulumi.StringMapArrayInput // A set of `alb.TargetGroup` ARNs, for use with Application or Network Load Balancing. TargetGroupArns pulumi.StringArrayInput // A list of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are `OldestInstance`, `NewestInstance`, `OldestLaunchConfiguration`, `ClosestToNextInstanceHour`, `OldestLaunchTemplate`, `AllocationStrategy`, `Default`. TerminationPolicies pulumi.StringArrayInput // A list of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with `availabilityZones`. VpcZoneIdentifiers pulumi.StringArrayInput // A maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should // wait for ASG instances to be healthy before timing out. (See also Waiting // for Capacity below.) Setting this to "0" causes // this provider to skip all Capacity Waiting behavior. WaitForCapacityTimeout pulumi.StringPtrInput // Setting this will cause the provider to wait // for exactly this number of healthy instances from this Auto Scaling Group in // all attached load balancers on both create and update operations. (Takes // precedence over `minElbCapacity` behavior.) // (See also Waiting for Capacity below.) WaitForElbCapacity pulumi.IntPtrInput // If this block is configured, add a [Warm Pool](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) // to the specified Auto Scaling group. Defined below WarmPool GroupWarmPoolPtrInput }
func (GroupState) ElementType ¶
func (GroupState) ElementType() reflect.Type
type GroupTagArgs ¶
type GroupTagArgs struct { // Key Key pulumi.StringInput `pulumi:"key"` // Enables propagation of the tag to // Amazon EC2 instances launched via this ASG PropagateAtLaunch pulumi.BoolInput `pulumi:"propagateAtLaunch"` // Value Value pulumi.StringInput `pulumi:"value"` }
func (GroupTagArgs) ElementType ¶
func (GroupTagArgs) ElementType() reflect.Type
func (GroupTagArgs) ToGroupTagOutput ¶
func (i GroupTagArgs) ToGroupTagOutput() GroupTagOutput
func (GroupTagArgs) ToGroupTagOutputWithContext ¶
func (i GroupTagArgs) ToGroupTagOutputWithContext(ctx context.Context) GroupTagOutput
type GroupTagArray ¶
type GroupTagArray []GroupTagInput
func (GroupTagArray) ElementType ¶
func (GroupTagArray) ElementType() reflect.Type
func (GroupTagArray) ToGroupTagArrayOutput ¶
func (i GroupTagArray) ToGroupTagArrayOutput() GroupTagArrayOutput
func (GroupTagArray) ToGroupTagArrayOutputWithContext ¶
func (i GroupTagArray) ToGroupTagArrayOutputWithContext(ctx context.Context) GroupTagArrayOutput
type GroupTagArrayInput ¶
type GroupTagArrayInput interface { pulumi.Input ToGroupTagArrayOutput() GroupTagArrayOutput ToGroupTagArrayOutputWithContext(context.Context) GroupTagArrayOutput }
GroupTagArrayInput is an input type that accepts GroupTagArray and GroupTagArrayOutput values. You can construct a concrete instance of `GroupTagArrayInput` via:
GroupTagArray{ GroupTagArgs{...} }
type GroupTagArrayOutput ¶
type GroupTagArrayOutput struct{ *pulumi.OutputState }
func (GroupTagArrayOutput) ElementType ¶
func (GroupTagArrayOutput) ElementType() reflect.Type
func (GroupTagArrayOutput) Index ¶
func (o GroupTagArrayOutput) Index(i pulumi.IntInput) GroupTagOutput
func (GroupTagArrayOutput) ToGroupTagArrayOutput ¶
func (o GroupTagArrayOutput) ToGroupTagArrayOutput() GroupTagArrayOutput
func (GroupTagArrayOutput) ToGroupTagArrayOutputWithContext ¶
func (o GroupTagArrayOutput) ToGroupTagArrayOutputWithContext(ctx context.Context) GroupTagArrayOutput
type GroupTagInput ¶
type GroupTagInput interface { pulumi.Input ToGroupTagOutput() GroupTagOutput ToGroupTagOutputWithContext(context.Context) GroupTagOutput }
GroupTagInput is an input type that accepts GroupTagArgs and GroupTagOutput values. You can construct a concrete instance of `GroupTagInput` via:
GroupTagArgs{...}
type GroupTagOutput ¶
type GroupTagOutput struct{ *pulumi.OutputState }
func (GroupTagOutput) ElementType ¶
func (GroupTagOutput) ElementType() reflect.Type
func (GroupTagOutput) PropagateAtLaunch ¶
func (o GroupTagOutput) PropagateAtLaunch() pulumi.BoolOutput
Enables propagation of the tag to Amazon EC2 instances launched via this ASG
func (GroupTagOutput) ToGroupTagOutput ¶
func (o GroupTagOutput) ToGroupTagOutput() GroupTagOutput
func (GroupTagOutput) ToGroupTagOutputWithContext ¶
func (o GroupTagOutput) ToGroupTagOutputWithContext(ctx context.Context) GroupTagOutput
type GroupWarmPool ¶
type GroupWarmPool struct { // Specifies the total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group. MaxGroupPreparedCapacity *int `pulumi:"maxGroupPreparedCapacity"` // Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified. MinSize *int `pulumi:"minSize"` // Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default) or Running. PoolState *string `pulumi:"poolState"` }
type GroupWarmPoolArgs ¶
type GroupWarmPoolArgs struct { // Specifies the total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group. MaxGroupPreparedCapacity pulumi.IntPtrInput `pulumi:"maxGroupPreparedCapacity"` // Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified. MinSize pulumi.IntPtrInput `pulumi:"minSize"` // Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default) or Running. PoolState pulumi.StringPtrInput `pulumi:"poolState"` }
func (GroupWarmPoolArgs) ElementType ¶
func (GroupWarmPoolArgs) ElementType() reflect.Type
func (GroupWarmPoolArgs) ToGroupWarmPoolOutput ¶
func (i GroupWarmPoolArgs) ToGroupWarmPoolOutput() GroupWarmPoolOutput
func (GroupWarmPoolArgs) ToGroupWarmPoolOutputWithContext ¶
func (i GroupWarmPoolArgs) ToGroupWarmPoolOutputWithContext(ctx context.Context) GroupWarmPoolOutput
func (GroupWarmPoolArgs) ToGroupWarmPoolPtrOutput ¶
func (i GroupWarmPoolArgs) ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput
func (GroupWarmPoolArgs) ToGroupWarmPoolPtrOutputWithContext ¶
func (i GroupWarmPoolArgs) ToGroupWarmPoolPtrOutputWithContext(ctx context.Context) GroupWarmPoolPtrOutput
type GroupWarmPoolInput ¶
type GroupWarmPoolInput interface { pulumi.Input ToGroupWarmPoolOutput() GroupWarmPoolOutput ToGroupWarmPoolOutputWithContext(context.Context) GroupWarmPoolOutput }
GroupWarmPoolInput is an input type that accepts GroupWarmPoolArgs and GroupWarmPoolOutput values. You can construct a concrete instance of `GroupWarmPoolInput` via:
GroupWarmPoolArgs{...}
type GroupWarmPoolOutput ¶
type GroupWarmPoolOutput struct{ *pulumi.OutputState }
func (GroupWarmPoolOutput) ElementType ¶
func (GroupWarmPoolOutput) ElementType() reflect.Type
func (GroupWarmPoolOutput) MaxGroupPreparedCapacity ¶
func (o GroupWarmPoolOutput) MaxGroupPreparedCapacity() pulumi.IntPtrOutput
Specifies the total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.
func (GroupWarmPoolOutput) MinSize ¶
func (o GroupWarmPoolOutput) MinSize() pulumi.IntPtrOutput
Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified.
func (GroupWarmPoolOutput) PoolState ¶
func (o GroupWarmPoolOutput) PoolState() pulumi.StringPtrOutput
Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default) or Running.
func (GroupWarmPoolOutput) ToGroupWarmPoolOutput ¶
func (o GroupWarmPoolOutput) ToGroupWarmPoolOutput() GroupWarmPoolOutput
func (GroupWarmPoolOutput) ToGroupWarmPoolOutputWithContext ¶
func (o GroupWarmPoolOutput) ToGroupWarmPoolOutputWithContext(ctx context.Context) GroupWarmPoolOutput
func (GroupWarmPoolOutput) ToGroupWarmPoolPtrOutput ¶
func (o GroupWarmPoolOutput) ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput
func (GroupWarmPoolOutput) ToGroupWarmPoolPtrOutputWithContext ¶
func (o GroupWarmPoolOutput) ToGroupWarmPoolPtrOutputWithContext(ctx context.Context) GroupWarmPoolPtrOutput
type GroupWarmPoolPtrInput ¶
type GroupWarmPoolPtrInput interface { pulumi.Input ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput ToGroupWarmPoolPtrOutputWithContext(context.Context) GroupWarmPoolPtrOutput }
GroupWarmPoolPtrInput is an input type that accepts GroupWarmPoolArgs, GroupWarmPoolPtr and GroupWarmPoolPtrOutput values. You can construct a concrete instance of `GroupWarmPoolPtrInput` via:
GroupWarmPoolArgs{...} or: nil
func GroupWarmPoolPtr ¶
func GroupWarmPoolPtr(v *GroupWarmPoolArgs) GroupWarmPoolPtrInput
type GroupWarmPoolPtrOutput ¶
type GroupWarmPoolPtrOutput struct{ *pulumi.OutputState }
func (GroupWarmPoolPtrOutput) Elem ¶
func (o GroupWarmPoolPtrOutput) Elem() GroupWarmPoolOutput
func (GroupWarmPoolPtrOutput) ElementType ¶
func (GroupWarmPoolPtrOutput) ElementType() reflect.Type
func (GroupWarmPoolPtrOutput) MaxGroupPreparedCapacity ¶
func (o GroupWarmPoolPtrOutput) MaxGroupPreparedCapacity() pulumi.IntPtrOutput
Specifies the total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.
func (GroupWarmPoolPtrOutput) MinSize ¶
func (o GroupWarmPoolPtrOutput) MinSize() pulumi.IntPtrOutput
Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified.
func (GroupWarmPoolPtrOutput) PoolState ¶
func (o GroupWarmPoolPtrOutput) PoolState() pulumi.StringPtrOutput
Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default) or Running.
func (GroupWarmPoolPtrOutput) ToGroupWarmPoolPtrOutput ¶
func (o GroupWarmPoolPtrOutput) ToGroupWarmPoolPtrOutput() GroupWarmPoolPtrOutput
func (GroupWarmPoolPtrOutput) ToGroupWarmPoolPtrOutputWithContext ¶
func (o GroupWarmPoolPtrOutput) ToGroupWarmPoolPtrOutputWithContext(ctx context.Context) GroupWarmPoolPtrOutput
type LifecycleHook ¶
type LifecycleHook struct { pulumi.CustomResourceState // The name of the Auto Scaling group to which you want to assign the lifecycle hook AutoscalingGroupName pulumi.StringOutput `pulumi:"autoscalingGroupName"` // Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The value for this parameter can be either CONTINUE or ABANDON. The default value for this parameter is ABANDON. DefaultResult pulumi.StringOutput `pulumi:"defaultResult"` // Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the DefaultResult parameter HeartbeatTimeout pulumi.IntPtrOutput `pulumi:"heartbeatTimeout"` // The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see [describe-lifecycle-hook-types](https://docs.aws.amazon.com/cli/latest/reference/autoscaling/describe-lifecycle-hook-types.html#examples) LifecycleTransition pulumi.StringOutput `pulumi:"lifecycleTransition"` // The name of the lifecycle hook. Name pulumi.StringOutput `pulumi:"name"` // Contains additional information that you want to include any time Auto Scaling sends a message to the notification target. NotificationMetadata pulumi.StringPtrOutput `pulumi:"notificationMetadata"` // The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. NotificationTargetArn pulumi.StringPtrOutput `pulumi:"notificationTargetArn"` // The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` }
Provides an AutoScaling Lifecycle Hook resource.
> **NOTE:** This provider has two types of ways you can add lifecycle hooks - via the `initialLifecycleHook` attribute from the `autoscaling.Group` resource, or via this one. Hooks added via this resource will not be added until the autoscaling group has been created, and depending on your `capacity` settings, after the initial instances have been launched, creating unintended behavior. If you need hooks to run on all instances, add them with `initialLifecycleHook` in `autoscaling.Group`, but take care to not duplicate those hooks with this resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foobarGroup, err := autoscaling.NewGroup(ctx, "foobarGroup", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), }, HealthCheckType: pulumi.String("EC2"), TerminationPolicies: pulumi.StringArray{ pulumi.String("OldestInstance"), }, Tags: autoscaling.GroupTagArray{ &autoscaling.GroupTagArgs{ Key: pulumi.String("Foo"), Value: pulumi.String("foo-bar"), PropagateAtLaunch: pulumi.Bool(true), }, }, }) if err != nil { return err } _, err = autoscaling.NewLifecycleHook(ctx, "foobarLifecycleHook", &autoscaling.LifecycleHookArgs{ AutoscalingGroupName: foobarGroup.Name, DefaultResult: pulumi.String("CONTINUE"), HeartbeatTimeout: pulumi.Int(2000), LifecycleTransition: pulumi.String("autoscaling:EC2_INSTANCE_LAUNCHING"), NotificationMetadata: pulumi.String(fmt.Sprintf("%v%v%v", "{\n", " \"foo\": \"bar\"\n", "}\n")), NotificationTargetArn: pulumi.String("arn:aws:sqs:us-east-1:444455556666:queue1*"), RoleArn: pulumi.String("arn:aws:iam::123456789012:role/S3Access"), }) if err != nil { return err } return nil }) }
```
## Import
AutoScaling Lifecycle Hooks can be imported using the role autoscaling_group_name and name separated by `/`.
```sh
$ pulumi import aws:autoscaling/lifecycleHook:LifecycleHook test-lifecycle-hook asg-name/lifecycle-hook-name
```
func GetLifecycleHook ¶
func GetLifecycleHook(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LifecycleHookState, opts ...pulumi.ResourceOption) (*LifecycleHook, error)
GetLifecycleHook gets an existing LifecycleHook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLifecycleHook ¶
func NewLifecycleHook(ctx *pulumi.Context, name string, args *LifecycleHookArgs, opts ...pulumi.ResourceOption) (*LifecycleHook, error)
NewLifecycleHook registers a new resource with the given unique name, arguments, and options.
func (*LifecycleHook) ElementType ¶
func (*LifecycleHook) ElementType() reflect.Type
func (*LifecycleHook) ToLifecycleHookOutput ¶
func (i *LifecycleHook) ToLifecycleHookOutput() LifecycleHookOutput
func (*LifecycleHook) ToLifecycleHookOutputWithContext ¶
func (i *LifecycleHook) ToLifecycleHookOutputWithContext(ctx context.Context) LifecycleHookOutput
type LifecycleHookArgs ¶
type LifecycleHookArgs struct { // The name of the Auto Scaling group to which you want to assign the lifecycle hook AutoscalingGroupName pulumi.StringInput // Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The value for this parameter can be either CONTINUE or ABANDON. The default value for this parameter is ABANDON. DefaultResult pulumi.StringPtrInput // Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the DefaultResult parameter HeartbeatTimeout pulumi.IntPtrInput // The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see [describe-lifecycle-hook-types](https://docs.aws.amazon.com/cli/latest/reference/autoscaling/describe-lifecycle-hook-types.html#examples) LifecycleTransition pulumi.StringInput // The name of the lifecycle hook. Name pulumi.StringPtrInput // Contains additional information that you want to include any time Auto Scaling sends a message to the notification target. NotificationMetadata pulumi.StringPtrInput // The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. NotificationTargetArn pulumi.StringPtrInput // The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. RoleArn pulumi.StringPtrInput }
The set of arguments for constructing a LifecycleHook resource.
func (LifecycleHookArgs) ElementType ¶
func (LifecycleHookArgs) ElementType() reflect.Type
type LifecycleHookArray ¶
type LifecycleHookArray []LifecycleHookInput
func (LifecycleHookArray) ElementType ¶
func (LifecycleHookArray) ElementType() reflect.Type
func (LifecycleHookArray) ToLifecycleHookArrayOutput ¶
func (i LifecycleHookArray) ToLifecycleHookArrayOutput() LifecycleHookArrayOutput
func (LifecycleHookArray) ToLifecycleHookArrayOutputWithContext ¶
func (i LifecycleHookArray) ToLifecycleHookArrayOutputWithContext(ctx context.Context) LifecycleHookArrayOutput
type LifecycleHookArrayInput ¶
type LifecycleHookArrayInput interface { pulumi.Input ToLifecycleHookArrayOutput() LifecycleHookArrayOutput ToLifecycleHookArrayOutputWithContext(context.Context) LifecycleHookArrayOutput }
LifecycleHookArrayInput is an input type that accepts LifecycleHookArray and LifecycleHookArrayOutput values. You can construct a concrete instance of `LifecycleHookArrayInput` via:
LifecycleHookArray{ LifecycleHookArgs{...} }
type LifecycleHookArrayOutput ¶
type LifecycleHookArrayOutput struct{ *pulumi.OutputState }
func (LifecycleHookArrayOutput) ElementType ¶
func (LifecycleHookArrayOutput) ElementType() reflect.Type
func (LifecycleHookArrayOutput) Index ¶
func (o LifecycleHookArrayOutput) Index(i pulumi.IntInput) LifecycleHookOutput
func (LifecycleHookArrayOutput) ToLifecycleHookArrayOutput ¶
func (o LifecycleHookArrayOutput) ToLifecycleHookArrayOutput() LifecycleHookArrayOutput
func (LifecycleHookArrayOutput) ToLifecycleHookArrayOutputWithContext ¶
func (o LifecycleHookArrayOutput) ToLifecycleHookArrayOutputWithContext(ctx context.Context) LifecycleHookArrayOutput
type LifecycleHookInput ¶
type LifecycleHookInput interface { pulumi.Input ToLifecycleHookOutput() LifecycleHookOutput ToLifecycleHookOutputWithContext(ctx context.Context) LifecycleHookOutput }
type LifecycleHookMap ¶
type LifecycleHookMap map[string]LifecycleHookInput
func (LifecycleHookMap) ElementType ¶
func (LifecycleHookMap) ElementType() reflect.Type
func (LifecycleHookMap) ToLifecycleHookMapOutput ¶
func (i LifecycleHookMap) ToLifecycleHookMapOutput() LifecycleHookMapOutput
func (LifecycleHookMap) ToLifecycleHookMapOutputWithContext ¶
func (i LifecycleHookMap) ToLifecycleHookMapOutputWithContext(ctx context.Context) LifecycleHookMapOutput
type LifecycleHookMapInput ¶
type LifecycleHookMapInput interface { pulumi.Input ToLifecycleHookMapOutput() LifecycleHookMapOutput ToLifecycleHookMapOutputWithContext(context.Context) LifecycleHookMapOutput }
LifecycleHookMapInput is an input type that accepts LifecycleHookMap and LifecycleHookMapOutput values. You can construct a concrete instance of `LifecycleHookMapInput` via:
LifecycleHookMap{ "key": LifecycleHookArgs{...} }
type LifecycleHookMapOutput ¶
type LifecycleHookMapOutput struct{ *pulumi.OutputState }
func (LifecycleHookMapOutput) ElementType ¶
func (LifecycleHookMapOutput) ElementType() reflect.Type
func (LifecycleHookMapOutput) MapIndex ¶
func (o LifecycleHookMapOutput) MapIndex(k pulumi.StringInput) LifecycleHookOutput
func (LifecycleHookMapOutput) ToLifecycleHookMapOutput ¶
func (o LifecycleHookMapOutput) ToLifecycleHookMapOutput() LifecycleHookMapOutput
func (LifecycleHookMapOutput) ToLifecycleHookMapOutputWithContext ¶
func (o LifecycleHookMapOutput) ToLifecycleHookMapOutputWithContext(ctx context.Context) LifecycleHookMapOutput
type LifecycleHookOutput ¶
type LifecycleHookOutput struct{ *pulumi.OutputState }
func (LifecycleHookOutput) ElementType ¶
func (LifecycleHookOutput) ElementType() reflect.Type
func (LifecycleHookOutput) ToLifecycleHookOutput ¶
func (o LifecycleHookOutput) ToLifecycleHookOutput() LifecycleHookOutput
func (LifecycleHookOutput) ToLifecycleHookOutputWithContext ¶
func (o LifecycleHookOutput) ToLifecycleHookOutputWithContext(ctx context.Context) LifecycleHookOutput
type LifecycleHookState ¶
type LifecycleHookState struct { // The name of the Auto Scaling group to which you want to assign the lifecycle hook AutoscalingGroupName pulumi.StringPtrInput // Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The value for this parameter can be either CONTINUE or ABANDON. The default value for this parameter is ABANDON. DefaultResult pulumi.StringPtrInput // Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the action defined in the DefaultResult parameter HeartbeatTimeout pulumi.IntPtrInput // The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see [describe-lifecycle-hook-types](https://docs.aws.amazon.com/cli/latest/reference/autoscaling/describe-lifecycle-hook-types.html#examples) LifecycleTransition pulumi.StringPtrInput // The name of the lifecycle hook. Name pulumi.StringPtrInput // Contains additional information that you want to include any time Auto Scaling sends a message to the notification target. NotificationMetadata pulumi.StringPtrInput // The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. NotificationTargetArn pulumi.StringPtrInput // The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. RoleArn pulumi.StringPtrInput }
func (LifecycleHookState) ElementType ¶
func (LifecycleHookState) ElementType() reflect.Type
type LookupGroupArgs ¶
type LookupGroupArgs struct { // Specify the exact name of the desired autoscaling group. Name string `pulumi:"name"` }
A collection of arguments for invoking getGroup.
type LookupGroupOutputArgs ¶ added in v4.21.0
type LookupGroupOutputArgs struct { // Specify the exact name of the desired autoscaling group. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getGroup.
func (LookupGroupOutputArgs) ElementType ¶ added in v4.21.0
func (LookupGroupOutputArgs) ElementType() reflect.Type
type LookupGroupResult ¶
type LookupGroupResult struct { // The Amazon Resource Name (ARN) of the Auto Scaling group. Arn string `pulumi:"arn"` // One or more Availability Zones for the group. AvailabilityZones []string `pulumi:"availabilityZones"` DefaultCooldown int `pulumi:"defaultCooldown"` // The desired size of the group. DesiredCapacity int `pulumi:"desiredCapacity"` // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. HealthCheckGracePeriod int `pulumi:"healthCheckGracePeriod"` // The service to use for the health checks. The valid values are EC2 and ELB. HealthCheckType string `pulumi:"healthCheckType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the associated launch configuration. LaunchConfiguration string `pulumi:"launchConfiguration"` LaunchTemplates []GetGroupLaunchTemplate `pulumi:"launchTemplates"` // One or more load balancers associated with the group. LoadBalancers []string `pulumi:"loadBalancers"` // The maximum size of the group. MaxSize int `pulumi:"maxSize"` // The minimum size of the group. MinSize int `pulumi:"minSize"` // Name of the Auto Scaling Group. Name string `pulumi:"name"` NewInstancesProtectedFromScaleIn bool `pulumi:"newInstancesProtectedFromScaleIn"` // The name of the placement group into which to launch your instances, if any. For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon Elastic Compute Cloud User Guide. PlacementGroup string `pulumi:"placementGroup"` // The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. ServiceLinkedRoleArn string `pulumi:"serviceLinkedRoleArn"` // The current state of the group when DeleteAutoScalingGroup is in progress. Status string `pulumi:"status"` // The Amazon Resource Names (ARN) of the target groups for your load balancer. TargetGroupArns []string `pulumi:"targetGroupArns"` // The termination policies for the group. TerminationPolicies []string `pulumi:"terminationPolicies"` // VPC ID for the group. VpcZoneIdentifier string `pulumi:"vpcZoneIdentifier"` }
A collection of values returned by getGroup.
func LookupGroup ¶
func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)
Use this data source to get information on an existing autoscaling group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := autoscaling.LookupGroup(ctx, &autoscaling.LookupGroupArgs{ Name: "foo", }, nil) if err != nil { return err } return nil }) }
```
type LookupGroupResultOutput ¶ added in v4.21.0
type LookupGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGroup.
func LookupGroupOutput ¶ added in v4.21.0
func LookupGroupOutput(ctx *pulumi.Context, args LookupGroupOutputArgs, opts ...pulumi.InvokeOption) LookupGroupResultOutput
func (LookupGroupResultOutput) Arn ¶ added in v4.21.0
func (o LookupGroupResultOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Auto Scaling group.
func (LookupGroupResultOutput) AvailabilityZones ¶ added in v4.21.0
func (o LookupGroupResultOutput) AvailabilityZones() pulumi.StringArrayOutput
One or more Availability Zones for the group.
func (LookupGroupResultOutput) DefaultCooldown ¶ added in v4.21.0
func (o LookupGroupResultOutput) DefaultCooldown() pulumi.IntOutput
func (LookupGroupResultOutput) DesiredCapacity ¶ added in v4.21.0
func (o LookupGroupResultOutput) DesiredCapacity() pulumi.IntOutput
The desired size of the group.
func (LookupGroupResultOutput) ElementType ¶ added in v4.21.0
func (LookupGroupResultOutput) ElementType() reflect.Type
func (LookupGroupResultOutput) HealthCheckGracePeriod ¶ added in v4.21.0
func (o LookupGroupResultOutput) HealthCheckGracePeriod() pulumi.IntOutput
The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
func (LookupGroupResultOutput) HealthCheckType ¶ added in v4.21.0
func (o LookupGroupResultOutput) HealthCheckType() pulumi.StringOutput
The service to use for the health checks. The valid values are EC2 and ELB.
func (LookupGroupResultOutput) Id ¶ added in v4.21.0
func (o LookupGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupGroupResultOutput) LaunchConfiguration ¶ added in v4.21.0
func (o LookupGroupResultOutput) LaunchConfiguration() pulumi.StringOutput
The name of the associated launch configuration.
func (LookupGroupResultOutput) LaunchTemplates ¶ added in v4.21.0
func (o LookupGroupResultOutput) LaunchTemplates() GetGroupLaunchTemplateArrayOutput
func (LookupGroupResultOutput) LoadBalancers ¶ added in v4.21.0
func (o LookupGroupResultOutput) LoadBalancers() pulumi.StringArrayOutput
One or more load balancers associated with the group.
func (LookupGroupResultOutput) MaxSize ¶ added in v4.21.0
func (o LookupGroupResultOutput) MaxSize() pulumi.IntOutput
The maximum size of the group.
func (LookupGroupResultOutput) MinSize ¶ added in v4.21.0
func (o LookupGroupResultOutput) MinSize() pulumi.IntOutput
The minimum size of the group.
func (LookupGroupResultOutput) Name ¶ added in v4.21.0
func (o LookupGroupResultOutput) Name() pulumi.StringOutput
Name of the Auto Scaling Group.
func (LookupGroupResultOutput) NewInstancesProtectedFromScaleIn ¶ added in v4.21.0
func (o LookupGroupResultOutput) NewInstancesProtectedFromScaleIn() pulumi.BoolOutput
func (LookupGroupResultOutput) PlacementGroup ¶ added in v4.21.0
func (o LookupGroupResultOutput) PlacementGroup() pulumi.StringOutput
The name of the placement group into which to launch your instances, if any. For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon Elastic Compute Cloud User Guide.
func (LookupGroupResultOutput) ServiceLinkedRoleArn ¶ added in v4.21.0
func (o LookupGroupResultOutput) ServiceLinkedRoleArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.
func (LookupGroupResultOutput) Status ¶ added in v4.21.0
func (o LookupGroupResultOutput) Status() pulumi.StringOutput
The current state of the group when DeleteAutoScalingGroup is in progress.
func (LookupGroupResultOutput) TargetGroupArns ¶ added in v4.21.0
func (o LookupGroupResultOutput) TargetGroupArns() pulumi.StringArrayOutput
The Amazon Resource Names (ARN) of the target groups for your load balancer.
func (LookupGroupResultOutput) TerminationPolicies ¶ added in v4.21.0
func (o LookupGroupResultOutput) TerminationPolicies() pulumi.StringArrayOutput
The termination policies for the group.
func (LookupGroupResultOutput) ToLookupGroupResultOutput ¶ added in v4.21.0
func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput
func (LookupGroupResultOutput) ToLookupGroupResultOutputWithContext ¶ added in v4.21.0
func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput
func (LookupGroupResultOutput) VpcZoneIdentifier ¶ added in v4.21.0
func (o LookupGroupResultOutput) VpcZoneIdentifier() pulumi.StringOutput
VPC ID for the group.
type Metric ¶
type Metric string
See https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html
func (Metric) ElementType ¶
func (Metric) ToMetricOutput ¶ added in v4.13.0
func (e Metric) ToMetricOutput() MetricOutput
func (Metric) ToMetricOutputWithContext ¶ added in v4.13.0
func (e Metric) ToMetricOutputWithContext(ctx context.Context) MetricOutput
func (Metric) ToMetricPtrOutput ¶ added in v4.13.0
func (e Metric) ToMetricPtrOutput() MetricPtrOutput
func (Metric) ToMetricPtrOutputWithContext ¶ added in v4.13.0
func (e Metric) ToMetricPtrOutputWithContext(ctx context.Context) MetricPtrOutput
func (Metric) ToStringOutput ¶
func (e Metric) ToStringOutput() pulumi.StringOutput
func (Metric) ToStringOutputWithContext ¶
func (e Metric) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (Metric) ToStringPtrOutput ¶
func (e Metric) ToStringPtrOutput() pulumi.StringPtrOutput
func (Metric) ToStringPtrOutputWithContext ¶
func (e Metric) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type MetricInput ¶ added in v4.13.0
type MetricInput interface { pulumi.Input ToMetricOutput() MetricOutput ToMetricOutputWithContext(context.Context) MetricOutput }
MetricInput is an input type that accepts MetricArgs and MetricOutput values. You can construct a concrete instance of `MetricInput` via:
MetricArgs{...}
type MetricOutput ¶ added in v4.13.0
type MetricOutput struct{ *pulumi.OutputState }
func (MetricOutput) ElementType ¶ added in v4.13.0
func (MetricOutput) ElementType() reflect.Type
func (MetricOutput) ToMetricOutput ¶ added in v4.13.0
func (o MetricOutput) ToMetricOutput() MetricOutput
func (MetricOutput) ToMetricOutputWithContext ¶ added in v4.13.0
func (o MetricOutput) ToMetricOutputWithContext(ctx context.Context) MetricOutput
func (MetricOutput) ToMetricPtrOutput ¶ added in v4.13.0
func (o MetricOutput) ToMetricPtrOutput() MetricPtrOutput
func (MetricOutput) ToMetricPtrOutputWithContext ¶ added in v4.13.0
func (o MetricOutput) ToMetricPtrOutputWithContext(ctx context.Context) MetricPtrOutput
func (MetricOutput) ToStringOutput ¶ added in v4.13.0
func (o MetricOutput) ToStringOutput() pulumi.StringOutput
func (MetricOutput) ToStringOutputWithContext ¶ added in v4.13.0
func (o MetricOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (MetricOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o MetricOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (MetricOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o MetricOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type MetricPtrInput ¶ added in v4.13.0
type MetricPtrInput interface { pulumi.Input ToMetricPtrOutput() MetricPtrOutput ToMetricPtrOutputWithContext(context.Context) MetricPtrOutput }
func MetricPtr ¶ added in v4.13.0
func MetricPtr(v string) MetricPtrInput
type MetricPtrOutput ¶ added in v4.13.0
type MetricPtrOutput struct{ *pulumi.OutputState }
func (MetricPtrOutput) Elem ¶ added in v4.13.0
func (o MetricPtrOutput) Elem() MetricOutput
func (MetricPtrOutput) ElementType ¶ added in v4.13.0
func (MetricPtrOutput) ElementType() reflect.Type
func (MetricPtrOutput) ToMetricPtrOutput ¶ added in v4.13.0
func (o MetricPtrOutput) ToMetricPtrOutput() MetricPtrOutput
func (MetricPtrOutput) ToMetricPtrOutputWithContext ¶ added in v4.13.0
func (o MetricPtrOutput) ToMetricPtrOutputWithContext(ctx context.Context) MetricPtrOutput
func (MetricPtrOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o MetricPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (MetricPtrOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o MetricPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type MetricsGranularity ¶
type MetricsGranularity string
See https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html
func (MetricsGranularity) ElementType ¶
func (MetricsGranularity) ElementType() reflect.Type
func (MetricsGranularity) ToMetricsGranularityOutput ¶ added in v4.13.0
func (e MetricsGranularity) ToMetricsGranularityOutput() MetricsGranularityOutput
func (MetricsGranularity) ToMetricsGranularityOutputWithContext ¶ added in v4.13.0
func (e MetricsGranularity) ToMetricsGranularityOutputWithContext(ctx context.Context) MetricsGranularityOutput
func (MetricsGranularity) ToMetricsGranularityPtrOutput ¶ added in v4.13.0
func (e MetricsGranularity) ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput
func (MetricsGranularity) ToMetricsGranularityPtrOutputWithContext ¶ added in v4.13.0
func (e MetricsGranularity) ToMetricsGranularityPtrOutputWithContext(ctx context.Context) MetricsGranularityPtrOutput
func (MetricsGranularity) ToStringOutput ¶
func (e MetricsGranularity) ToStringOutput() pulumi.StringOutput
func (MetricsGranularity) ToStringOutputWithContext ¶
func (e MetricsGranularity) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (MetricsGranularity) ToStringPtrOutput ¶
func (e MetricsGranularity) ToStringPtrOutput() pulumi.StringPtrOutput
func (MetricsGranularity) ToStringPtrOutputWithContext ¶
func (e MetricsGranularity) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type MetricsGranularityInput ¶ added in v4.13.0
type MetricsGranularityInput interface { pulumi.Input ToMetricsGranularityOutput() MetricsGranularityOutput ToMetricsGranularityOutputWithContext(context.Context) MetricsGranularityOutput }
MetricsGranularityInput is an input type that accepts MetricsGranularityArgs and MetricsGranularityOutput values. You can construct a concrete instance of `MetricsGranularityInput` via:
MetricsGranularityArgs{...}
type MetricsGranularityOutput ¶ added in v4.13.0
type MetricsGranularityOutput struct{ *pulumi.OutputState }
func (MetricsGranularityOutput) ElementType ¶ added in v4.13.0
func (MetricsGranularityOutput) ElementType() reflect.Type
func (MetricsGranularityOutput) ToMetricsGranularityOutput ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToMetricsGranularityOutput() MetricsGranularityOutput
func (MetricsGranularityOutput) ToMetricsGranularityOutputWithContext ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToMetricsGranularityOutputWithContext(ctx context.Context) MetricsGranularityOutput
func (MetricsGranularityOutput) ToMetricsGranularityPtrOutput ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput
func (MetricsGranularityOutput) ToMetricsGranularityPtrOutputWithContext ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToMetricsGranularityPtrOutputWithContext(ctx context.Context) MetricsGranularityPtrOutput
func (MetricsGranularityOutput) ToStringOutput ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToStringOutput() pulumi.StringOutput
func (MetricsGranularityOutput) ToStringOutputWithContext ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (MetricsGranularityOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (MetricsGranularityOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o MetricsGranularityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type MetricsGranularityPtrInput ¶ added in v4.13.0
type MetricsGranularityPtrInput interface { pulumi.Input ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput ToMetricsGranularityPtrOutputWithContext(context.Context) MetricsGranularityPtrOutput }
func MetricsGranularityPtr ¶ added in v4.13.0
func MetricsGranularityPtr(v string) MetricsGranularityPtrInput
type MetricsGranularityPtrOutput ¶ added in v4.13.0
type MetricsGranularityPtrOutput struct{ *pulumi.OutputState }
func (MetricsGranularityPtrOutput) Elem ¶ added in v4.13.0
func (o MetricsGranularityPtrOutput) Elem() MetricsGranularityOutput
func (MetricsGranularityPtrOutput) ElementType ¶ added in v4.13.0
func (MetricsGranularityPtrOutput) ElementType() reflect.Type
func (MetricsGranularityPtrOutput) ToMetricsGranularityPtrOutput ¶ added in v4.13.0
func (o MetricsGranularityPtrOutput) ToMetricsGranularityPtrOutput() MetricsGranularityPtrOutput
func (MetricsGranularityPtrOutput) ToMetricsGranularityPtrOutputWithContext ¶ added in v4.13.0
func (o MetricsGranularityPtrOutput) ToMetricsGranularityPtrOutputWithContext(ctx context.Context) MetricsGranularityPtrOutput
func (MetricsGranularityPtrOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o MetricsGranularityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (MetricsGranularityPtrOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o MetricsGranularityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type Notification ¶
type Notification struct { pulumi.CustomResourceState // A list of AutoScaling Group Names GroupNames pulumi.StringArrayOutput `pulumi:"groupNames"` // A list of Notification Types that trigger // notifications. Acceptable values are documented [in the AWS documentation here](https://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_NotificationConfiguration.html) Notifications pulumi.StringArrayOutput `pulumi:"notifications"` // The Topic ARN for notifications to be sent through TopicArn pulumi.StringOutput `pulumi:"topicArn"` }
Provides an AutoScaling Group with Notification support, via SNS Topics. Each of the `notifications` map to a [Notification Configuration](https://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_DescribeNotificationConfigurations.html) inside Amazon Web Services, and are applied to each AutoScaling Group you supply.
## Example Usage
Basic usage:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := sns.NewTopic(ctx, "example", nil) if err != nil { return err } bar, err := autoscaling.NewGroup(ctx, "bar", nil) if err != nil { return err } foo, err := autoscaling.NewGroup(ctx, "foo", nil) if err != nil { return err } _, err = autoscaling.NewNotification(ctx, "exampleNotifications", &autoscaling.NotificationArgs{ GroupNames: pulumi.StringArray{ bar.Name, foo.Name, }, Notifications: pulumi.StringArray{ pulumi.String("autoscaling:EC2_INSTANCE_LAUNCH"), pulumi.String("autoscaling:EC2_INSTANCE_TERMINATE"), pulumi.String("autoscaling:EC2_INSTANCE_LAUNCH_ERROR"), pulumi.String("autoscaling:EC2_INSTANCE_TERMINATE_ERROR"), }, TopicArn: example.Arn, }) if err != nil { return err } return nil }) }
```
func GetNotification ¶
func GetNotification(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationState, opts ...pulumi.ResourceOption) (*Notification, error)
GetNotification gets an existing Notification resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNotification ¶
func NewNotification(ctx *pulumi.Context, name string, args *NotificationArgs, opts ...pulumi.ResourceOption) (*Notification, error)
NewNotification registers a new resource with the given unique name, arguments, and options.
func (*Notification) ElementType ¶
func (*Notification) ElementType() reflect.Type
func (*Notification) ToNotificationOutput ¶
func (i *Notification) ToNotificationOutput() NotificationOutput
func (*Notification) ToNotificationOutputWithContext ¶
func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
type NotificationArgs ¶
type NotificationArgs struct { // A list of AutoScaling Group Names GroupNames pulumi.StringArrayInput // A list of Notification Types that trigger // notifications. Acceptable values are documented [in the AWS documentation here](https://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_NotificationConfiguration.html) Notifications pulumi.StringArrayInput // The Topic ARN for notifications to be sent through TopicArn pulumi.StringInput }
The set of arguments for constructing a Notification resource.
func (NotificationArgs) ElementType ¶
func (NotificationArgs) ElementType() reflect.Type
type NotificationArray ¶
type NotificationArray []NotificationInput
func (NotificationArray) ElementType ¶
func (NotificationArray) ElementType() reflect.Type
func (NotificationArray) ToNotificationArrayOutput ¶
func (i NotificationArray) ToNotificationArrayOutput() NotificationArrayOutput
func (NotificationArray) ToNotificationArrayOutputWithContext ¶
func (i NotificationArray) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
type NotificationArrayInput ¶
type NotificationArrayInput interface { pulumi.Input ToNotificationArrayOutput() NotificationArrayOutput ToNotificationArrayOutputWithContext(context.Context) NotificationArrayOutput }
NotificationArrayInput is an input type that accepts NotificationArray and NotificationArrayOutput values. You can construct a concrete instance of `NotificationArrayInput` via:
NotificationArray{ NotificationArgs{...} }
type NotificationArrayOutput ¶
type NotificationArrayOutput struct{ *pulumi.OutputState }
func (NotificationArrayOutput) ElementType ¶
func (NotificationArrayOutput) ElementType() reflect.Type
func (NotificationArrayOutput) Index ¶
func (o NotificationArrayOutput) Index(i pulumi.IntInput) NotificationOutput
func (NotificationArrayOutput) ToNotificationArrayOutput ¶
func (o NotificationArrayOutput) ToNotificationArrayOutput() NotificationArrayOutput
func (NotificationArrayOutput) ToNotificationArrayOutputWithContext ¶
func (o NotificationArrayOutput) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
type NotificationInput ¶
type NotificationInput interface { pulumi.Input ToNotificationOutput() NotificationOutput ToNotificationOutputWithContext(ctx context.Context) NotificationOutput }
type NotificationMap ¶
type NotificationMap map[string]NotificationInput
func (NotificationMap) ElementType ¶
func (NotificationMap) ElementType() reflect.Type
func (NotificationMap) ToNotificationMapOutput ¶
func (i NotificationMap) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMap) ToNotificationMapOutputWithContext ¶
func (i NotificationMap) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationMapInput ¶
type NotificationMapInput interface { pulumi.Input ToNotificationMapOutput() NotificationMapOutput ToNotificationMapOutputWithContext(context.Context) NotificationMapOutput }
NotificationMapInput is an input type that accepts NotificationMap and NotificationMapOutput values. You can construct a concrete instance of `NotificationMapInput` via:
NotificationMap{ "key": NotificationArgs{...} }
type NotificationMapOutput ¶
type NotificationMapOutput struct{ *pulumi.OutputState }
func (NotificationMapOutput) ElementType ¶
func (NotificationMapOutput) ElementType() reflect.Type
func (NotificationMapOutput) MapIndex ¶
func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
func (NotificationMapOutput) ToNotificationMapOutput ¶
func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMapOutput) ToNotificationMapOutputWithContext ¶
func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationOutput ¶
type NotificationOutput struct{ *pulumi.OutputState }
func (NotificationOutput) ElementType ¶
func (NotificationOutput) ElementType() reflect.Type
func (NotificationOutput) ToNotificationOutput ¶
func (o NotificationOutput) ToNotificationOutput() NotificationOutput
func (NotificationOutput) ToNotificationOutputWithContext ¶
func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
type NotificationState ¶
type NotificationState struct { // A list of AutoScaling Group Names GroupNames pulumi.StringArrayInput // A list of Notification Types that trigger // notifications. Acceptable values are documented [in the AWS documentation here](https://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_NotificationConfiguration.html) Notifications pulumi.StringArrayInput // The Topic ARN for notifications to be sent through TopicArn pulumi.StringPtrInput }
func (NotificationState) ElementType ¶
func (NotificationState) ElementType() reflect.Type
type NotificationType ¶
type NotificationType string
See https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_NotificationConfiguration.html
func (NotificationType) ElementType ¶
func (NotificationType) ElementType() reflect.Type
func (NotificationType) ToNotificationTypeOutput ¶ added in v4.13.0
func (e NotificationType) ToNotificationTypeOutput() NotificationTypeOutput
func (NotificationType) ToNotificationTypeOutputWithContext ¶ added in v4.13.0
func (e NotificationType) ToNotificationTypeOutputWithContext(ctx context.Context) NotificationTypeOutput
func (NotificationType) ToNotificationTypePtrOutput ¶ added in v4.13.0
func (e NotificationType) ToNotificationTypePtrOutput() NotificationTypePtrOutput
func (NotificationType) ToNotificationTypePtrOutputWithContext ¶ added in v4.13.0
func (e NotificationType) ToNotificationTypePtrOutputWithContext(ctx context.Context) NotificationTypePtrOutput
func (NotificationType) ToStringOutput ¶
func (e NotificationType) ToStringOutput() pulumi.StringOutput
func (NotificationType) ToStringOutputWithContext ¶
func (e NotificationType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (NotificationType) ToStringPtrOutput ¶
func (e NotificationType) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationType) ToStringPtrOutputWithContext ¶
func (e NotificationType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationTypeInput ¶ added in v4.13.0
type NotificationTypeInput interface { pulumi.Input ToNotificationTypeOutput() NotificationTypeOutput ToNotificationTypeOutputWithContext(context.Context) NotificationTypeOutput }
NotificationTypeInput is an input type that accepts NotificationTypeArgs and NotificationTypeOutput values. You can construct a concrete instance of `NotificationTypeInput` via:
NotificationTypeArgs{...}
type NotificationTypeOutput ¶ added in v4.13.0
type NotificationTypeOutput struct{ *pulumi.OutputState }
func (NotificationTypeOutput) ElementType ¶ added in v4.13.0
func (NotificationTypeOutput) ElementType() reflect.Type
func (NotificationTypeOutput) ToNotificationTypeOutput ¶ added in v4.13.0
func (o NotificationTypeOutput) ToNotificationTypeOutput() NotificationTypeOutput
func (NotificationTypeOutput) ToNotificationTypeOutputWithContext ¶ added in v4.13.0
func (o NotificationTypeOutput) ToNotificationTypeOutputWithContext(ctx context.Context) NotificationTypeOutput
func (NotificationTypeOutput) ToNotificationTypePtrOutput ¶ added in v4.13.0
func (o NotificationTypeOutput) ToNotificationTypePtrOutput() NotificationTypePtrOutput
func (NotificationTypeOutput) ToNotificationTypePtrOutputWithContext ¶ added in v4.13.0
func (o NotificationTypeOutput) ToNotificationTypePtrOutputWithContext(ctx context.Context) NotificationTypePtrOutput
func (NotificationTypeOutput) ToStringOutput ¶ added in v4.13.0
func (o NotificationTypeOutput) ToStringOutput() pulumi.StringOutput
func (NotificationTypeOutput) ToStringOutputWithContext ¶ added in v4.13.0
func (o NotificationTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (NotificationTypeOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o NotificationTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationTypeOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o NotificationTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationTypePtrInput ¶ added in v4.13.0
type NotificationTypePtrInput interface { pulumi.Input ToNotificationTypePtrOutput() NotificationTypePtrOutput ToNotificationTypePtrOutputWithContext(context.Context) NotificationTypePtrOutput }
func NotificationTypePtr ¶ added in v4.13.0
func NotificationTypePtr(v string) NotificationTypePtrInput
type NotificationTypePtrOutput ¶ added in v4.13.0
type NotificationTypePtrOutput struct{ *pulumi.OutputState }
func (NotificationTypePtrOutput) Elem ¶ added in v4.13.0
func (o NotificationTypePtrOutput) Elem() NotificationTypeOutput
func (NotificationTypePtrOutput) ElementType ¶ added in v4.13.0
func (NotificationTypePtrOutput) ElementType() reflect.Type
func (NotificationTypePtrOutput) ToNotificationTypePtrOutput ¶ added in v4.13.0
func (o NotificationTypePtrOutput) ToNotificationTypePtrOutput() NotificationTypePtrOutput
func (NotificationTypePtrOutput) ToNotificationTypePtrOutputWithContext ¶ added in v4.13.0
func (o NotificationTypePtrOutput) ToNotificationTypePtrOutputWithContext(ctx context.Context) NotificationTypePtrOutput
func (NotificationTypePtrOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o NotificationTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationTypePtrOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o NotificationTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type Policy ¶
type Policy struct { pulumi.CustomResourceState // Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`. AdjustmentType pulumi.StringPtrOutput `pulumi:"adjustmentType"` // The ARN assigned by AWS to the scaling policy. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the autoscaling group. AutoscalingGroupName pulumi.StringOutput `pulumi:"autoscalingGroupName"` // The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. Cooldown pulumi.IntPtrOutput `pulumi:"cooldown"` // The estimated time, in seconds, until a newly launched instance will contribute CloudWatch metrics. Without a value, AWS will default to the group's specified cooldown period. EstimatedInstanceWarmup pulumi.IntPtrOutput `pulumi:"estimatedInstanceWarmup"` // The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". MetricAggregationType pulumi.StringOutput `pulumi:"metricAggregationType"` // Minimum value to scale by when `adjustmentType` is set to `PercentChangeInCapacity`. MinAdjustmentMagnitude pulumi.IntPtrOutput `pulumi:"minAdjustmentMagnitude"` // The name of the dimension. Name pulumi.StringOutput `pulumi:"name"` // The policy type, either "SimpleScaling", "StepScaling", "TargetTrackingScaling", or "PredictiveScaling". If this value isn't provided, AWS will default to "SimpleScaling." PolicyType pulumi.StringPtrOutput `pulumi:"policyType"` // The predictive scaling policy configuration to use with Amazon EC2 Auto Scaling. PredictiveScalingConfiguration PolicyPredictiveScalingConfigurationPtrOutput `pulumi:"predictiveScalingConfiguration"` // The number of members by which to // scale, when the adjustment bounds are breached. A positive value scales // up. A negative value scales down. ScalingAdjustment pulumi.IntPtrOutput `pulumi:"scalingAdjustment"` // A set of adjustments that manage // group scaling. These have the following structure: StepAdjustments PolicyStepAdjustmentArrayOutput `pulumi:"stepAdjustments"` // A target tracking policy. These have the following structure: TargetTrackingConfiguration PolicyTargetTrackingConfigurationPtrOutput `pulumi:"targetTrackingConfiguration"` }
Provides an AutoScaling Scaling Policy resource.
> **NOTE:** You may want to omit `desiredCapacity` attribute from attached `autoscaling.Group` when using autoscaling policies. It's good practice to pick either [manual](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-manual-scaling.html) or [dynamic](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html) (policy-based) scaling.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bar, err := autoscaling.NewGroup(ctx, "bar", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-east-1a"), }, MaxSize: pulumi.Int(5), MinSize: pulumi.Int(2), HealthCheckGracePeriod: pulumi.Int(300), HealthCheckType: pulumi.String("ELB"), ForceDelete: pulumi.Bool(true), LaunchConfiguration: pulumi.Any(aws_launch_configuration.Foo.Name), }) if err != nil { return err } _, err = autoscaling.NewPolicy(ctx, "bat", &autoscaling.PolicyArgs{ ScalingAdjustment: pulumi.Int(4), AdjustmentType: pulumi.String("ChangeInCapacity"), Cooldown: pulumi.Int(300), AutoscalingGroupName: bar.Name, }) if err != nil { return err } return nil }) }
```
## Import
AutoScaling scaling policy can be imported using the role autoscaling_group_name and name separated by `/`.
```sh
$ pulumi import aws:autoscaling/policy:Policy test-policy asg-name/policy-name
```
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) ElementType ¶
func (*Policy) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyArgs ¶
type PolicyArgs struct { // Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`. AdjustmentType pulumi.StringPtrInput // The name of the autoscaling group. AutoscalingGroupName pulumi.StringInput // The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. Cooldown pulumi.IntPtrInput // The estimated time, in seconds, until a newly launched instance will contribute CloudWatch metrics. Without a value, AWS will default to the group's specified cooldown period. EstimatedInstanceWarmup pulumi.IntPtrInput // The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". MetricAggregationType pulumi.StringPtrInput // Minimum value to scale by when `adjustmentType` is set to `PercentChangeInCapacity`. MinAdjustmentMagnitude pulumi.IntPtrInput // The name of the dimension. Name pulumi.StringPtrInput // The policy type, either "SimpleScaling", "StepScaling", "TargetTrackingScaling", or "PredictiveScaling". If this value isn't provided, AWS will default to "SimpleScaling." PolicyType pulumi.StringPtrInput // The predictive scaling policy configuration to use with Amazon EC2 Auto Scaling. PredictiveScalingConfiguration PolicyPredictiveScalingConfigurationPtrInput // The number of members by which to // scale, when the adjustment bounds are breached. A positive value scales // up. A negative value scales down. ScalingAdjustment pulumi.IntPtrInput // A set of adjustments that manage // group scaling. These have the following structure: StepAdjustments PolicyStepAdjustmentArrayInput // A target tracking policy. These have the following structure: TargetTrackingConfiguration PolicyTargetTrackingConfigurationPtrInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyArray ¶
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶
type PolicyArrayInput interface { pulumi.Input ToPolicyArrayOutput() PolicyArrayOutput ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput }
PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:
PolicyArray{ PolicyArgs{...} }
type PolicyArrayOutput ¶
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyInput ¶
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶
func (PolicyMap) ToPolicyMapOutput ¶
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶
type PolicyMapInput interface { pulumi.Input ToPolicyMapOutput() PolicyMapOutput ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput }
PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:
PolicyMap{ "key": PolicyArgs{...} }
type PolicyMapOutput ¶
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶
type PolicyOutput struct{ *pulumi.OutputState }
func (PolicyOutput) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyPredictiveScalingConfiguration ¶ added in v4.6.0
type PolicyPredictiveScalingConfiguration struct { // Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`. MaxCapacityBreachBehavior *string `pulumi:"maxCapacityBreachBehavior"` // The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity. MaxCapacityBuffer *string `pulumi:"maxCapacityBuffer"` // This structure includes the metrics and target utilization to use for predictive scaling. MetricSpecification PolicyPredictiveScalingConfigurationMetricSpecification `pulumi:"metricSpecification"` // The predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`. Mode *string `pulumi:"mode"` // The amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`. SchedulingBufferTime *string `pulumi:"schedulingBufferTime"` }
type PolicyPredictiveScalingConfigurationArgs ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationArgs struct { // Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`. MaxCapacityBreachBehavior pulumi.StringPtrInput `pulumi:"maxCapacityBreachBehavior"` // The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity. MaxCapacityBuffer pulumi.StringPtrInput `pulumi:"maxCapacityBuffer"` // This structure includes the metrics and target utilization to use for predictive scaling. MetricSpecification PolicyPredictiveScalingConfigurationMetricSpecificationInput `pulumi:"metricSpecification"` // The predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`. Mode pulumi.StringPtrInput `pulumi:"mode"` // The amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`. SchedulingBufferTime pulumi.StringPtrInput `pulumi:"schedulingBufferTime"` }
func (PolicyPredictiveScalingConfigurationArgs) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationArgs) ElementType() reflect.Type
func (PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationOutput() PolicyPredictiveScalingConfigurationOutput
func (PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationOutput
func (PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationPtrOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput
func (PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationArgs) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationPtrOutput
type PolicyPredictiveScalingConfigurationInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationOutput() PolicyPredictiveScalingConfigurationOutput ToPolicyPredictiveScalingConfigurationOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationOutput }
PolicyPredictiveScalingConfigurationInput is an input type that accepts PolicyPredictiveScalingConfigurationArgs and PolicyPredictiveScalingConfigurationOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationInput` via:
PolicyPredictiveScalingConfigurationArgs{...}
type PolicyPredictiveScalingConfigurationMetricSpecification ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecification struct { // The load metric specification. PredefinedLoadMetricSpecification *PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecification `pulumi:"predefinedLoadMetricSpecification"` // The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use. PredefinedMetricPairSpecification *PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecification `pulumi:"predefinedMetricPairSpecification"` // The scaling metric specification. PredefinedScalingMetricSpecification *PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecification `pulumi:"predefinedScalingMetricSpecification"` // The target value for the metric. TargetValue int `pulumi:"targetValue"` }
type PolicyPredictiveScalingConfigurationMetricSpecificationArgs ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationArgs struct { // The load metric specification. PredefinedLoadMetricSpecification PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput `pulumi:"predefinedLoadMetricSpecification"` // The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use. PredefinedMetricPairSpecification PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput `pulumi:"predefinedMetricPairSpecification"` // The scaling metric specification. PredefinedScalingMetricSpecification PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput `pulumi:"predefinedScalingMetricSpecification"` // The target value for the metric. TargetValue pulumi.IntInput `pulumi:"targetValue"` }
func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ElementType() reflect.Type
func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationArgs and PolicyPredictiveScalingConfigurationMetricSpecificationOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationArgs{...}
type PolicyPredictiveScalingConfigurationMetricSpecificationOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ElementType() reflect.Type
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedLoadMetricSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedLoadMetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
The load metric specification.
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedMetricPairSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedMetricPairSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedScalingMetricSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) PredefinedScalingMetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
The scaling metric specification.
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) TargetValue ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) TargetValue() pulumi.IntOutput
The target value for the metric.
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecification ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecification struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel string `pulumi:"resourceLabel"` }
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel pulumi.StringInput `pulumi:"resourceLabel"` }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs and PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs{...}
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) PredefinedMetricType ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ResourceLabel ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ResourceLabel() pulumi.StringOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs, PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtr and PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs{...} or: nil
func PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtr ¶ added in v4.6.0
func PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtr(v *PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrInput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) Elem ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) PredefinedMetricType ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ResourceLabel ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecification ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecification struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel string `pulumi:"resourceLabel"` }
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel pulumi.StringInput `pulumi:"resourceLabel"` }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs and PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs{...}
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) PredefinedMetricType ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ResourceLabel ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ResourceLabel() pulumi.StringOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs, PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtr and PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs{...} or: nil
func PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtr ¶ added in v4.6.0
func PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtr(v *PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationArgs) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrInput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) Elem ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) PredefinedMetricType ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ResourceLabel ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecification ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecification struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel string `pulumi:"resourceLabel"` }
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel pulumi.StringInput `pulumi:"resourceLabel"` }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (i PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs and PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs{...}
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) PredefinedMetricType ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ResourceLabel ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ResourceLabel() pulumi.StringOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs, PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtr and PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs{...} or: nil
func PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtr ¶ added in v4.6.0
func PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtr(v *PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrInput
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) Elem ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) PredefinedMetricType ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ResourceLabel ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationMetricSpecificationPtrInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPtrInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput }
PolicyPredictiveScalingConfigurationMetricSpecificationPtrInput is an input type that accepts PolicyPredictiveScalingConfigurationMetricSpecificationArgs, PolicyPredictiveScalingConfigurationMetricSpecificationPtr and PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationMetricSpecificationPtrInput` via:
PolicyPredictiveScalingConfigurationMetricSpecificationArgs{...} or: nil
func PolicyPredictiveScalingConfigurationMetricSpecificationPtr ¶ added in v4.6.0
func PolicyPredictiveScalingConfigurationMetricSpecificationPtr(v *PolicyPredictiveScalingConfigurationMetricSpecificationArgs) PolicyPredictiveScalingConfigurationMetricSpecificationPtrInput
type PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ElementType() reflect.Type
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedLoadMetricSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedLoadMetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationPtrOutput
The load metric specification.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedMetricPairSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedMetricPairSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedMetricPairSpecificationPtrOutput
The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedScalingMetricSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) PredefinedScalingMetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationPtrOutput
The scaling metric specification.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) TargetValue ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) TargetValue() pulumi.IntPtrOutput
The target value for the metric.
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
func (PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput) ToPolicyPredictiveScalingConfigurationMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
type PolicyPredictiveScalingConfigurationOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationOutput) ElementType() reflect.Type
func (PolicyPredictiveScalingConfigurationOutput) MaxCapacityBreachBehavior ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`.
func (PolicyPredictiveScalingConfigurationOutput) MaxCapacityBuffer ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) MaxCapacityBuffer() pulumi.StringPtrOutput
The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.
func (PolicyPredictiveScalingConfigurationOutput) MetricSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) MetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationOutput
This structure includes the metrics and target utilization to use for predictive scaling.
func (PolicyPredictiveScalingConfigurationOutput) Mode ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) Mode() pulumi.StringPtrOutput
The predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`.
func (PolicyPredictiveScalingConfigurationOutput) SchedulingBufferTime ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) SchedulingBufferTime() pulumi.StringPtrOutput
The amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`.
func (PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationOutput() PolicyPredictiveScalingConfigurationOutput
func (PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationOutput
func (PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput
func (PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationOutput) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationPtrOutput
type PolicyPredictiveScalingConfigurationPtrInput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationPtrInput interface { pulumi.Input ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(context.Context) PolicyPredictiveScalingConfigurationPtrOutput }
PolicyPredictiveScalingConfigurationPtrInput is an input type that accepts PolicyPredictiveScalingConfigurationArgs, PolicyPredictiveScalingConfigurationPtr and PolicyPredictiveScalingConfigurationPtrOutput values. You can construct a concrete instance of `PolicyPredictiveScalingConfigurationPtrInput` via:
PolicyPredictiveScalingConfigurationArgs{...} or: nil
func PolicyPredictiveScalingConfigurationPtr ¶ added in v4.6.0
func PolicyPredictiveScalingConfigurationPtr(v *PolicyPredictiveScalingConfigurationArgs) PolicyPredictiveScalingConfigurationPtrInput
type PolicyPredictiveScalingConfigurationPtrOutput ¶ added in v4.6.0
type PolicyPredictiveScalingConfigurationPtrOutput struct{ *pulumi.OutputState }
func (PolicyPredictiveScalingConfigurationPtrOutput) ElementType ¶ added in v4.6.0
func (PolicyPredictiveScalingConfigurationPtrOutput) ElementType() reflect.Type
func (PolicyPredictiveScalingConfigurationPtrOutput) MaxCapacityBreachBehavior ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`.
func (PolicyPredictiveScalingConfigurationPtrOutput) MaxCapacityBuffer ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) MaxCapacityBuffer() pulumi.StringPtrOutput
The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.
func (PolicyPredictiveScalingConfigurationPtrOutput) MetricSpecification ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) MetricSpecification() PolicyPredictiveScalingConfigurationMetricSpecificationPtrOutput
This structure includes the metrics and target utilization to use for predictive scaling.
func (PolicyPredictiveScalingConfigurationPtrOutput) Mode ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) Mode() pulumi.StringPtrOutput
The predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`.
func (PolicyPredictiveScalingConfigurationPtrOutput) SchedulingBufferTime ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) SchedulingBufferTime() pulumi.StringPtrOutput
The amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`.
func (PolicyPredictiveScalingConfigurationPtrOutput) ToPolicyPredictiveScalingConfigurationPtrOutput ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) ToPolicyPredictiveScalingConfigurationPtrOutput() PolicyPredictiveScalingConfigurationPtrOutput
func (PolicyPredictiveScalingConfigurationPtrOutput) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext ¶ added in v4.6.0
func (o PolicyPredictiveScalingConfigurationPtrOutput) ToPolicyPredictiveScalingConfigurationPtrOutputWithContext(ctx context.Context) PolicyPredictiveScalingConfigurationPtrOutput
type PolicyState ¶
type PolicyState struct { // Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`. AdjustmentType pulumi.StringPtrInput // The ARN assigned by AWS to the scaling policy. Arn pulumi.StringPtrInput // The name of the autoscaling group. AutoscalingGroupName pulumi.StringPtrInput // The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. Cooldown pulumi.IntPtrInput // The estimated time, in seconds, until a newly launched instance will contribute CloudWatch metrics. Without a value, AWS will default to the group's specified cooldown period. EstimatedInstanceWarmup pulumi.IntPtrInput // The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". MetricAggregationType pulumi.StringPtrInput // Minimum value to scale by when `adjustmentType` is set to `PercentChangeInCapacity`. MinAdjustmentMagnitude pulumi.IntPtrInput // The name of the dimension. Name pulumi.StringPtrInput // The policy type, either "SimpleScaling", "StepScaling", "TargetTrackingScaling", or "PredictiveScaling". If this value isn't provided, AWS will default to "SimpleScaling." PolicyType pulumi.StringPtrInput // The predictive scaling policy configuration to use with Amazon EC2 Auto Scaling. PredictiveScalingConfiguration PolicyPredictiveScalingConfigurationPtrInput // The number of members by which to // scale, when the adjustment bounds are breached. A positive value scales // up. A negative value scales down. ScalingAdjustment pulumi.IntPtrInput // A set of adjustments that manage // group scaling. These have the following structure: StepAdjustments PolicyStepAdjustmentArrayInput // A target tracking policy. These have the following structure: TargetTrackingConfiguration PolicyTargetTrackingConfigurationPtrInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type
type PolicyStepAdjustment ¶
type PolicyStepAdjustment struct { // The lower bound for the // difference between the alarm threshold and the CloudWatch metric. // Without a value, AWS will treat this bound as infinity. MetricIntervalLowerBound *string `pulumi:"metricIntervalLowerBound"` // The upper bound for the // difference between the alarm threshold and the CloudWatch metric. // Without a value, AWS will treat this bound as infinity. The upper bound // must be greater than the lower bound. MetricIntervalUpperBound *string `pulumi:"metricIntervalUpperBound"` // The number of members by which to // scale, when the adjustment bounds are breached. A positive value scales // up. A negative value scales down. ScalingAdjustment int `pulumi:"scalingAdjustment"` }
type PolicyStepAdjustmentArgs ¶
type PolicyStepAdjustmentArgs struct { // The lower bound for the // difference between the alarm threshold and the CloudWatch metric. // Without a value, AWS will treat this bound as infinity. MetricIntervalLowerBound pulumi.StringPtrInput `pulumi:"metricIntervalLowerBound"` // The upper bound for the // difference between the alarm threshold and the CloudWatch metric. // Without a value, AWS will treat this bound as infinity. The upper bound // must be greater than the lower bound. MetricIntervalUpperBound pulumi.StringPtrInput `pulumi:"metricIntervalUpperBound"` // The number of members by which to // scale, when the adjustment bounds are breached. A positive value scales // up. A negative value scales down. ScalingAdjustment pulumi.IntInput `pulumi:"scalingAdjustment"` }
func (PolicyStepAdjustmentArgs) ElementType ¶
func (PolicyStepAdjustmentArgs) ElementType() reflect.Type
func (PolicyStepAdjustmentArgs) ToPolicyStepAdjustmentOutput ¶
func (i PolicyStepAdjustmentArgs) ToPolicyStepAdjustmentOutput() PolicyStepAdjustmentOutput
func (PolicyStepAdjustmentArgs) ToPolicyStepAdjustmentOutputWithContext ¶
func (i PolicyStepAdjustmentArgs) ToPolicyStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepAdjustmentOutput
type PolicyStepAdjustmentArray ¶
type PolicyStepAdjustmentArray []PolicyStepAdjustmentInput
func (PolicyStepAdjustmentArray) ElementType ¶
func (PolicyStepAdjustmentArray) ElementType() reflect.Type
func (PolicyStepAdjustmentArray) ToPolicyStepAdjustmentArrayOutput ¶
func (i PolicyStepAdjustmentArray) ToPolicyStepAdjustmentArrayOutput() PolicyStepAdjustmentArrayOutput
func (PolicyStepAdjustmentArray) ToPolicyStepAdjustmentArrayOutputWithContext ¶
func (i PolicyStepAdjustmentArray) ToPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepAdjustmentArrayOutput
type PolicyStepAdjustmentArrayInput ¶
type PolicyStepAdjustmentArrayInput interface { pulumi.Input ToPolicyStepAdjustmentArrayOutput() PolicyStepAdjustmentArrayOutput ToPolicyStepAdjustmentArrayOutputWithContext(context.Context) PolicyStepAdjustmentArrayOutput }
PolicyStepAdjustmentArrayInput is an input type that accepts PolicyStepAdjustmentArray and PolicyStepAdjustmentArrayOutput values. You can construct a concrete instance of `PolicyStepAdjustmentArrayInput` via:
PolicyStepAdjustmentArray{ PolicyStepAdjustmentArgs{...} }
type PolicyStepAdjustmentArrayOutput ¶
type PolicyStepAdjustmentArrayOutput struct{ *pulumi.OutputState }
func (PolicyStepAdjustmentArrayOutput) ElementType ¶
func (PolicyStepAdjustmentArrayOutput) ElementType() reflect.Type
func (PolicyStepAdjustmentArrayOutput) Index ¶
func (o PolicyStepAdjustmentArrayOutput) Index(i pulumi.IntInput) PolicyStepAdjustmentOutput
func (PolicyStepAdjustmentArrayOutput) ToPolicyStepAdjustmentArrayOutput ¶
func (o PolicyStepAdjustmentArrayOutput) ToPolicyStepAdjustmentArrayOutput() PolicyStepAdjustmentArrayOutput
func (PolicyStepAdjustmentArrayOutput) ToPolicyStepAdjustmentArrayOutputWithContext ¶
func (o PolicyStepAdjustmentArrayOutput) ToPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepAdjustmentArrayOutput
type PolicyStepAdjustmentInput ¶
type PolicyStepAdjustmentInput interface { pulumi.Input ToPolicyStepAdjustmentOutput() PolicyStepAdjustmentOutput ToPolicyStepAdjustmentOutputWithContext(context.Context) PolicyStepAdjustmentOutput }
PolicyStepAdjustmentInput is an input type that accepts PolicyStepAdjustmentArgs and PolicyStepAdjustmentOutput values. You can construct a concrete instance of `PolicyStepAdjustmentInput` via:
PolicyStepAdjustmentArgs{...}
type PolicyStepAdjustmentOutput ¶
type PolicyStepAdjustmentOutput struct{ *pulumi.OutputState }
func (PolicyStepAdjustmentOutput) ElementType ¶
func (PolicyStepAdjustmentOutput) ElementType() reflect.Type
func (PolicyStepAdjustmentOutput) MetricIntervalLowerBound ¶
func (o PolicyStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.StringPtrOutput
The lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity.
func (PolicyStepAdjustmentOutput) MetricIntervalUpperBound ¶
func (o PolicyStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.StringPtrOutput
The upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound.
func (PolicyStepAdjustmentOutput) ScalingAdjustment ¶
func (o PolicyStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput
The number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
func (PolicyStepAdjustmentOutput) ToPolicyStepAdjustmentOutput ¶
func (o PolicyStepAdjustmentOutput) ToPolicyStepAdjustmentOutput() PolicyStepAdjustmentOutput
func (PolicyStepAdjustmentOutput) ToPolicyStepAdjustmentOutputWithContext ¶
func (o PolicyStepAdjustmentOutput) ToPolicyStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepAdjustmentOutput
type PolicyTargetTrackingConfiguration ¶
type PolicyTargetTrackingConfiguration struct { // A customized metric. Conflicts with `predefinedMetricSpecification`. CustomizedMetricSpecification *PolicyTargetTrackingConfigurationCustomizedMetricSpecification `pulumi:"customizedMetricSpecification"` // Indicates whether scale in by the target tracking policy is disabled. DisableScaleIn *bool `pulumi:"disableScaleIn"` // A predefined metric. Conflicts with `customizedMetricSpecification`. PredefinedMetricSpecification *PolicyTargetTrackingConfigurationPredefinedMetricSpecification `pulumi:"predefinedMetricSpecification"` // The target value for the metric. TargetValue float64 `pulumi:"targetValue"` }
type PolicyTargetTrackingConfigurationArgs ¶
type PolicyTargetTrackingConfigurationArgs struct { // A customized metric. Conflicts with `predefinedMetricSpecification`. CustomizedMetricSpecification PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput `pulumi:"customizedMetricSpecification"` // Indicates whether scale in by the target tracking policy is disabled. DisableScaleIn pulumi.BoolPtrInput `pulumi:"disableScaleIn"` // A predefined metric. Conflicts with `customizedMetricSpecification`. PredefinedMetricSpecification PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput `pulumi:"predefinedMetricSpecification"` // The target value for the metric. TargetValue pulumi.Float64Input `pulumi:"targetValue"` }
func (PolicyTargetTrackingConfigurationArgs) ElementType ¶
func (PolicyTargetTrackingConfigurationArgs) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationOutput ¶
func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationOutput() PolicyTargetTrackingConfigurationOutput
func (PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationOutput
func (PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationPtrOutput ¶
func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput
func (PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationPtrOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationArgs) ToPolicyTargetTrackingConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPtrOutput
type PolicyTargetTrackingConfigurationCustomizedMetricSpecification ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecification struct { // The dimensions of the metric. MetricDimensions []PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimension `pulumi:"metricDimensions"` // The name of the metric. MetricName string `pulumi:"metricName"` // The namespace of the metric. Namespace string `pulumi:"namespace"` // The statistic of the metric. Statistic string `pulumi:"statistic"` // The unit of the metric. Unit *string `pulumi:"unit"` }
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs struct { // The dimensions of the metric. MetricDimensions PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayInput `pulumi:"metricDimensions"` // The name of the metric. MetricName pulumi.StringInput `pulumi:"metricName"` // The namespace of the metric. Namespace pulumi.StringInput `pulumi:"namespace"` // The statistic of the metric. Statistic pulumi.StringInput `pulumi:"statistic"` // The unit of the metric. Unit pulumi.StringPtrInput `pulumi:"unit"` }
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationInput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext(context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput }
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationInput is an input type that accepts PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs and PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationCustomizedMetricSpecificationInput` via:
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs{...}
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs struct { // The name of the dimension. Name pulumi.StringInput `pulumi:"name"` // The value of the dimension. Value pulumi.StringInput `pulumi:"value"` }
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray []PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionInput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayInput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext(context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput }
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayInput is an input type that accepts PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray and PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayInput` via:
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArray{ PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs{...} }
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) Index ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionInput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext(context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput }
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionInput is an input type that accepts PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs and PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionInput` via:
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArgs{...}
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) Name ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) Name() pulumi.StringOutput
The name of the dimension.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) Value ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionOutput) Value() pulumi.StringOutput
The value of the dimension.
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) MetricDimensions ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) MetricDimensions() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
The dimensions of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) MetricName ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) MetricName() pulumi.StringOutput
The name of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Namespace ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Namespace() pulumi.StringOutput
The namespace of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Statistic ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Statistic() pulumi.StringOutput
The statistic of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Unit ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationOutput) Unit() pulumi.StringPtrOutput
The unit of the metric.
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput }
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput is an input type that accepts PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs, PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtr and PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput` via:
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs{...} or: nil
func PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtr ¶
func PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtr(v *PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrInput
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput ¶
type PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) MetricDimensions ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) MetricDimensions() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricDimensionArrayOutput
The dimensions of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) MetricName ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) MetricName() pulumi.StringPtrOutput
The name of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Namespace ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Statistic ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Statistic() pulumi.StringPtrOutput
The statistic of the metric.
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Unit ¶
func (o PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput) Unit() pulumi.StringPtrOutput
The unit of the metric.
type PolicyTargetTrackingConfigurationInput ¶
type PolicyTargetTrackingConfigurationInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationOutput() PolicyTargetTrackingConfigurationOutput ToPolicyTargetTrackingConfigurationOutputWithContext(context.Context) PolicyTargetTrackingConfigurationOutput }
PolicyTargetTrackingConfigurationInput is an input type that accepts PolicyTargetTrackingConfigurationArgs and PolicyTargetTrackingConfigurationOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationInput` via:
PolicyTargetTrackingConfigurationArgs{...}
type PolicyTargetTrackingConfigurationOutput ¶
type PolicyTargetTrackingConfigurationOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationOutput) CustomizedMetricSpecification ¶
func (o PolicyTargetTrackingConfigurationOutput) CustomizedMetricSpecification() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
A customized metric. Conflicts with `predefinedMetricSpecification`.
func (PolicyTargetTrackingConfigurationOutput) DisableScaleIn ¶
func (o PolicyTargetTrackingConfigurationOutput) DisableScaleIn() pulumi.BoolPtrOutput
Indicates whether scale in by the target tracking policy is disabled.
func (PolicyTargetTrackingConfigurationOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationOutput) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationOutput) PredefinedMetricSpecification ¶
func (o PolicyTargetTrackingConfigurationOutput) PredefinedMetricSpecification() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
A predefined metric. Conflicts with `customizedMetricSpecification`.
func (PolicyTargetTrackingConfigurationOutput) TargetValue ¶
func (o PolicyTargetTrackingConfigurationOutput) TargetValue() pulumi.Float64Output
The target value for the metric.
func (PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationOutput ¶
func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationOutput() PolicyTargetTrackingConfigurationOutput
func (PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationOutput
func (PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationPtrOutput ¶
func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput
func (PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationPtrOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationOutput) ToPolicyTargetTrackingConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPtrOutput
type PolicyTargetTrackingConfigurationPredefinedMetricSpecification ¶
type PolicyTargetTrackingConfigurationPredefinedMetricSpecification struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel *string `pulumi:"resourceLabel"` }
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs ¶
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs struct { // Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"` }
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ElementType ¶
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput ¶
func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput ¶
func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext ¶
func (i PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationInput ¶
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext(context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput }
PolicyTargetTrackingConfigurationPredefinedMetricSpecificationInput is an input type that accepts PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs and PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationPredefinedMetricSpecificationInput` via:
PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs{...}
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput ¶
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) PredefinedMetricType ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ResourceLabel ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput ¶
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput }
PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput is an input type that accepts PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs, PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtr and PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput` via:
PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs{...} or: nil
func PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtr ¶
func PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtr(v *PolicyTargetTrackingConfigurationPredefinedMetricSpecificationArgs) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrInput
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput ¶
type PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) PredefinedMetricType ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ResourceLabel ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group.
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
func (PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
type PolicyTargetTrackingConfigurationPtrInput ¶
type PolicyTargetTrackingConfigurationPtrInput interface { pulumi.Input ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput ToPolicyTargetTrackingConfigurationPtrOutputWithContext(context.Context) PolicyTargetTrackingConfigurationPtrOutput }
PolicyTargetTrackingConfigurationPtrInput is an input type that accepts PolicyTargetTrackingConfigurationArgs, PolicyTargetTrackingConfigurationPtr and PolicyTargetTrackingConfigurationPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingConfigurationPtrInput` via:
PolicyTargetTrackingConfigurationArgs{...} or: nil
func PolicyTargetTrackingConfigurationPtr ¶
func PolicyTargetTrackingConfigurationPtr(v *PolicyTargetTrackingConfigurationArgs) PolicyTargetTrackingConfigurationPtrInput
type PolicyTargetTrackingConfigurationPtrOutput ¶
type PolicyTargetTrackingConfigurationPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingConfigurationPtrOutput) CustomizedMetricSpecification ¶
func (o PolicyTargetTrackingConfigurationPtrOutput) CustomizedMetricSpecification() PolicyTargetTrackingConfigurationCustomizedMetricSpecificationPtrOutput
A customized metric. Conflicts with `predefinedMetricSpecification`.
func (PolicyTargetTrackingConfigurationPtrOutput) DisableScaleIn ¶
func (o PolicyTargetTrackingConfigurationPtrOutput) DisableScaleIn() pulumi.BoolPtrOutput
Indicates whether scale in by the target tracking policy is disabled.
func (PolicyTargetTrackingConfigurationPtrOutput) ElementType ¶
func (PolicyTargetTrackingConfigurationPtrOutput) ElementType() reflect.Type
func (PolicyTargetTrackingConfigurationPtrOutput) PredefinedMetricSpecification ¶
func (o PolicyTargetTrackingConfigurationPtrOutput) PredefinedMetricSpecification() PolicyTargetTrackingConfigurationPredefinedMetricSpecificationPtrOutput
A predefined metric. Conflicts with `customizedMetricSpecification`.
func (PolicyTargetTrackingConfigurationPtrOutput) TargetValue ¶
func (o PolicyTargetTrackingConfigurationPtrOutput) TargetValue() pulumi.Float64PtrOutput
The target value for the metric.
func (PolicyTargetTrackingConfigurationPtrOutput) ToPolicyTargetTrackingConfigurationPtrOutput ¶
func (o PolicyTargetTrackingConfigurationPtrOutput) ToPolicyTargetTrackingConfigurationPtrOutput() PolicyTargetTrackingConfigurationPtrOutput
func (PolicyTargetTrackingConfigurationPtrOutput) ToPolicyTargetTrackingConfigurationPtrOutputWithContext ¶
func (o PolicyTargetTrackingConfigurationPtrOutput) ToPolicyTargetTrackingConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingConfigurationPtrOutput
type Schedule ¶
type Schedule struct { pulumi.CustomResourceState // The ARN assigned by AWS to the autoscaling schedule. Arn pulumi.StringOutput `pulumi:"arn"` // The name or Amazon Resource Name (ARN) of the Auto Scaling group. AutoscalingGroupName pulumi.StringOutput `pulumi:"autoscalingGroupName"` // The number of EC2 instances that should be running in the group. Default 0. Set to -1 if you don't want to change the desired capacity at the scheduled time. DesiredCapacity pulumi.IntOutput `pulumi:"desiredCapacity"` // The time for this action to end, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). // If you try to schedule your action in the past, Auto Scaling returns an error message. EndTime pulumi.StringOutput `pulumi:"endTime"` // The maximum size for the Auto Scaling group. Default 0. // Set to -1 if you don't want to change the maximum size at the scheduled time. MaxSize pulumi.IntOutput `pulumi:"maxSize"` // The minimum size for the Auto Scaling group. Default 0. // Set to -1 if you don't want to change the minimum size at the scheduled time. MinSize pulumi.IntOutput `pulumi:"minSize"` // The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. Recurrence pulumi.StringOutput `pulumi:"recurrence"` // The name of this scaling action. ScheduledActionName pulumi.StringOutput `pulumi:"scheduledActionName"` // The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). // If you try to schedule your action in the past, Auto Scaling returns an error message. StartTime pulumi.StringOutput `pulumi:"startTime"` // The timezone for the cron expression. Valid values are the canonical names of the IANA time zones (such as Etc/GMT+9 or Pacific/Tahiti). TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
Provides an AutoScaling Schedule resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foobarGroup, err := autoscaling.NewGroup(ctx, "foobarGroup", &autoscaling.GroupArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), }, MaxSize: pulumi.Int(1), MinSize: pulumi.Int(1), HealthCheckGracePeriod: pulumi.Int(300), HealthCheckType: pulumi.String("ELB"), ForceDelete: pulumi.Bool(true), TerminationPolicies: pulumi.StringArray{ pulumi.String("OldestInstance"), }, }) if err != nil { return err } _, err = autoscaling.NewSchedule(ctx, "foobarSchedule", &autoscaling.ScheduleArgs{ ScheduledActionName: pulumi.String("foobar"), MinSize: pulumi.Int(0), MaxSize: pulumi.Int(1), DesiredCapacity: pulumi.Int(0), StartTime: pulumi.String("2016-12-11T18:00:00Z"), EndTime: pulumi.String("2016-12-12T06:00:00Z"), AutoscalingGroupName: foobarGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
AutoScaling ScheduledAction can be imported using the `auto-scaling-group-name` and `scheduled-action-name`, e.g.,
```sh
$ pulumi import aws:autoscaling/schedule:Schedule resource-name auto-scaling-group-name/scheduled-action-name
```
func GetSchedule ¶
func GetSchedule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)
GetSchedule gets an existing Schedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSchedule ¶
func NewSchedule(ctx *pulumi.Context, name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)
NewSchedule registers a new resource with the given unique name, arguments, and options.
func (*Schedule) ElementType ¶
func (*Schedule) ToScheduleOutput ¶
func (i *Schedule) ToScheduleOutput() ScheduleOutput
func (*Schedule) ToScheduleOutputWithContext ¶
func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
type ScheduleArgs ¶
type ScheduleArgs struct { // The name or Amazon Resource Name (ARN) of the Auto Scaling group. AutoscalingGroupName pulumi.StringInput // The number of EC2 instances that should be running in the group. Default 0. Set to -1 if you don't want to change the desired capacity at the scheduled time. DesiredCapacity pulumi.IntPtrInput // The time for this action to end, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). // If you try to schedule your action in the past, Auto Scaling returns an error message. EndTime pulumi.StringPtrInput // The maximum size for the Auto Scaling group. Default 0. // Set to -1 if you don't want to change the maximum size at the scheduled time. MaxSize pulumi.IntPtrInput // The minimum size for the Auto Scaling group. Default 0. // Set to -1 if you don't want to change the minimum size at the scheduled time. MinSize pulumi.IntPtrInput // The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. Recurrence pulumi.StringPtrInput // The name of this scaling action. ScheduledActionName pulumi.StringInput // The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). // If you try to schedule your action in the past, Auto Scaling returns an error message. StartTime pulumi.StringPtrInput // The timezone for the cron expression. Valid values are the canonical names of the IANA time zones (such as Etc/GMT+9 or Pacific/Tahiti). TimeZone pulumi.StringPtrInput }
The set of arguments for constructing a Schedule resource.
func (ScheduleArgs) ElementType ¶
func (ScheduleArgs) ElementType() reflect.Type
type ScheduleArray ¶
type ScheduleArray []ScheduleInput
func (ScheduleArray) ElementType ¶
func (ScheduleArray) ElementType() reflect.Type
func (ScheduleArray) ToScheduleArrayOutput ¶
func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput
func (ScheduleArray) ToScheduleArrayOutputWithContext ¶
func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput
type ScheduleArrayInput ¶
type ScheduleArrayInput interface { pulumi.Input ToScheduleArrayOutput() ScheduleArrayOutput ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput }
ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:
ScheduleArray{ ScheduleArgs{...} }
type ScheduleArrayOutput ¶
type ScheduleArrayOutput struct{ *pulumi.OutputState }
func (ScheduleArrayOutput) ElementType ¶
func (ScheduleArrayOutput) ElementType() reflect.Type
func (ScheduleArrayOutput) Index ¶
func (o ScheduleArrayOutput) Index(i pulumi.IntInput) ScheduleOutput
func (ScheduleArrayOutput) ToScheduleArrayOutput ¶
func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput
func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext ¶
func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput
type ScheduleInput ¶
type ScheduleInput interface { pulumi.Input ToScheduleOutput() ScheduleOutput ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput }
type ScheduleMap ¶
type ScheduleMap map[string]ScheduleInput
func (ScheduleMap) ElementType ¶
func (ScheduleMap) ElementType() reflect.Type
func (ScheduleMap) ToScheduleMapOutput ¶
func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput
func (ScheduleMap) ToScheduleMapOutputWithContext ¶
func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput
type ScheduleMapInput ¶
type ScheduleMapInput interface { pulumi.Input ToScheduleMapOutput() ScheduleMapOutput ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput }
ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:
ScheduleMap{ "key": ScheduleArgs{...} }
type ScheduleMapOutput ¶
type ScheduleMapOutput struct{ *pulumi.OutputState }
func (ScheduleMapOutput) ElementType ¶
func (ScheduleMapOutput) ElementType() reflect.Type
func (ScheduleMapOutput) MapIndex ¶
func (o ScheduleMapOutput) MapIndex(k pulumi.StringInput) ScheduleOutput
func (ScheduleMapOutput) ToScheduleMapOutput ¶
func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput
func (ScheduleMapOutput) ToScheduleMapOutputWithContext ¶
func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput
type ScheduleOutput ¶
type ScheduleOutput struct{ *pulumi.OutputState }
func (ScheduleOutput) ElementType ¶
func (ScheduleOutput) ElementType() reflect.Type
func (ScheduleOutput) ToScheduleOutput ¶
func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput
func (ScheduleOutput) ToScheduleOutputWithContext ¶
func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
type ScheduleState ¶
type ScheduleState struct { // The ARN assigned by AWS to the autoscaling schedule. Arn pulumi.StringPtrInput // The name or Amazon Resource Name (ARN) of the Auto Scaling group. AutoscalingGroupName pulumi.StringPtrInput // The number of EC2 instances that should be running in the group. Default 0. Set to -1 if you don't want to change the desired capacity at the scheduled time. DesiredCapacity pulumi.IntPtrInput // The time for this action to end, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). // If you try to schedule your action in the past, Auto Scaling returns an error message. EndTime pulumi.StringPtrInput // The maximum size for the Auto Scaling group. Default 0. // Set to -1 if you don't want to change the maximum size at the scheduled time. MaxSize pulumi.IntPtrInput // The minimum size for the Auto Scaling group. Default 0. // Set to -1 if you don't want to change the minimum size at the scheduled time. MinSize pulumi.IntPtrInput // The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. Recurrence pulumi.StringPtrInput // The name of this scaling action. ScheduledActionName pulumi.StringPtrInput // The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). // If you try to schedule your action in the past, Auto Scaling returns an error message. StartTime pulumi.StringPtrInput // The timezone for the cron expression. Valid values are the canonical names of the IANA time zones (such as Etc/GMT+9 or Pacific/Tahiti). TimeZone pulumi.StringPtrInput }
func (ScheduleState) ElementType ¶
func (ScheduleState) ElementType() reflect.Type
type Tag ¶ added in v4.18.0
type Tag struct { pulumi.CustomResourceState // The name of the Autoscaling Group to apply the tag to. AutoscalingGroupName pulumi.StringOutput `pulumi:"autoscalingGroupName"` // The tag to create. The `tag` block is documented below. Tag TagTagOutput `pulumi:"tag"` }
## Import
`aws_autoscaling_group_tag` can be imported by using the ASG name and key, separated by a comma (`,`), e.g.,
```sh
$ pulumi import aws:autoscaling/tag:Tag example asg-example,k8s.io/cluster-autoscaler/node-template/label/eks.amazonaws.com/capacityType
```
func GetTag ¶ added in v4.18.0
func GetTag(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)
GetTag gets an existing Tag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTag ¶ added in v4.18.0
func NewTag(ctx *pulumi.Context, name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)
NewTag registers a new resource with the given unique name, arguments, and options.
func (*Tag) ElementType ¶ added in v4.18.0
func (*Tag) ToTagOutput ¶ added in v4.18.0
type TagArgs ¶ added in v4.18.0
type TagArgs struct { // The name of the Autoscaling Group to apply the tag to. AutoscalingGroupName pulumi.StringInput // The tag to create. The `tag` block is documented below. Tag TagTagInput }
The set of arguments for constructing a Tag resource.
func (TagArgs) ElementType ¶ added in v4.18.0
type TagArray ¶ added in v4.18.0
type TagArray []TagInput
func (TagArray) ElementType ¶ added in v4.18.0
func (TagArray) ToTagArrayOutput ¶ added in v4.18.0
func (i TagArray) ToTagArrayOutput() TagArrayOutput
func (TagArray) ToTagArrayOutputWithContext ¶ added in v4.18.0
func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagArrayInput ¶ added in v4.18.0
type TagArrayInput interface { pulumi.Input ToTagArrayOutput() TagArrayOutput ToTagArrayOutputWithContext(context.Context) TagArrayOutput }
TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:
TagArray{ TagArgs{...} }
type TagArrayOutput ¶ added in v4.18.0
type TagArrayOutput struct{ *pulumi.OutputState }
func (TagArrayOutput) ElementType ¶ added in v4.18.0
func (TagArrayOutput) ElementType() reflect.Type
func (TagArrayOutput) Index ¶ added in v4.18.0
func (o TagArrayOutput) Index(i pulumi.IntInput) TagOutput
func (TagArrayOutput) ToTagArrayOutput ¶ added in v4.18.0
func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput
func (TagArrayOutput) ToTagArrayOutputWithContext ¶ added in v4.18.0
func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagMap ¶ added in v4.18.0
func (TagMap) ElementType ¶ added in v4.18.0
func (TagMap) ToTagMapOutput ¶ added in v4.18.0
func (i TagMap) ToTagMapOutput() TagMapOutput
func (TagMap) ToTagMapOutputWithContext ¶ added in v4.18.0
func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagMapInput ¶ added in v4.18.0
type TagMapInput interface { pulumi.Input ToTagMapOutput() TagMapOutput ToTagMapOutputWithContext(context.Context) TagMapOutput }
TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:
TagMap{ "key": TagArgs{...} }
type TagMapOutput ¶ added in v4.18.0
type TagMapOutput struct{ *pulumi.OutputState }
func (TagMapOutput) ElementType ¶ added in v4.18.0
func (TagMapOutput) ElementType() reflect.Type
func (TagMapOutput) MapIndex ¶ added in v4.18.0
func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput
func (TagMapOutput) ToTagMapOutput ¶ added in v4.18.0
func (o TagMapOutput) ToTagMapOutput() TagMapOutput
func (TagMapOutput) ToTagMapOutputWithContext ¶ added in v4.18.0
func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagOutput ¶ added in v4.18.0
type TagOutput struct{ *pulumi.OutputState }
func (TagOutput) ElementType ¶ added in v4.18.0
func (TagOutput) ToTagOutput ¶ added in v4.18.0
type TagState ¶ added in v4.18.0
type TagState struct { // The name of the Autoscaling Group to apply the tag to. AutoscalingGroupName pulumi.StringPtrInput // The tag to create. The `tag` block is documented below. Tag TagTagPtrInput }
func (TagState) ElementType ¶ added in v4.18.0
type TagTagArgs ¶ added in v4.18.0
type TagTagArgs struct { // Tag name. Key pulumi.StringInput `pulumi:"key"` // Whether to propagate the tags to instances launched by the ASG. PropagateAtLaunch pulumi.BoolInput `pulumi:"propagateAtLaunch"` // Tag value. Value pulumi.StringInput `pulumi:"value"` }
func (TagTagArgs) ElementType ¶ added in v4.18.0
func (TagTagArgs) ElementType() reflect.Type
func (TagTagArgs) ToTagTagOutput ¶ added in v4.18.0
func (i TagTagArgs) ToTagTagOutput() TagTagOutput
func (TagTagArgs) ToTagTagOutputWithContext ¶ added in v4.18.0
func (i TagTagArgs) ToTagTagOutputWithContext(ctx context.Context) TagTagOutput
func (TagTagArgs) ToTagTagPtrOutput ¶ added in v4.18.0
func (i TagTagArgs) ToTagTagPtrOutput() TagTagPtrOutput
func (TagTagArgs) ToTagTagPtrOutputWithContext ¶ added in v4.18.0
func (i TagTagArgs) ToTagTagPtrOutputWithContext(ctx context.Context) TagTagPtrOutput
type TagTagInput ¶ added in v4.18.0
type TagTagInput interface { pulumi.Input ToTagTagOutput() TagTagOutput ToTagTagOutputWithContext(context.Context) TagTagOutput }
TagTagInput is an input type that accepts TagTagArgs and TagTagOutput values. You can construct a concrete instance of `TagTagInput` via:
TagTagArgs{...}
type TagTagOutput ¶ added in v4.18.0
type TagTagOutput struct{ *pulumi.OutputState }
func (TagTagOutput) ElementType ¶ added in v4.18.0
func (TagTagOutput) ElementType() reflect.Type
func (TagTagOutput) Key ¶ added in v4.18.0
func (o TagTagOutput) Key() pulumi.StringOutput
Tag name.
func (TagTagOutput) PropagateAtLaunch ¶ added in v4.18.0
func (o TagTagOutput) PropagateAtLaunch() pulumi.BoolOutput
Whether to propagate the tags to instances launched by the ASG.
func (TagTagOutput) ToTagTagOutput ¶ added in v4.18.0
func (o TagTagOutput) ToTagTagOutput() TagTagOutput
func (TagTagOutput) ToTagTagOutputWithContext ¶ added in v4.18.0
func (o TagTagOutput) ToTagTagOutputWithContext(ctx context.Context) TagTagOutput
func (TagTagOutput) ToTagTagPtrOutput ¶ added in v4.18.0
func (o TagTagOutput) ToTagTagPtrOutput() TagTagPtrOutput
func (TagTagOutput) ToTagTagPtrOutputWithContext ¶ added in v4.18.0
func (o TagTagOutput) ToTagTagPtrOutputWithContext(ctx context.Context) TagTagPtrOutput
func (TagTagOutput) Value ¶ added in v4.18.0
func (o TagTagOutput) Value() pulumi.StringOutput
Tag value.
type TagTagPtrInput ¶ added in v4.18.0
type TagTagPtrInput interface { pulumi.Input ToTagTagPtrOutput() TagTagPtrOutput ToTagTagPtrOutputWithContext(context.Context) TagTagPtrOutput }
TagTagPtrInput is an input type that accepts TagTagArgs, TagTagPtr and TagTagPtrOutput values. You can construct a concrete instance of `TagTagPtrInput` via:
TagTagArgs{...} or: nil
func TagTagPtr ¶ added in v4.18.0
func TagTagPtr(v *TagTagArgs) TagTagPtrInput
type TagTagPtrOutput ¶ added in v4.18.0
type TagTagPtrOutput struct{ *pulumi.OutputState }
func (TagTagPtrOutput) Elem ¶ added in v4.18.0
func (o TagTagPtrOutput) Elem() TagTagOutput
func (TagTagPtrOutput) ElementType ¶ added in v4.18.0
func (TagTagPtrOutput) ElementType() reflect.Type
func (TagTagPtrOutput) Key ¶ added in v4.18.0
func (o TagTagPtrOutput) Key() pulumi.StringPtrOutput
Tag name.
func (TagTagPtrOutput) PropagateAtLaunch ¶ added in v4.18.0
func (o TagTagPtrOutput) PropagateAtLaunch() pulumi.BoolPtrOutput
Whether to propagate the tags to instances launched by the ASG.
func (TagTagPtrOutput) ToTagTagPtrOutput ¶ added in v4.18.0
func (o TagTagPtrOutput) ToTagTagPtrOutput() TagTagPtrOutput
func (TagTagPtrOutput) ToTagTagPtrOutputWithContext ¶ added in v4.18.0
func (o TagTagPtrOutput) ToTagTagPtrOutputWithContext(ctx context.Context) TagTagPtrOutput
func (TagTagPtrOutput) Value ¶ added in v4.18.0
func (o TagTagPtrOutput) Value() pulumi.StringPtrOutput
Tag value.