@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:37:02.467Z")
public interface TagCondition
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.backup.*; TagCondition tagCondition = TagCondition.builder() .key("key") .value("value") // the properties below are optional .operation(TagOperation.STRING_EQUALS) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
TagCondition.Builder
A builder for
TagCondition |
static class |
TagCondition.Jsii$Proxy
An implementation for
TagCondition |
Modifier and Type | Method and Description |
---|---|
static TagCondition.Builder |
builder() |
java.lang.String |
getKey()
The key in a key-value pair.
|
default TagOperation |
getOperation()
An operation that is applied to a key-value pair used to filter resources in a selection.
|
java.lang.String |
getValue()
The value in a key-value pair.
|
java.lang.String getKey()
For example, in "ec2:ResourceTag/Department": "accounting"
,
ec2:ResourceTag/Department
is the key.
java.lang.String getValue()
For example, in "ec2:ResourceTag/Department": "accounting"
,
accounting
is the value.
default TagOperation getOperation()
Default: STRING_EQUALS
static TagCondition.Builder builder()
TagCondition.Builder
of TagCondition