Refer to the Terraform Registory for docs: aws_eip
.
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip aws_eip}.
import { eip } from '@cdktf/aws-cdk'
new eip.Eip(scope: Construct, id: string, config?: EipConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
EipConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: EipConfig
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
putTimeouts |
No description. |
resetAddress |
No description. |
resetAssociateWithPrivateIp |
No description. |
resetCustomerOwnedIpv4Pool |
No description. |
resetId |
No description. |
resetInstance |
No description. |
resetNetworkBorderGroup |
No description. |
resetNetworkInterface |
No description. |
resetPublicIpv4Pool |
No description. |
resetTags |
No description. |
resetTagsAll |
No description. |
resetTimeouts |
No description. |
resetVpc |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(terraformAttribute: string): IResolvable
- Type: string
public putTimeouts(value: EipTimeouts): void
- Type: EipTimeouts
public resetAddress(): void
public resetAssociateWithPrivateIp(): void
public resetCustomerOwnedIpv4Pool(): void
public resetId(): void
public resetInstance(): void
public resetNetworkBorderGroup(): void
public resetNetworkInterface(): void
public resetPublicIpv4Pool(): void
public resetTags(): void
public resetTagsAll(): void
public resetTimeouts(): void
public resetVpc(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
import { eip } from '@cdktf/aws-cdk'
eip.Eip.isConstruct(x: any)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: any
Any object.
import { eip } from '@cdktf/aws-cdk'
eip.Eip.isTerraformElement(x: any)
- Type: any
import { eip } from '@cdktf/aws-cdk'
eip.Eip.isTerraformResource(x: any)
- Type: any
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
allocationId |
string |
No description. |
associationId |
string |
No description. |
carrierIp |
string |
No description. |
customerOwnedIp |
string |
No description. |
domain |
string |
No description. |
privateDns |
string |
No description. |
privateIp |
string |
No description. |
publicDns |
string |
No description. |
publicIp |
string |
No description. |
timeouts |
EipTimeoutsOutputReference |
No description. |
addressInput |
string |
No description. |
associateWithPrivateIpInput |
string |
No description. |
customerOwnedIpv4PoolInput |
string |
No description. |
idInput |
string |
No description. |
instanceInput |
string |
No description. |
networkBorderGroupInput |
string |
No description. |
networkInterfaceInput |
string |
No description. |
publicIpv4PoolInput |
string |
No description. |
tagsAllInput |
{[ key: string ]: string} |
No description. |
tagsInput |
{[ key: string ]: string} |
No description. |
timeoutsInput |
cdktf.IResolvable | EipTimeouts |
No description. |
vpcInput |
boolean | cdktf.IResolvable |
No description. |
address |
string |
No description. |
associateWithPrivateIp |
string |
No description. |
customerOwnedIpv4Pool |
string |
No description. |
id |
string |
No description. |
instance |
string |
No description. |
networkBorderGroup |
string |
No description. |
networkInterface |
string |
No description. |
publicIpv4Pool |
string |
No description. |
tags |
{[ key: string ]: string} |
No description. |
tagsAll |
{[ key: string ]: string} |
No description. |
vpc |
boolean | cdktf.IResolvable |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];
- Type: string[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly allocationId: string;
- Type: string
public readonly associationId: string;
- Type: string
public readonly carrierIp: string;
- Type: string
public readonly customerOwnedIp: string;
- Type: string
public readonly domain: string;
- Type: string
public readonly privateDns: string;
- Type: string
public readonly privateIp: string;
- Type: string
public readonly publicDns: string;
- Type: string
public readonly publicIp: string;
- Type: string
public readonly timeouts: EipTimeoutsOutputReference;
public readonly addressInput: string;
- Type: string
public readonly associateWithPrivateIpInput: string;
- Type: string
public readonly customerOwnedIpv4PoolInput: string;
- Type: string
public readonly idInput: string;
- Type: string
public readonly instanceInput: string;
- Type: string
public readonly networkBorderGroupInput: string;
- Type: string
public readonly networkInterfaceInput: string;
- Type: string
public readonly publicIpv4PoolInput: string;
- Type: string
public readonly tagsAllInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly tagsInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly timeoutsInput: IResolvable | EipTimeouts;
- Type: cdktf.IResolvable | EipTimeouts
public readonly vpcInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly address: string;
- Type: string
public readonly associateWithPrivateIp: string;
- Type: string
public readonly customerOwnedIpv4Pool: string;
- Type: string
public readonly id: string;
- Type: string
public readonly instance: string;
- Type: string
public readonly networkBorderGroup: string;
- Type: string
public readonly networkInterface: string;
- Type: string
public readonly publicIpv4Pool: string;
- Type: string
public readonly tags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly tagsAll: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly vpc: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { eip } from '@cdktf/aws-cdk'
const eipConfig: eip.EipConfig = { ... }
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];
- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly address: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#address Eip#address}.
public readonly associateWithPrivateIp: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#associate_with_private_ip Eip#associate_with_private_ip}.
public readonly customerOwnedIpv4Pool: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#customer_owned_ipv4_pool Eip#customer_owned_ipv4_pool}.
public readonly id: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#id Eip#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
public readonly instance: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#instance Eip#instance}.
public readonly networkBorderGroup: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#network_border_group Eip#network_border_group}.
public readonly networkInterface: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#network_interface Eip#network_interface}.
public readonly publicIpv4Pool: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#public_ipv4_pool Eip#public_ipv4_pool}.
public readonly tags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#tags Eip#tags}.
public readonly tagsAll: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#tags_all Eip#tags_all}.
public readonly timeouts: EipTimeouts;
- Type: EipTimeouts
timeouts block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#timeouts Eip#timeouts}
public readonly vpc: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#vpc Eip#vpc}.
import { eip } from '@cdktf/aws-cdk'
const eipTimeouts: eip.EipTimeouts = { ... }
Name | Type | Description |
---|---|---|
delete |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#delete Eip#delete}. |
read |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#read Eip#read}. |
update |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#update Eip#update}. |
public readonly delete: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#delete Eip#delete}.
public readonly read: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#read Eip#read}.
public readonly update: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/eip#update Eip#update}.
import { eip } from '@cdktf/aws-cdk'
new eip.EipTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetDelete |
No description. |
resetRead |
No description. |
resetUpdate |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetDelete(): void
public resetRead(): void
public resetUpdate(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
deleteInput |
string |
No description. |
readInput |
string |
No description. |
updateInput |
string |
No description. |
delete |
string |
No description. |
read |
string |
No description. |
update |
string |
No description. |
internalValue |
cdktf.IResolvable | EipTimeouts |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly deleteInput: string;
- Type: string
public readonly readInput: string;
- Type: string
public readonly updateInput: string;
- Type: string
public readonly delete: string;
- Type: string
public readonly read: string;
- Type: string
public readonly update: string;
- Type: string
public readonly internalValue: IResolvable | EipTimeouts;
- Type: cdktf.IResolvable | EipTimeouts