Class GetPolicyDocumentArgs


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

      • overrideJson

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> overrideJson()
        Deprecated.
        override_json is deprecated. This argument is retained only for backward compatibility with previous versions of this data source.
      • overridePolicyDocuments

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> overridePolicyDocuments()
        Returns:
        List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid` from earlier documents in the list. Statements with non-blank `sid`s will also override statements with the same `sid` from `sourcePolicyDocuments`. Non-overriding statements will be added to the exported document.
      • policyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> policyId()
        Returns:
        ID for the policy document.
      • sourceJson

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceJson()
        Deprecated.
        source_json is deprecated. This argument is retained only for backward compatibility with previous versions of this data source.
      • sourcePolicyDocuments

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> sourcePolicyDocuments()
        Returns:
        List of IAM policy documents that are merged together into the exported document. Statements defined in `sourcePolicyDocuments` must have unique `sid`s. Statements with the same `sid` from `overridePolicyDocuments` will override source statements.
      • statements

        public java.util.Optional<com.pulumi.core.Output<java.util.List<GetPolicyDocumentStatementArgs>>> statements()
        Returns:
        Configuration block for a policy statement. Detailed below.
      • version

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> version()
        Returns:
        IAM policy document version. Valid values are `2008-10-17` and `2012-10-17`. Defaults to `2012-10-17`. For more information, see the [AWS IAM User Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_version.html).