Class CfnBillScenario
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bcmpricingcalculator.CfnBillScenario
- All Implemented Interfaces:
IInspectable,IBillScenarioRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:31:49.721Z")
@Stability(Stable)
public class CfnBillScenario
extends CfnResource
implements IInspectable, IBillScenarioRef, ITaggableV2
Resource Type definition for AWS::BcmPricingCalculator::BillScenario.
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.bcmpricingcalculator.*;
CfnBillScenario cfnBillScenario = CfnBillScenario.Builder.create(this, "MyCfnBillScenario")
.costCategoryGroupSharingPreferenceArn("costCategoryGroupSharingPreferenceArn")
.expiresAt("expiresAt")
.groupSharingPreference("groupSharingPreference")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceExample:static final classA fluent builder forCfnBillScenario.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bcmpricingcalculator.IBillScenarioRef
IBillScenarioRef.Jsii$Default, IBillScenarioRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnBillScenario(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBillScenario(software.amazon.jsii.JsiiObjectRef objRef) CfnBillScenario(software.constructs.Construct scope, String id) Create a newAWS::BcmPricingCalculator::BillScenario.CfnBillScenario(software.constructs.Construct scope, String id, CfnBillScenarioProps props) Create a newAWS::BcmPricingCalculator::BillScenario. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForBillScenario(IBillScenarioRef resource) The Amazon Resource Name (ARN) of the bill scenario.The timestamp when the bill scenario was created.The failure message if the bill scenario failed.The unique identifier of the bill scenario.A reference to a BillScenario resource.Tag Manager which manages the tags for this resource.The ARN of the cost category group sharing preference.The timestamp when the bill scenario expires.getName()The name of the bill scenario.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnBillScenario.renderProperties(Map<String, Object> props) voidThe ARN of the cost category group sharing preference.voidsetExpiresAt(String value) The timestamp when the bill scenario expires.voidsetGroupSharingPreference(String value) voidThe name of the bill scenario.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnBillScenario
protected CfnBillScenario(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBillScenario
protected CfnBillScenario(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBillScenario
@Stability(Stable) public CfnBillScenario(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnBillScenarioProps props) Create a newAWS::BcmPricingCalculator::BillScenario.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnBillScenario
@Stability(Stable) public CfnBillScenario(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::BcmPricingCalculator::BillScenario.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
arnForBillScenario
@Stability(Stable) @NotNull public static String arnForBillScenario(@NotNull IBillScenarioRef resource) - Parameters:
resource- This parameter is required.
-
isCfnBillScenario
Checks whether the given object is a CfnBillScenario.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the bill scenario. -
getAttrBillInterval
-
getAttrCreatedAt
The timestamp when the bill scenario was created. -
getAttrFailureMessage
The failure message if the bill scenario failed. -
getAttrId
The unique identifier of the bill scenario. -
getAttrStatus
-
getBillScenarioRef
A reference to a BillScenario resource.- Specified by:
getBillScenarioRefin interfaceIBillScenarioRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCostCategoryGroupSharingPreferenceArn
The ARN of the cost category group sharing preference. -
setCostCategoryGroupSharingPreferenceArn
The ARN of the cost category group sharing preference. -
getExpiresAt
The timestamp when the bill scenario expires. -
setExpiresAt
The timestamp when the bill scenario expires. -
getGroupSharingPreference
-
setGroupSharingPreference
-
getName
The name of the bill scenario. -
setName
The name of the bill scenario. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-