GetPolicyDocumentPlainArgs

data class GetPolicyDocumentPlainArgs(val overrideJson: String? = null, val overridePolicyDocuments: List<String>? = null, val policyId: String? = null, val sourceJson: String? = null, val sourcePolicyDocuments: List<String>? = null, val statements: List<GetPolicyDocumentStatement>? = null, val version: String? = null) : ConvertibleToJava<GetPolicyDocumentPlainArgs>

A collection of arguments for invoking getPolicyDocument.

Constructors

Link copied to clipboard
constructor(overrideJson: String? = null, overridePolicyDocuments: List<String>? = null, policyId: String? = null, sourceJson: String? = null, sourcePolicyDocuments: List<String>? = null, statements: List<GetPolicyDocumentStatement>? = null, version: String? = null)

Properties

Link copied to clipboard
val overrideJson: String? = null

IAM policy document whose statements with non-blank sids will override statements with the same sid from documents assigned to the source_json, source_policy_documents, and override_policy_documents arguments. Non-overriding statements will be added to the exported document.

Link copied to clipboard

List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank sids will override statements with the same sid from earlier documents in the list. Statements with non-blank sids will also override statements with the same sid from documents provided in the source_json and source_policy_documents arguments. Non-overriding statements will be added to the exported document.

Link copied to clipboard
val policyId: String? = null

ID for the policy document.

Link copied to clipboard
val sourceJson: String? = null

IAM policy document used as a base for the exported policy document. Statements with the same sid from documents assigned to the override_json and override_policy_documents arguments will override source statements.

Link copied to clipboard

List of IAM policy documents that are merged together into the exported document. Statements defined in source_policy_documents or source_json must have unique sids. Statements with the same sid from documents assigned to the override_json and override_policy_documents arguments will override source statements.

Link copied to clipboard

Configuration block for a policy statement. Detailed below.

Link copied to clipboard
val version: String? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): GetPolicyDocumentPlainArgs