BandwidthPackage
This class encapsulates and extends the ROS resource type ALIYUN::GA::BandwidthPackage
, which is used to create a bandwidth plan.
Initializers
import ros_cdk_ga
ros_cdk_ga.BandwidthPackage(
scope: Construct,
id: str,
bandwidth: typing.Union[typing.Union[int, float], IResolvable],
type: typing.Union[str, IResolvable],
auto_pay: typing.Union[bool, IResolvable] = None,
auto_use_coupon: typing.Union[str, IResolvable] = None,
bandwidth_type: typing.Union[str, IResolvable] = None,
billing_type: typing.Union[str, IResolvable] = None,
cbn_geographic_region_id_a: typing.Union[str, IResolvable] = None,
cbn_geographic_region_id_b: typing.Union[str, IResolvable] = None,
charge_type: typing.Union[str, IResolvable] = None,
duration: typing.Union[str, IResolvable] = None,
pricing_cycle: typing.Union[str, IResolvable] = None,
ratio: 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. |
bandwidth |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property bandwidth: The bandwidth provided by the bandwidth plan. |
type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property type: The type of the bandwidth plan. |
auto_pay |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property autoPay: Specifies whether to enable automatic payment. |
auto_use_coupon |
typing.Union[str, ros_cdk_core.IResolvable] |
Property autoUseCoupon: The AutoUseCoupon of the bandwidth. |
bandwidth_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property bandwidthType: the bandwidth BandwidthType of the bandwidth. |
billing_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property billingType: The BillingType of the bandwidth. |
cbn_geographic_region_id_a |
typing.Union[str, ros_cdk_core.IResolvable] |
Property cbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth. |
cbn_geographic_region_id_b |
typing.Union[str, ros_cdk_core.IResolvable] |
Property cbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth. |
charge_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property chargeType: The ChargeType of the bandwidth. |
duration |
typing.Union[str, ros_cdk_core.IResolvable] |
Property duration:. |
pricing_cycle |
typing.Union[str, ros_cdk_core.IResolvable] |
Property pricingCycle:. |
ratio |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ratio: The Ratio of the bandwidth. |
enable_resource_property_constraint |
bool |
No description. |
scope
Required
- Type: ros_cdk_core.Construct
id
Required
- Type: str
bandwidth
Required
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property bandwidth: The bandwidth provided by the bandwidth plan.
type
Required
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: The type of the bandwidth plan.
auto_pay
Optional
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property autoPay: Specifies whether to enable automatic payment.
auto_use_coupon
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property autoUseCoupon: The AutoUseCoupon of the bandwidth.
bandwidth_type
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bandwidthType: the bandwidth BandwidthType of the bandwidth.
billing_type
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property billingType: The BillingType of the bandwidth.
cbn_geographic_region_id_a
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property cbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth.
cbn_geographic_region_id_b
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property cbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth.
charge_type
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property chargeType: The ChargeType of the bandwidth.
duration
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property duration:.
pricing_cycle
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property pricingCycle:.
ratio
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ratio: The Ratio of the bandwidth.
enable_resource_property_constraint
Optional
- 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.
- Type: ros_cdk_core.ISynthesisSession
The synthesis session.
add_condition
def add_condition(
condition: RosCondition
) -> None
- Type: ros_cdk_core.RosCondition
add_count
def add_count(
count: typing.Union[typing.Union[int, float], IResolvable]
) -> None
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
add_dependency
def add_dependency(
resource: Resource
) -> None
- Type: ros_cdk_core.Resource
add_resource_desc
def add_resource_desc(
desc: str
) -> None
- Type: str
apply_removal_policy
def apply_removal_policy(
policy: RemovalPolicy
) -> None
- Type: ros_cdk_core.RemovalPolicy
get_att
def get_att(
name: str
) -> IResolvable
- Type: str
set_metadata
def set_metadata(
key: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
Static Functions
Name | Description |
---|---|
is_construct |
Return whether the given object is a Construct. |
is_construct
import ros_cdk_ga
ros_cdk_ga.BandwidthPackage.is_construct(
x: typing.Any
)
Return whether the given object is a Construct.
- 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_auto_pay |
ros_cdk_core.IResolvable |
Attribute AutoPay: The AutoPay of the bandwidth. |
attr_auto_use_coupon |
ros_cdk_core.IResolvable |
Attribute AutoUseCoupon: The AutoUseCoupon of the bandwidth. |
attr_bandwidth |
ros_cdk_core.IResolvable |
Attribute Bandwidth: The bandwidth provided by the bandwidth plan. |
attr_bandwidth_package_id |
ros_cdk_core.IResolvable |
Attribute BandwidthPackageId: The Resource ID of the bandwidth. |
attr_bandwidth_package_name |
ros_cdk_core.IResolvable |
Attribute BandwidthPackageName: The Resource name of the bandwidth. |
attr_bandwidth_type |
ros_cdk_core.IResolvable |
Attribute BandwidthType: the bandwidth BandwidthType of the bandwidth. |
attr_billing_type |
ros_cdk_core.IResolvable |
Attribute BillingType: The BillingType of the bandwidth. |
attr_cbn_geographic_region_id_a |
ros_cdk_core.IResolvable |
Attribute CbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth. |
attr_cbn_geographic_region_id_b |
ros_cdk_core.IResolvable |
Attribute CbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth. |
attr_charge_type |
ros_cdk_core.IResolvable |
Attribute ChargeType: The ChargeType of the bandwidth. |
attr_payment_type |
ros_cdk_core.IResolvable |
Attribute PaymentType: The Payment Type of the bandwidth. |
attr_ratio |
ros_cdk_core.IResolvable |
Attribute Ratio: The Ratio of the bandwidth. |
attr_type |
ros_cdk_core.IResolvable |
Attribute Type: The type of the bandwidth plan. |
node
Required
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node associated with this construct.
ref
Required
ref: str
- Type: str
stack
Required
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
resource
Optional
resource: RosResource
- Type: ros_cdk_core.RosResource
attr_auto_pay
Required
attr_auto_pay: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute AutoPay: The AutoPay of the bandwidth.
attr_auto_use_coupon
Required
attr_auto_use_coupon: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute AutoUseCoupon: The AutoUseCoupon of the bandwidth.
attr_bandwidth
Required
attr_bandwidth: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Bandwidth: The bandwidth provided by the bandwidth plan.
attr_bandwidth_package_id
Required
attr_bandwidth_package_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute BandwidthPackageId: The Resource ID of the bandwidth.
attr_bandwidth_package_name
Required
attr_bandwidth_package_name: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute BandwidthPackageName: The Resource name of the bandwidth.
attr_bandwidth_type
Required
attr_bandwidth_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute BandwidthType: the bandwidth BandwidthType of the bandwidth.
attr_billing_type
Required
attr_billing_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute BillingType: The BillingType of the bandwidth.
attr_cbn_geographic_region_id_a
Required
attr_cbn_geographic_region_id_a: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute CbnGeographicRegionIdA: The CbnGeographicRegionIdA of the bandwidth.
attr_cbn_geographic_region_id_b
Required
attr_cbn_geographic_region_id_b: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute CbnGeographicRegionIdB: The CbnGeographicRegionIdB of the bandwidth.
attr_charge_type
Required
attr_charge_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ChargeType: The ChargeType of the bandwidth.
attr_payment_type
Required
attr_payment_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute PaymentType: The Payment Type of the bandwidth.
attr_ratio
Required
attr_ratio: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Ratio: The Ratio of the bandwidth.
attr_type
Required
attr_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Type: The type of the bandwidth plan.