@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.925Z") @Stability(value=Stable) public class CfnPricingPlan extends CfnResource implements IInspectable
Creates a pricing plan that is used for computing AWS charges for billing groups.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.billingconductor.*;
CfnPricingPlan cfnPricingPlan = CfnPricingPlan.Builder.create(this, "MyCfnPricingPlan")
.name("name")
// the properties below are optional
.description("description")
.pricingRuleArns(List.of("pricingRuleArns"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnPricingPlan.Builder
A fluent builder for
CfnPricingPlan. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPricingPlan(software.constructs.Construct scope,
String id,
CfnPricingPlanProps props)
Create a new `AWS::BillingConductor::PricingPlan`.
|
protected |
CfnPricingPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPricingPlan(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the created pricing plan.
|
Number |
getAttrCreationTime()
The time the pricing plan was created.
|
Number |
getAttrLastModifiedTime()
The most recent time the pricing plan was modified.
|
Number |
getAttrSize()
The pricing rules count currently associated with this pricing plan list element.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The pricing plan description.
|
String |
getName()
The name of a pricing plan.
|
List<String> |
getPricingRuleArns()
The `PricingRuleArns` that are associated with the Pricing Plan.
|
TagManager |
getTags()
`AWS::BillingConductor::PricingPlan.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The pricing plan description.
|
void |
setName(String value)
The name of a pricing plan.
|
void |
setPricingRuleArns(List<String> value)
The `PricingRuleArns` that are associated with the Pricing Plan.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPricingPlan(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPricingPlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPricingPlan(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnPricingPlanProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public Number getAttrCreationTime()
@Stability(value=Stable) @NotNull public Number getAttrLastModifiedTime()
@Stability(value=Stable) @NotNull public Number getAttrSize()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getPricingRuleArns()
Copyright © 2022. All rights reserved.