Interface TagCondition

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.668Z") @Stability(Stable) public interface TagCondition extends
A tag condition.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 TagCondition tagCondition = TagCondition.builder()
         // the properties below are optional
  • Method Details

    • getKey

      @Stability(Stable) @NotNull String getKey()
      The key in a key-value pair.

      For example, in "ec2:ResourceTag/Department": "accounting", ec2:ResourceTag/Department is the key.

    • getValue

      @Stability(Stable) @NotNull String getValue()
      The value in a key-value pair.

      For example, in "ec2:ResourceTag/Department": "accounting", accounting is the value.

    • getOperation

      @Stability(Stable) @Nullable default TagOperation getOperation()
      An operation that is applied to a key-value pair used to filter resources in a selection.

      Default: STRING_EQUALS

    • builder

      @Stability(Stable) static TagCondition.Builder builder()
      a TagCondition.Builder of TagCondition