Skip to content

Address

  • Implements: ros_cdk_vpc.datasource.IAddress

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

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.
fetch_condition No description.
fetch_dependency No description.
fetch_resource_desc 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

fetch_condition

def fetch_condition() -> RosCondition

fetch_dependency

def fetch_dependency() -> typing.List[str]

fetch_resource_desc

def fetch_resource_desc() -> str

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

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

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: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute AddressName: The name of the EIP.


attr_allocation_idRequired

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

Attribute AllocationId: The ID of the EIP instance.


attr_bandwidthRequired

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

Attribute Bandwidth: The peak bandwidth of the EIP.

Unit: Mbps.


attr_bandwidth_package_bandwidthRequired

attr_bandwidth_package_bandwidth: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute BandwidthPackageId: The ID of the added shared bandwidth.


attr_bandwidth_package_typeRequired

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

Attribute BandwidthPackageType: The type of bandwidth.

Only CommonBandwidthPackage (shared bandwidth) is supported.


attr_business_statusRequired

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

Attribute BusinessStatus: The business status of the EIP instance.


attr_create_timeRequired

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

Attribute CreateTime: The time when the EIP was created.


attr_deletion_protectionRequired

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

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


attr_descriptionRequired

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

Attribute Description: The description of the EIP instance.


attr_eip_bandwidthRequired

attr_eip_bandwidth: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_has_reservation_dataRequired

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

Attribute HasReservationData: Whether there is renewal data.


attr_hd_monitor_statusRequired

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

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


attr_instance_idRequired

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

Attribute InstanceId: The ID of the current bound instance.


attr_instance_region_idRequired

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

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


attr_instance_typeRequired

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

Attribute InstanceType: The type of the current bound instance.


attr_ip_addressRequired

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

Attribute IpAddress: The IP address of the EIP.


attr_ispRequired

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

Attribute Isp: Service providers.


attr_netmodeRequired

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

Attribute Netmode: Network type.


attr_operation_locksRequired

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

Attribute OperationLocks: Lock details.


attr_payment_typeRequired

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

Attribute PaymentType: The billing method of the EIP.


attr_public_ip_address_pool_idRequired

attr_public_ip_address_pool_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.


attr_reservation_internet_charge_typeRequired

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

Attribute ReservationInternetChargeType: Renewal Payment type.


attr_reservation_order_typeRequired

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

Attribute ReservationOrderType: Renewal order type.


attr_resource_group_idRequired

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

Attribute ResourceGroupId: The ID of the resource group.


attr_second_limitedRequired

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

Attribute SecondLimited: Whether a secondary speed limit is configured.


attr_security_protection_typesRequired

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

Attribute SecurityProtectionTypes: Security protection level.


attr_segment_instance_idRequired

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

Attribute SegmentInstanceId: The ID of the consecutive EIPs.


attr_service_managedRequired

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

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


attr_tagsRequired

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

Attribute Tags: The tag of the resource.


propsRequired

props: AddressProps