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>,
       resourceId: Optional<String> } -> 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>
Argument: resourceId

Resource ID of the resource to import with Fugue Import. This field is only honored on fugue run. The resource ID is the ARN. Mutable. Example: arn:aws:iam::aws:policy/AdministratorAccess

Type: Optional<String>

Returns:

A Fugue.AWS.IAM.ManagedPolicy record.

Type: ManagedPolicy