@Stability(value=Stable)
public static interface CfnScalingPlan.ApplicationSourceProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscalingplans.*;
ApplicationSourceProperty applicationSourceProperty = ApplicationSourceProperty.builder()
.cloudFormationStackArn("cloudFormationStackArn")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
// the properties below are optional
.values(List.of("values"))
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScalingPlan.ApplicationSourceProperty.Builder
A builder for
CfnScalingPlan.ApplicationSourceProperty |
static class |
CfnScalingPlan.ApplicationSourceProperty.Jsii$Proxy
An implementation for
CfnScalingPlan.ApplicationSourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScalingPlan.ApplicationSourceProperty.Builder |
builder() |
default String |
getCloudFormationStackArn()
The Amazon Resource Name (ARN) of a CloudFormation stack.
|
default Object |
getTagFilters()
A set of tag filters (keys and values).
|
@Stability(value=Stable) @Nullable default String getCloudFormationStackArn()
You must specify either a CloudFormationStackARN or TagFilters .
@Stability(value=Stable) @Nullable default Object getTagFilters()
Each tag filter specified must contain a key with values as optional. Each scaling plan can include up to 50 keys, and each key can include up to 20 values.
Tags are part of the syntax that you use to specify the resources you want returned when configuring a scaling plan from the AWS Auto Scaling console. You do not need to specify valid tag filter values when you create a scaling plan with CloudFormation. The Key and Values properties can accept any value as long as the combination of values is unique across scaling plans. However, if you also want to use the AWS Auto Scaling console to edit the scaling plan, then you must specify valid values.
You must specify either a CloudFormationStackARN or TagFilters .
@Stability(value=Stable) static CfnScalingPlan.ApplicationSourceProperty.Builder builder()
Copyright © 2022. All rights reserved.