Show / Hide Table of Contents

Class StaticIp

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

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var test = new Aws.LightSail.StaticIp("test", new Aws.LightSail.StaticIpArgs
    {
    });
}

}
Inheritance
System.Object
Resource
CustomResource
StaticIp
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.LightSail
Assembly: Pulumi.Aws.dll
Syntax
public class StaticIp : CustomResource

Constructors

View Source

StaticIp(String, StaticIpArgs, CustomResourceOptions)

Create a StaticIp resource with the given unique name, arguments, and options.

Declaration
public StaticIp(string name, StaticIpArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

StaticIpArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The ARN of the Lightsail static IP

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

IpAddress

The allocated static IP address

Declaration
public Output<string> IpAddress { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name for the allocated static IP

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

SupportCode

The support code.

Declaration
public Output<string> SupportCode { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, StaticIpState, CustomResourceOptions)

Get an existing StaticIp resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static StaticIp Get(string name, Input<string> id, StaticIpState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

StaticIpState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
StaticIp
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.