GetPolicyDocumentStatement

data class GetPolicyDocumentStatement(val actions: List<String>, val conditions: List<GetPolicyDocumentStatementCondition>? = null, val effect: String? = null, val principals: List<GetPolicyDocumentStatementPrincipal>? = null, val resources: List<String>? = null) : ConvertibleToJava<GetPolicyDocumentStatement>

Constructors

Link copied to clipboard
constructor(actions: List<String>, conditions: List<GetPolicyDocumentStatementCondition>? = null, effect: String? = null, principals: List<GetPolicyDocumentStatementPrincipal>? = null, resources: List<String>? = null)

Properties

Link copied to clipboard

Action of the RAM policy document. If you want to create a RAM role policy document, it must be ["sts:AssumeRole"].

Link copied to clipboard

Specifies the condition that are required for a policy to take effect. See condition below.

Link copied to clipboard
val effect: String? = null

This parameter indicates whether or not the action is allowed. Valid values are Allow and Deny. Default value is Allow. If you want to create a RAM role policy document, it must be Allow.

Link copied to clipboard

Principal of the RAM policy document. If you want to create a RAM role policy document, it must be set. See principal below.

Link copied to clipboard
val resources: List<String>? = null

List of specific objects which will be authorized. If you want to create a RAM policy document, it must be set.

Functions

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