We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.lightsail.StaticIp
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 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
The StaticIp resource accepts the following input properties:
- Attached
To string - The instance where the static IP is attached.
- Static
Ip stringName - The name of the static IP address.
- Attached
To string - The instance where the static IP is attached.
- Static
Ip stringName - The name of the static IP address.
- attached
To String - The instance where the static IP is attached.
- static
Ip StringName - The name of the static IP address.
- attached
To string - The instance where the static IP is attached.
- static
Ip stringName - The name of the static IP address.
- attached_
to str - The instance where the static IP is attached.
- static_
ip_ strname - The name of the static IP address.
- attached
To String - The instance where the static IP is attached.
- static
Ip StringName - 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.
- Ip
Address string - The static IP address.
- Is
Attached bool - A Boolean value indicating whether the static IP is attached.
- Static
Ip stringArn - 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.
- Ip
Address string - The static IP address.
- Is
Attached bool - A Boolean value indicating whether the static IP is attached.
- Static
Ip stringArn - 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.
- ip
Address String - The static IP address.
- is
Attached Boolean - A Boolean value indicating whether the static IP is attached.
- static
Ip StringArn - 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.
- ip
Address string - The static IP address.
- is
Attached boolean - A Boolean value indicating whether the static IP is attached.
- static
Ip stringArn - 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_ strarn - 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.
- ip
Address String - The static IP address.
- is
Attached Boolean - A Boolean value indicating whether the static IP is attached.
- static
Ip StringArn - 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
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi