1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lightsail
  5. StaticIp

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.lightsail.StaticIp

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::Lightsail::StaticIp

    Create StaticIp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StaticIp(name: string, args?: StaticIpArgs, opts?: CustomResourceOptions);
    @overload
    def StaticIp(resource_name: str,
                 args: Optional[StaticIpArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def StaticIp(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 attached_to: Optional[str] = None,
                 static_ip_name: Optional[str] = None)
    func NewStaticIp(ctx *Context, name string, args *StaticIpArgs, opts ...ResourceOption) (*StaticIp, error)
    public StaticIp(string name, StaticIpArgs? args = null, CustomResourceOptions? opts = null)
    public StaticIp(String name, StaticIpArgs args)
    public StaticIp(String name, StaticIpArgs args, CustomResourceOptions options)
    
    type: aws-native:lightsail:StaticIp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StaticIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StaticIpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StaticIpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StaticIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StaticIpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    StaticIp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The StaticIp resource accepts the following input properties:

    AttachedTo string
    The instance where the static IP is attached.
    StaticIpName string
    The name of the static IP address.
    AttachedTo string
    The instance where the static IP is attached.
    StaticIpName string
    The name of the static IP address.
    attachedTo String
    The instance where the static IP is attached.
    staticIpName String
    The name of the static IP address.
    attachedTo string
    The instance where the static IP is attached.
    staticIpName string
    The name of the static IP address.
    attached_to str
    The instance where the static IP is attached.
    static_ip_name str
    The name of the static IP address.
    attachedTo String
    The instance where the static IP is attached.
    staticIpName String
    The name of the static IP address.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StaticIp resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddress string
    The static IP address.
    IsAttached bool
    A Boolean value indicating whether the static IP is attached.
    StaticIpArn string
    The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE ).
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddress string
    The static IP address.
    IsAttached bool
    A Boolean value indicating whether the static IP is attached.
    StaticIpArn string
    The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE ).
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddress String
    The static IP address.
    isAttached Boolean
    A Boolean value indicating whether the static IP is attached.
    staticIpArn String
    The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE ).
    id string
    The provider-assigned unique ID for this managed resource.
    ipAddress string
    The static IP address.
    isAttached boolean
    A Boolean value indicating whether the static IP is attached.
    staticIpArn string
    The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE ).
    id str
    The provider-assigned unique ID for this managed resource.
    ip_address str
    The static IP address.
    is_attached bool
    A Boolean value indicating whether the static IP is attached.
    static_ip_arn str
    The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE ).
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddress String
    The static IP address.
    isAttached Boolean
    A Boolean value indicating whether the static IP is attached.
    staticIpArn String
    The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE ).

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi