Skip to content

Address

  • Implements: @alicloud/ros-cdk-vpc.datasource.IAddress

This class encapsulates and extends the ROS resource type DATASOURCE::EIP::Address.

Initializers

import { datasource } from '@alicloud/ros-cdk-vpc'
new datasource.Address(scope: Construct, id: string, props: AddressProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props AddressProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

fetchCondition

public fetchCondition(): RosCondition

fetchDependency

public fetchDependency(): string[]

fetchResourceDesc

public fetchResourceDesc(): string

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { datasource } from '@alicloud/ros-cdk-vpc'
datasource.Address.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrAddressName string | @alicloud/ros-cdk-core.IResolvable Attribute AddressName: The name of the EIP.
attrAllocationId string | @alicloud/ros-cdk-core.IResolvable Attribute AllocationId: The ID of the EIP instance.
attrBandwidth string | @alicloud/ros-cdk-core.IResolvable Attribute Bandwidth: The peak bandwidth of the EIP.
attrBandwidthPackageBandwidth string | @alicloud/ros-cdk-core.IResolvable Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.
attrBandwidthPackageId string | @alicloud/ros-cdk-core.IResolvable Attribute BandwidthPackageId: The ID of the added shared bandwidth.
attrBandwidthPackageType string | @alicloud/ros-cdk-core.IResolvable Attribute BandwidthPackageType: The type of bandwidth.
attrBusinessStatus string | @alicloud/ros-cdk-core.IResolvable Attribute BusinessStatus: The business status of the EIP instance.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The time when the EIP was created.
attrDeletionProtection string | @alicloud/ros-cdk-core.IResolvable Attribute DeletionProtection: Whether the delete protection function is turned on.
attrDescription string | @alicloud/ros-cdk-core.IResolvable Attribute Description: The description of the EIP instance.
attrEipBandwidth string | @alicloud/ros-cdk-core.IResolvable Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.
attrExpiredTime string | @alicloud/ros-cdk-core.IResolvable Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
attrHasReservationData string | @alicloud/ros-cdk-core.IResolvable Attribute HasReservationData: Whether there is renewal data.
attrHdMonitorStatus string | @alicloud/ros-cdk-core.IResolvable Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.
attrInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceId: The ID of the current bound instance.
attrInstanceRegionId string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceRegionId: The region ID of the currently bound resource.
attrInstanceType string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceType: The type of the current bound instance.
attrIpAddress string | @alicloud/ros-cdk-core.IResolvable Attribute IpAddress: The IP address of the EIP.
attrIsp string | @alicloud/ros-cdk-core.IResolvable Attribute Isp: Service providers.
attrNetmode string | @alicloud/ros-cdk-core.IResolvable Attribute Netmode: Network type.
attrOperationLocks string | @alicloud/ros-cdk-core.IResolvable Attribute OperationLocks: Lock details.
attrPaymentType string | @alicloud/ros-cdk-core.IResolvable Attribute PaymentType: The billing method of the EIP.
attrPublicIpAddressPoolId string | @alicloud/ros-cdk-core.IResolvable Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.
attrReservationActiveTime string | @alicloud/ros-cdk-core.IResolvable Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.
attrReservationBandwidth string | @alicloud/ros-cdk-core.IResolvable Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.
attrReservationInternetChargeType string | @alicloud/ros-cdk-core.IResolvable Attribute ReservationInternetChargeType: Renewal Payment type.
attrReservationOrderType string | @alicloud/ros-cdk-core.IResolvable Attribute ReservationOrderType: Renewal order type.
attrResourceGroupId string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrSecondLimited string | @alicloud/ros-cdk-core.IResolvable Attribute SecondLimited: Whether a secondary speed limit is configured.
attrSecurityProtectionTypes string | @alicloud/ros-cdk-core.IResolvable Attribute SecurityProtectionTypes: Security protection level.
attrSegmentInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute SegmentInstanceId: The ID of the consecutive EIPs.
attrServiceManaged string | @alicloud/ros-cdk-core.IResolvable Attribute ServiceManaged: Indicates the resource created for the service account.
attrTags string | @alicloud/ros-cdk-core.IResolvable Attribute Tags: The tag of the resource.
props AddressProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/ros-cdk-core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrAddressNameRequired

public readonly attrAddressName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute AddressName: The name of the EIP.


attrAllocationIdRequired

public readonly attrAllocationId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute AllocationId: The ID of the EIP instance.


attrBandwidthRequired

public readonly attrBandwidth: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Bandwidth: The peak bandwidth of the EIP.

Unit: Mbps.


attrBandwidthPackageBandwidthRequired

public readonly attrBandwidthPackageBandwidth: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.

The unit is Mbps.


attrBandwidthPackageIdRequired

public readonly attrBandwidthPackageId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute BandwidthPackageId: The ID of the added shared bandwidth.


attrBandwidthPackageTypeRequired

public readonly attrBandwidthPackageType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute BandwidthPackageType: The type of bandwidth.

Only CommonBandwidthPackage (shared bandwidth) is supported.


attrBusinessStatusRequired

public readonly attrBusinessStatus: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute BusinessStatus: The business status of the EIP instance.


attrCreateTimeRequired

public readonly attrCreateTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The time when the EIP was created.


attrDeletionProtectionRequired

public readonly attrDeletionProtection: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute DeletionProtection: Whether the delete protection function is turned on.


attrDescriptionRequired

public readonly attrDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Description: The description of the EIP instance.


attrEipBandwidthRequired

public readonly attrEipBandwidth: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.


attrExpiredTimeRequired

public readonly attrExpiredTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.


attrHasReservationDataRequired

public readonly attrHasReservationData: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute HasReservationData: Whether there is renewal data.


attrHdMonitorStatusRequired

public readonly attrHdMonitorStatus: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.


attrInstanceIdRequired

public readonly attrInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InstanceId: The ID of the current bound instance.


attrInstanceRegionIdRequired

public readonly attrInstanceRegionId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InstanceRegionId: The region ID of the currently bound resource.


attrInstanceTypeRequired

public readonly attrInstanceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InstanceType: The type of the current bound instance.


attrIpAddressRequired

public readonly attrIpAddress: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute IpAddress: The IP address of the EIP.


attrIspRequired

public readonly attrIsp: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Isp: Service providers.


attrNetmodeRequired

public readonly attrNetmode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Netmode: Network type.


attrOperationLocksRequired

public readonly attrOperationLocks: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute OperationLocks: Lock details.


attrPaymentTypeRequired

public readonly attrPaymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute PaymentType: The billing method of the EIP.


attrPublicIpAddressPoolIdRequired

public readonly attrPublicIpAddressPoolId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.


attrReservationActiveTimeRequired

public readonly attrReservationActiveTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.


attrReservationBandwidthRequired

public readonly attrReservationBandwidth: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.


attrReservationInternetChargeTypeRequired

public readonly attrReservationInternetChargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ReservationInternetChargeType: Renewal Payment type.


attrReservationOrderTypeRequired

public readonly attrReservationOrderType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ReservationOrderType: Renewal order type.


attrResourceGroupIdRequired

public readonly attrResourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ResourceGroupId: The ID of the resource group.


attrSecondLimitedRequired

public readonly attrSecondLimited: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SecondLimited: Whether a secondary speed limit is configured.


attrSecurityProtectionTypesRequired

public readonly attrSecurityProtectionTypes: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SecurityProtectionTypes: Security protection level.


attrSegmentInstanceIdRequired

public readonly attrSegmentInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SegmentInstanceId: The ID of the consecutive EIPs.


attrServiceManagedRequired

public readonly attrServiceManaged: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ServiceManaged: Indicates the resource created for the service account.


attrTagsRequired

public readonly attrTags: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Tags: The tag of the resource.


propsRequired

public readonly props: AddressProps;