Fugue.AWS.IAM.ManagedPolicy

Constructors and helper functions for IAM ManagedPolicy records

Table of Contents

Module Members

external

(Function)

Create a reference to an externally managed ManagedPolicy.

Example usage:

profile: IAM.ManagedPolicy.external("arn:aws:iam::123456789012:policy/ExternalPolicy")

Type Signature

 fun (String) -> ManagedPolicy
Argument: arn

The ARN of the target ManagedPolicy.

Type: String

Returns:

A reference to the specified ManagedPolicy.

Type: ManagedPolicy

new

(Function)

ManagedPolicy Constructor

Call this constructor to create a new Fugue.AWS.IAM.ManagedPolicy value.

Type Signature

 fun { policyName: String,
       policyDocument: String,
       path: Optional<String>,
       description: Optional<String>,
       version: Optional<NotImplemented> } -> ManagedPolicy
Argument: policyName

The name of the policy.

Type: String

Argument: policyDocument

The JSON policy document that defines the policy. Mutable.

Type: String

Argument: path

The path for the policy.

Type: Optional<String>

Argument: description

A friendly description of the policy.

Type: Optional<String>

Argument: version
Type: Optional<NotImplemented>
Returns:

A Fugue.AWS.IAM.ManagedPolicy record.

Type: ManagedPolicy