Class GetCoreNetworkPolicyDocumentAttachmentPolicyAction


  • public final class GetCoreNetworkPolicyDocumentAttachmentPolicyAction
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • addToNetworkFunctionGroup

        public java.util.Optional<java.lang.String> addToNetworkFunctionGroup()
        Returns:
        The name of the network function group to attach to the attachment policy.
      • associationMethod

        public java.util.Optional<java.lang.String> associationMethod()
        Returns:
        Defines how a segment is mapped. Values can be `constant` or `tag`. `constant` statically defines the segment to associate the attachment to. `tag` uses the value of a tag to dynamically try to map to a segment.reference_policies_elements_condition_operators.html) to evaluate.
      • requireAcceptance

        public java.util.Optional<java.lang.Boolean> requireAcceptance()
        Returns:
        Determines if this mapping should override the segment value for `requireAttachmentAcceptance`. You can only set this to `true`, indicating that this setting applies only to segments that have `requireAttachmentAcceptance` set to `false`. If the segment already has the default `requireAttachmentAcceptance`, you can set this to inherit segment’s acceptance value.
      • segment

        public java.util.Optional<java.lang.String> segment()
        Returns:
        Name of the `segment` to share as defined in the `segments` section. This is used only when the `associationMethod` is `constant`.
      • tagValueOfKey

        public java.util.Optional<java.lang.String> tagValueOfKey()
        Returns:
        Maps the attachment to the value of a known key. This is used with the `associationMethod` is `tag`. For example a `tag` of `stage = “test”`, will map to a segment named `test`. The value must exactly match the name of a segment. This allows you to have many segments, but use only a single rule without having to define multiple nearly identical conditions. This prevents creating many similar conditions that all use the same keys to map to segments.