Skip to content

Address

This class encapsulates and extends the ROS resource type DATASOURCE::EIP::Address, which is used to query the information about a created elastic IP address (EIP).

Initializers

from ros_cdk_vpc import datasource
datasource.Address(
  scope: Construct,
  id: str,
  allocation_id: typing.Union[str, IResolvable],
  refresh_options: typing.Union[str, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
Name Type Description
scope ros_cdk_core.Construct No description.
id str No description.
allocation_id typing.Union[str, ros_cdk_core.IResolvable] Property allocationId: The ID of the EIP instance.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
enable_resource_property_constraint bool No description.

scopeRequired

  • Type: ros_cdk_core.Construct

idRequired

  • Type: str

allocation_idRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property allocationId: The ID of the EIP instance.


refresh_optionsOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

enable_resource_property_constraintOptional

  • Type: bool

Methods

Name Description
to_string Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
add_condition No description.
add_count No description.
add_dependency No description.
add_resource_desc No description.
apply_removal_policy No description.
get_att No description.
set_metadata No description.

to_string

def to_string() -> str

Returns a string representation of this construct.

synthesize

def synthesize(
  session: ISynthesisSession
) -> None

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: ros_cdk_core.ISynthesisSession

The synthesis session.


add_condition

def add_condition(
  condition: RosCondition
) -> None

conditionRequired

  • Type: ros_cdk_core.RosCondition

add_count

def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None

countRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

add_dependency

def add_dependency(
  resource: Resource
) -> None

resourceRequired

  • Type: ros_cdk_core.Resource

add_resource_desc

def add_resource_desc(
  desc: str
) -> None

descRequired

  • Type: str

apply_removal_policy

def apply_removal_policy(
  policy: RemovalPolicy
) -> None

policyRequired

  • Type: ros_cdk_core.RemovalPolicy

get_att

def get_att(
  name: str
) -> IResolvable

nameRequired

  • Type: str

set_metadata

def set_metadata(
  key: str,
  value: typing.Any
) -> None

keyRequired

  • Type: str

valueRequired

  • Type: typing.Any

Static Functions

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

is_construct

from ros_cdk_vpc import datasource
datasource.Address.is_construct(
  x: typing.Any
)

Return whether the given object is a Construct.

xRequired

  • Type: typing.Any

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node associated with this construct.
ref str No description.
stack ros_cdk_core.Stack The stack in which this resource is defined.
resource ros_cdk_core.RosResource No description.
attr_address_name ros_cdk_core.IResolvable Attribute AddressName: The name of the EIP.
attr_allocation_id ros_cdk_core.IResolvable Attribute AllocationId: The ID of the EIP instance.
attr_bandwidth ros_cdk_core.IResolvable Attribute Bandwidth: The peak bandwidth of the EIP.
attr_bandwidth_package_bandwidth ros_cdk_core.IResolvable Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.
attr_bandwidth_package_id ros_cdk_core.IResolvable Attribute BandwidthPackageId: The ID of the added shared bandwidth.
attr_bandwidth_package_type ros_cdk_core.IResolvable Attribute BandwidthPackageType: The type of bandwidth.
attr_business_status ros_cdk_core.IResolvable Attribute BusinessStatus: The business status of the EIP instance.
attr_create_time ros_cdk_core.IResolvable Attribute CreateTime: The time when the EIP was created.
attr_deletion_protection ros_cdk_core.IResolvable Attribute DeletionProtection: Whether the delete protection function is turned on.
attr_description ros_cdk_core.IResolvable Attribute Description: The description of the EIP instance.
attr_eip_bandwidth 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.
attr_expired_time ros_cdk_core.IResolvable Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
attr_has_reservation_data ros_cdk_core.IResolvable Attribute HasReservationData: Whether there is renewal data.
attr_hd_monitor_status ros_cdk_core.IResolvable Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.
attr_instance_id ros_cdk_core.IResolvable Attribute InstanceId: The ID of the current bound instance.
attr_instance_region_id ros_cdk_core.IResolvable Attribute InstanceRegionId: The region ID of the currently bound resource.
attr_instance_type ros_cdk_core.IResolvable Attribute InstanceType: The type of the current bound instance.
attr_ip_address ros_cdk_core.IResolvable Attribute IpAddress: The IP address of the EIP.
attr_isp ros_cdk_core.IResolvable Attribute Isp: Service providers.
attr_netmode ros_cdk_core.IResolvable Attribute Netmode: Network type.
attr_operation_locks ros_cdk_core.IResolvable Attribute OperationLocks: Lock details.
attr_payment_type ros_cdk_core.IResolvable Attribute PaymentType: The billing method of the EIP.
attr_public_ip_address_pool_id ros_cdk_core.IResolvable Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.
attr_reservation_active_time ros_cdk_core.IResolvable Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.
attr_reservation_bandwidth ros_cdk_core.IResolvable Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.
attr_reservation_internet_charge_type ros_cdk_core.IResolvable Attribute ReservationInternetChargeType: Renewal Payment type.
attr_reservation_order_type ros_cdk_core.IResolvable Attribute ReservationOrderType: Renewal order type.
attr_resource_group_id ros_cdk_core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attr_second_limited ros_cdk_core.IResolvable Attribute SecondLimited: Whether a secondary speed limit is configured.
attr_security_protection_types ros_cdk_core.IResolvable Attribute SecurityProtectionTypes: Security protection level.
attr_segment_instance_id ros_cdk_core.IResolvable Attribute SegmentInstanceId: The ID of the consecutive EIPs.
attr_service_managed ros_cdk_core.IResolvable Attribute ServiceManaged: Indicates the resource created for the service account.
attr_tags ros_cdk_core.IResolvable Attribute Tags: The tag of the resource.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with this construct.


refRequired

ref: str
  • Type: str

stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


resourceOptional

resource: RosResource
  • Type: ros_cdk_core.RosResource

attr_address_nameRequired

attr_address_name: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute AddressName: The name of the EIP.


attr_allocation_idRequired

attr_allocation_id: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute AllocationId: The ID of the EIP instance.


attr_bandwidthRequired

attr_bandwidth: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute Bandwidth: The peak bandwidth of the EIP.

Unit: Mbps.


attr_bandwidth_package_bandwidthRequired

attr_bandwidth_package_bandwidth: IResolvable
  • Type: ros_cdk_core.IResolvable

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

The unit is Mbps.


attr_bandwidth_package_idRequired

attr_bandwidth_package_id: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute BandwidthPackageId: The ID of the added shared bandwidth.


attr_bandwidth_package_typeRequired

attr_bandwidth_package_type: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute BandwidthPackageType: The type of bandwidth.

Only CommonBandwidthPackage (shared bandwidth) is supported.


attr_business_statusRequired

attr_business_status: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute BusinessStatus: The business status of the EIP instance.


attr_create_timeRequired

attr_create_time: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute CreateTime: The time when the EIP was created.


attr_deletion_protectionRequired

attr_deletion_protection: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_descriptionRequired

attr_description: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute Description: The description of the EIP instance.


attr_eip_bandwidthRequired

attr_eip_bandwidth: IResolvable
  • Type: 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.


attr_expired_timeRequired

attr_expired_time: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_has_reservation_dataRequired

attr_has_reservation_data: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute HasReservationData: Whether there is renewal data.


attr_hd_monitor_statusRequired

attr_hd_monitor_status: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_instance_idRequired

attr_instance_id: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute InstanceId: The ID of the current bound instance.


attr_instance_region_idRequired

attr_instance_region_id: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_instance_typeRequired

attr_instance_type: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute InstanceType: The type of the current bound instance.


attr_ip_addressRequired

attr_ip_address: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute IpAddress: The IP address of the EIP.


attr_ispRequired

attr_isp: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute Isp: Service providers.


attr_netmodeRequired

attr_netmode: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute Netmode: Network type.


attr_operation_locksRequired

attr_operation_locks: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute OperationLocks: Lock details.


attr_payment_typeRequired

attr_payment_type: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute PaymentType: The billing method of the EIP.


attr_public_ip_address_pool_idRequired

attr_public_ip_address_pool_id: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_reservation_active_timeRequired

attr_reservation_active_time: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_reservation_bandwidthRequired

attr_reservation_bandwidth: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.


attr_reservation_internet_charge_typeRequired

attr_reservation_internet_charge_type: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute ReservationInternetChargeType: Renewal Payment type.


attr_reservation_order_typeRequired

attr_reservation_order_type: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute ReservationOrderType: Renewal order type.


attr_resource_group_idRequired

attr_resource_group_id: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute ResourceGroupId: The ID of the resource group.


attr_second_limitedRequired

attr_second_limited: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute SecondLimited: Whether a secondary speed limit is configured.


attr_security_protection_typesRequired

attr_security_protection_types: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute SecurityProtectionTypes: Security protection level.


attr_segment_instance_idRequired

attr_segment_instance_id: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute SegmentInstanceId: The ID of the consecutive EIPs.


attr_service_managedRequired

attr_service_managed: IResolvable
  • Type: ros_cdk_core.IResolvable

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


attr_tagsRequired

attr_tags: IResolvable
  • Type: ros_cdk_core.IResolvable

Attribute Tags: The tag of the resource.