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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::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 new AWS::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

      @Stability(Stable) @NotNull public static Boolean isCfnBillScenario(@NotNull Object x)
      Checks whether the given object is a CfnBillScenario.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the bill scenario.
    • getAttrBillInterval

      @Stability(Stable) @NotNull public IResolvable getAttrBillInterval()
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the bill scenario was created.
    • getAttrFailureMessage

      @Stability(Stable) @NotNull public String getAttrFailureMessage()
      The failure message if the bill scenario failed.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier of the bill scenario.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getBillScenarioRef

      @Stability(Stable) @NotNull public BillScenarioReference getBillScenarioRef()
      A reference to a BillScenario resource.
      Specified by:
      getBillScenarioRef in interface IBillScenarioRef
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCostCategoryGroupSharingPreferenceArn

      @Stability(Stable) @Nullable public String getCostCategoryGroupSharingPreferenceArn()
      The ARN of the cost category group sharing preference.
    • setCostCategoryGroupSharingPreferenceArn

      @Stability(Stable) public void setCostCategoryGroupSharingPreferenceArn(@Nullable String value)
      The ARN of the cost category group sharing preference.
    • getExpiresAt

      @Stability(Stable) @Nullable public String getExpiresAt()
      The timestamp when the bill scenario expires.
    • setExpiresAt

      @Stability(Stable) public void setExpiresAt(@Nullable String value)
      The timestamp when the bill scenario expires.
    • getGroupSharingPreference

      @Stability(Stable) @Nullable public String getGroupSharingPreference()
    • setGroupSharingPreference

      @Stability(Stable) public void setGroupSharingPreference(@Nullable String value)
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the bill scenario.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the bill scenario.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.