Skip to content

Resource: awsLightsailStaticIp

Allocates a static IP address.

\~> Note: Lightsail is currently only supported in a limited number of AWS Regions, please see "Regions and Availability Zones in Amazon Lightsail" for more details

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.lightsailStaticIp.LightsailStaticIp(this, "test", {
  name: "example",
});

Argument Reference

The following arguments are supported:

  • name - (Required) The name for the allocated static IP

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - The ARN of the Lightsail static IP
  • ipAddress - The allocated static IP address
  • supportCode - The support code.