getPolicy

Data source for managing an AWS Organizations Policy. {{% examples %}}

Example Usage

{{% /examples %}}

Return

A collection of values returned by getPolicy.

Parameters

argument

A collection of arguments for invoking getPolicy.


suspend fun getPolicy(policyId: String): GetPolicyResult

Return

A collection of values returned by getPolicy.

Parameters

policyId

The unique identifier (ID) of the policy that you want more details on. Policy id starts with a "p-" followed by 8-28 lowercase or uppercase letters, digits, and underscores.

See also


suspend fun getPolicy(argument: suspend GetPolicyPlainArgsBuilder.() -> Unit): GetPolicyResult

Return

A collection of values returned by getPolicy.

Parameters

argument

Builder for com.pulumi.aws.organizations.kotlin.inputs.GetPolicyPlainArgs.

See also