Interface PolicyConfiguration.Builder

  • Method Details

    • jobType

      The type of impact analysis job. Currently only SCP (Service Control Policy) is supported.

      Parameters:
      jobType - The type of impact analysis job. Currently only SCP (Service Control Policy) is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      The type of impact analysis job. Currently only SCP (Service Control Policy) is supported.

      Parameters:
      jobType - The type of impact analysis job. Currently only SCP (Service Control Policy) is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetId

      PolicyConfiguration.Builder targetId(String targetId)

      The identifier of the target resource for the policy analysis. This can be an Amazon Web Services account ID (12-digit number), an organization root ID (format: r-[0-9a-z]{4,32}), or an organizational unit ID (format: ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}).

      Parameters:
      targetId - The identifier of the target resource for the policy analysis. This can be an Amazon Web Services account ID (12-digit number), an organization root ID (format: r-[0-9a-z]{4,32}), or an organizational unit ID (format: ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocumentsList

      PolicyConfiguration.Builder policyDocumentsList(Collection<String> policyDocumentsList)

      A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.

      Parameters:
      policyDocumentsList - A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocumentsList

      PolicyConfiguration.Builder policyDocumentsList(String... policyDocumentsList)

      A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.

      Parameters:
      policyDocumentsList - A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.