AWS Native

v0.42.0 published on Wednesday, Nov 23, 2022 by Pulumi

EIP

Resource Type definition for AWS::EC2::EIP

Create EIP Resource

new EIP(name: string, args?: EIPArgs, opts?: CustomResourceOptions);
@overload
def EIP(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        domain: Optional[str] = None,
        instance_id: Optional[str] = None,
        network_border_group: Optional[str] = None,
        public_ipv4_pool: Optional[str] = None,
        tags: Optional[Sequence[EIPTagArgs]] = None,
        transfer_address: Optional[str] = None)
@overload
def EIP(resource_name: str,
        args: Optional[EIPArgs] = None,
        opts: Optional[ResourceOptions] = None)
func NewEIP(ctx *Context, name string, args *EIPArgs, opts ...ResourceOption) (*EIP, error)
public EIP(string name, EIPArgs? args = null, CustomResourceOptions? opts = null)
public EIP(String name, EIPArgs args)
public EIP(String name, EIPArgs args, CustomResourceOptions options)
type: aws-native:ec2:EIP
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EIPArgs
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 EIPArgs
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 EIPArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EIPArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EIPArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EIP 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 EIP resource accepts the following input properties:

Domain string

Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

InstanceId string

The ID of the instance.

NetworkBorderGroup string

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

PublicIpv4Pool string

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

Tags List<Pulumi.AwsNative.EC2.Inputs.EIPTagArgs>

Any tags assigned to the EIP.

TransferAddress string

The PublicIP of the EIP generated by resource through transfer from another account

Domain string

Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

InstanceId string

The ID of the instance.

NetworkBorderGroup string

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

PublicIpv4Pool string

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

Tags []EIPTagArgs

Any tags assigned to the EIP.

TransferAddress string

The PublicIP of the EIP generated by resource through transfer from another account

domain String

Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

instanceId String

The ID of the instance.

networkBorderGroup String

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

publicIpv4Pool String

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags List<EIPTagArgs>

Any tags assigned to the EIP.

transferAddress String

The PublicIP of the EIP generated by resource through transfer from another account

domain string

Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

instanceId string

The ID of the instance.

networkBorderGroup string

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

publicIpv4Pool string

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags EIPTagArgs[]

Any tags assigned to the EIP.

transferAddress string

The PublicIP of the EIP generated by resource through transfer from another account

domain str

Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

instance_id str

The ID of the instance.

network_border_group str

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

public_ipv4_pool str

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags Sequence[EIPTagArgs]

Any tags assigned to the EIP.

transfer_address str

The PublicIP of the EIP generated by resource through transfer from another account

domain String

Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

instanceId String

The ID of the instance.

networkBorderGroup String

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

publicIpv4Pool String

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags List<Property Map>

Any tags assigned to the EIP.

transferAddress String

The PublicIP of the EIP generated by resource through transfer from another account

Outputs

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

AllocationId string

The Allocation ID of the EIP generated by resource.

Id string

The provider-assigned unique ID for this managed resource.

PublicIp string

The PublicIP of the EIP generated by resource.

AllocationId string

The Allocation ID of the EIP generated by resource.

Id string

The provider-assigned unique ID for this managed resource.

PublicIp string

The PublicIP of the EIP generated by resource.

allocationId String

The Allocation ID of the EIP generated by resource.

id String

The provider-assigned unique ID for this managed resource.

publicIp String

The PublicIP of the EIP generated by resource.

allocationId string

The Allocation ID of the EIP generated by resource.

id string

The provider-assigned unique ID for this managed resource.

publicIp string

The PublicIP of the EIP generated by resource.

allocation_id str

The Allocation ID of the EIP generated by resource.

id str

The provider-assigned unique ID for this managed resource.

public_ip str

The PublicIP of the EIP generated by resource.

allocationId String

The Allocation ID of the EIP generated by resource.

id String

The provider-assigned unique ID for this managed resource.

publicIp String

The PublicIP of the EIP generated by resource.

Supporting Types

EIPTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0