Documentation ¶
Index ¶
- func CfnScalingPlan_CFN_RESOURCE_TYPE_NAME() *string
- func CfnScalingPlan_IsCfnElement(x interface{}) *bool
- func CfnScalingPlan_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnScalingPlan_IsConstruct(x interface{}) *bool
- func NewCfnScalingPlan_Override(c CfnScalingPlan, scope awscdk.Construct, id *string, ...)
- type CfnScalingPlan
- type CfnScalingPlanProps
- type CfnScalingPlan_ApplicationSourceProperty
- type CfnScalingPlan_CustomizedLoadMetricSpecificationProperty
- type CfnScalingPlan_CustomizedScalingMetricSpecificationProperty
- type CfnScalingPlan_MetricDimensionProperty
- type CfnScalingPlan_PredefinedLoadMetricSpecificationProperty
- type CfnScalingPlan_PredefinedScalingMetricSpecificationProperty
- type CfnScalingPlan_ScalingInstructionProperty
- type CfnScalingPlan_TagFilterProperty
- type CfnScalingPlan_TargetTrackingConfigurationProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnScalingPlan_CFN_RESOURCE_TYPE_NAME ¶
func CfnScalingPlan_CFN_RESOURCE_TYPE_NAME() *string
func CfnScalingPlan_IsCfnElement ¶
func CfnScalingPlan_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnScalingPlan_IsCfnResource ¶
func CfnScalingPlan_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnScalingPlan_IsConstruct ¶
func CfnScalingPlan_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnScalingPlan_Override ¶
func NewCfnScalingPlan_Override(c CfnScalingPlan, scope awscdk.Construct, id *string, props *CfnScalingPlanProps)
Create a new `AWS::AutoScalingPlans::ScalingPlan`.
Types ¶
type CfnScalingPlan ¶
type CfnScalingPlan interface { awscdk.CfnResource awscdk.IInspectable ApplicationSource() interface{} SetApplicationSource(val interface{}) AttrScalingPlanName() *string AttrScalingPlanVersion() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode Ref() *string ScalingInstructions() interface{} SetScalingInstructions(val interface{}) Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::AutoScalingPlans::ScalingPlan`.
func NewCfnScalingPlan ¶
func NewCfnScalingPlan(scope awscdk.Construct, id *string, props *CfnScalingPlanProps) CfnScalingPlan
Create a new `AWS::AutoScalingPlans::ScalingPlan`.
type CfnScalingPlanProps ¶
type CfnScalingPlanProps struct { // `AWS::AutoScalingPlans::ScalingPlan.ApplicationSource`. ApplicationSource interface{} `json:"applicationSource"` // `AWS::AutoScalingPlans::ScalingPlan.ScalingInstructions`. ScalingInstructions interface{} `json:"scalingInstructions"` }
Properties for defining a `AWS::AutoScalingPlans::ScalingPlan`.
type CfnScalingPlan_ApplicationSourceProperty ¶
type CfnScalingPlan_ApplicationSourceProperty struct { // `CfnScalingPlan.ApplicationSourceProperty.CloudFormationStackARN`. CloudFormationStackArn *string `json:"cloudFormationStackArn"` // `CfnScalingPlan.ApplicationSourceProperty.TagFilters`. TagFilters interface{} `json:"tagFilters"` }
type CfnScalingPlan_CustomizedLoadMetricSpecificationProperty ¶
type CfnScalingPlan_CustomizedLoadMetricSpecificationProperty struct { // `CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.MetricName`. MetricName *string `json:"metricName"` // `CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Namespace`. Namespace *string `json:"namespace"` // `CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Statistic`. Statistic *string `json:"statistic"` // `CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Dimensions`. Dimensions interface{} `json:"dimensions"` // `CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Unit`. Unit *string `json:"unit"` }
type CfnScalingPlan_CustomizedScalingMetricSpecificationProperty ¶
type CfnScalingPlan_CustomizedScalingMetricSpecificationProperty struct { // `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.MetricName`. MetricName *string `json:"metricName"` // `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Namespace`. Namespace *string `json:"namespace"` // `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Statistic`. Statistic *string `json:"statistic"` // `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Dimensions`. Dimensions interface{} `json:"dimensions"` // `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Unit`. Unit *string `json:"unit"` }
type CfnScalingPlan_PredefinedLoadMetricSpecificationProperty ¶
type CfnScalingPlan_PredefinedLoadMetricSpecificationProperty struct { // `CfnScalingPlan.PredefinedLoadMetricSpecificationProperty.PredefinedLoadMetricType`. PredefinedLoadMetricType *string `json:"predefinedLoadMetricType"` // `CfnScalingPlan.PredefinedLoadMetricSpecificationProperty.ResourceLabel`. ResourceLabel *string `json:"resourceLabel"` }
type CfnScalingPlan_PredefinedScalingMetricSpecificationProperty ¶
type CfnScalingPlan_PredefinedScalingMetricSpecificationProperty struct { // `CfnScalingPlan.PredefinedScalingMetricSpecificationProperty.PredefinedScalingMetricType`. PredefinedScalingMetricType *string `json:"predefinedScalingMetricType"` // `CfnScalingPlan.PredefinedScalingMetricSpecificationProperty.ResourceLabel`. ResourceLabel *string `json:"resourceLabel"` }
type CfnScalingPlan_ScalingInstructionProperty ¶
type CfnScalingPlan_ScalingInstructionProperty struct { // `CfnScalingPlan.ScalingInstructionProperty.MaxCapacity`. MaxCapacity *float64 `json:"maxCapacity"` // `CfnScalingPlan.ScalingInstructionProperty.MinCapacity`. MinCapacity *float64 `json:"minCapacity"` // `CfnScalingPlan.ScalingInstructionProperty.ResourceId`. ResourceId *string `json:"resourceId"` // `CfnScalingPlan.ScalingInstructionProperty.ScalableDimension`. ScalableDimension *string `json:"scalableDimension"` // `CfnScalingPlan.ScalingInstructionProperty.ServiceNamespace`. ServiceNamespace *string `json:"serviceNamespace"` // `CfnScalingPlan.ScalingInstructionProperty.TargetTrackingConfigurations`. TargetTrackingConfigurations interface{} `json:"targetTrackingConfigurations"` // `CfnScalingPlan.ScalingInstructionProperty.CustomizedLoadMetricSpecification`. CustomizedLoadMetricSpecification interface{} `json:"customizedLoadMetricSpecification"` // `CfnScalingPlan.ScalingInstructionProperty.DisableDynamicScaling`. DisableDynamicScaling interface{} `json:"disableDynamicScaling"` // `CfnScalingPlan.ScalingInstructionProperty.PredefinedLoadMetricSpecification`. PredefinedLoadMetricSpecification interface{} `json:"predefinedLoadMetricSpecification"` // `CfnScalingPlan.ScalingInstructionProperty.PredictiveScalingMaxCapacityBehavior`. PredictiveScalingMaxCapacityBehavior *string `json:"predictiveScalingMaxCapacityBehavior"` // `CfnScalingPlan.ScalingInstructionProperty.PredictiveScalingMaxCapacityBuffer`. PredictiveScalingMaxCapacityBuffer *float64 `json:"predictiveScalingMaxCapacityBuffer"` // `CfnScalingPlan.ScalingInstructionProperty.PredictiveScalingMode`. PredictiveScalingMode *string `json:"predictiveScalingMode"` // `CfnScalingPlan.ScalingInstructionProperty.ScalingPolicyUpdateBehavior`. ScalingPolicyUpdateBehavior *string `json:"scalingPolicyUpdateBehavior"` // `CfnScalingPlan.ScalingInstructionProperty.ScheduledActionBufferTime`. ScheduledActionBufferTime *float64 `json:"scheduledActionBufferTime"` }
type CfnScalingPlan_TargetTrackingConfigurationProperty ¶
type CfnScalingPlan_TargetTrackingConfigurationProperty struct { // `CfnScalingPlan.TargetTrackingConfigurationProperty.TargetValue`. TargetValue *float64 `json:"targetValue"` // `CfnScalingPlan.TargetTrackingConfigurationProperty.CustomizedScalingMetricSpecification`. CustomizedScalingMetricSpecification interface{} `json:"customizedScalingMetricSpecification"` // `CfnScalingPlan.TargetTrackingConfigurationProperty.DisableScaleIn`. DisableScaleIn interface{} `json:"disableScaleIn"` // `CfnScalingPlan.TargetTrackingConfigurationProperty.EstimatedInstanceWarmup`. EstimatedInstanceWarmup *float64 `json:"estimatedInstanceWarmup"` // `CfnScalingPlan.TargetTrackingConfigurationProperty.PredefinedScalingMetricSpecification`. PredefinedScalingMetricSpecification interface{} `json:"predefinedScalingMetricSpecification"` // `CfnScalingPlan.TargetTrackingConfigurationProperty.ScaleInCooldown`. ScaleInCooldown *float64 `json:"scaleInCooldown"` // `CfnScalingPlan.TargetTrackingConfigurationProperty.ScaleOutCooldown`. ScaleOutCooldown *float64 `json:"scaleOutCooldown"` }