Modifier and Type | Method and Description |
---|---|
RemoveTag.Builder |
applyToLaunchedInstances(Boolean applyToLaunchedInstances)
(experimental) Whether the tag should be applied to instances in an AutoScalingGroup.
|
RemoveTag |
build() |
static RemoveTag.Builder |
create(String key) |
RemoveTag.Builder |
excludeResourceTypes(List<String> excludeResourceTypes)
(experimental) An array of Resource Types that will not receive this tag.
|
RemoveTag.Builder |
includeResourceTypes(List<String> includeResourceTypes)
(experimental) An array of Resource Types that will receive this tag.
|
RemoveTag.Builder |
priority(Number priority)
(experimental) Priority of the tag operation.
|
@Stability(value=Experimental) public static RemoveTag.Builder create(String key)
key
- This parameter is required.RemoveTag.Builder
.@Stability(value=Experimental) public RemoveTag.Builder applyToLaunchedInstances(Boolean applyToLaunchedInstances)
Default: true
applyToLaunchedInstances
- Whether the tag should be applied to instances in an AutoScalingGroup. This parameter is required.this
@Stability(value=Experimental) public RemoveTag.Builder excludeResourceTypes(List<String> excludeResourceTypes)
An empty array will allow this tag to be applied to all resources. A non-empty array will apply this tag only if the Resource type is not in this array.
Default: []
excludeResourceTypes
- An array of Resource Types that will not receive this tag. This parameter is required.this
@Stability(value=Experimental) public RemoveTag.Builder includeResourceTypes(List<String> includeResourceTypes)
An empty array will match any Resource. A non-empty array will apply this tag only to Resource types that are included in this array.
Default: []
includeResourceTypes
- An array of Resource Types that will receive this tag. This parameter is required.this
@Stability(value=Experimental) public RemoveTag.Builder priority(Number priority)
Higher or equal priority tags will take precedence.
Setting priority will enable the user to control tags when they need to not follow the default precedence pattern of last applied and closest to the construct in the tree.
Default: Default priorities:
- 100 for SetTag
- 200 for RemoveTag
- 50 for tags added directly to CloudFormation resources
priority
- Priority of the tag operation. This parameter is required.this
Copyright © 2021. All rights reserved.