Class FlowLogTagFieldSpecification


  • public final class FlowLogTagFieldSpecification
    extends java.lang.Object
    • Method Detail

      • resourceType

        public java.lang.String resourceType()
        Returns:
        Resource type to associate the tag keys with. Valid values: `instance`, `network-interface`, `auto-scaling-group`.
      • tagKeys

        public java.util.List<java.lang.String> tagKeys()
        Returns:
        Ordered list of tag keys, on resources of `resourceType`, to display in Flow Log records. The position of each key determines which field it populates in `logFormat` (e.g., the first `instance` tag key populates `$${instance-tag}` and the second populates `$${instance-tag-2}`).