Fugue.AWS.EC2.PeerVpc

Module Members

managed

(Function)

managed PeerVpc (Constructor)

Call this constructor to create a new ManagedVpc value of type Fugue.Core.AWS.EC2.PeerVpc.

Values of type``PeerVpc`` are used to represent the accepting side of a vpc peering connection. A ManagedVpc is a reference to a Vpc managed by Fugue and defined in the same composition as the Vpc requesting the peering connection. Fugue is able to automatically accept a peering request to a managed vpc.

Type Signature

 fun { vpc: Vpc,
       options: Optional<PeeringOptions> } -> PeerVpc
Argument: vpc

The accepting vpc. Must not be an external (for example defined with EC2.Vpc.external).

Type: Vpc

Argument: options

The PeeringOptions to associate with the accepting side of the peering connection. Mutable.

Type: Optional<PeeringOptions>

Returns:

A Fugue.Core.AWS.EC2.PeerVpc value.

Type: PeerVpc

unmanaged

(Function)

unmanaged PeerVpc (Constructor)

Call this constructor to create a new UnmanagedVpc value of type Fugue.Core.AWS.EC2.PeerVpc.

Values of type``PeerVpc`` are used to represent the accepting side of a vpc peering connection. An UnmanagedVpc is a reference to a Vpc that is not managed by Fugue or is defined in a different composition than the Vpc requesting the peering connection. Peering requests to unmanaged vpcs must be accepted outside of Fugue.

Type Signature

 fun { vpcIdentifier: String,
       owner: String} -> PeerVpc
Argument: vpcIdentifier

The accepting vpc id. Must be of the form “vpc-XXXXXXX”.

Type: String

Argument: owner

The account id of the account where the target vpc was created.

Type: String

Returns:

A Fugue.Core.AWS.EC2.PeerVpc value.

Type: PeerVpc