Class CfnBillingGroup
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.iot.CfnBillingGroup
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IBillingGroupRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.114Z")
@Stability(Stable)
public class CfnBillingGroup
extends CfnResource
implements IInspectable, IBillingGroupRef, ITaggable
Creates a new billing group.
Requires permission to access the CreateBillingGroup action.
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.iot.*;
CfnBillingGroup cfnBillingGroup = CfnBillingGroup.Builder.create(this, "MyCfnBillingGroup")
.billingGroupName("billingGroupName")
.billingGroupProperties(BillingGroupPropertiesProperty.builder()
.billingGroupDescription("billingGroupDescription")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe properties of a billing group.static final classA fluent builder forCfnBillingGroup.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iot.IBillingGroupRef
IBillingGroupRef.Jsii$Default, IBillingGroupRef.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.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnBillingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBillingGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnBillingGroup(software.constructs.Construct scope, String id) Create a newAWS::IoT::BillingGroup.CfnBillingGroup(software.constructs.Construct scope, String id, CfnBillingGroupProps props) Create a newAWS::IoT::BillingGroup. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForBillingGroup(IBillingGroupRef resource) static IBillingGroupReffromBillingGroupArn(software.constructs.Construct scope, String id, String arn) Creates a new IBillingGroupRef from an ARN.static IBillingGroupReffromBillingGroupName(software.constructs.Construct scope, String id, String billingGroupName) Creates a new IBillingGroupRef from a billingGroupName.The ARN of the billing group.The ID of the billing group.The name of the billing group.The properties of the billing group.A reference to a BillingGroup resource.getTags()Tag Manager which manages the tags for this resource.Metadata which can be used to manage the billing group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnBillingGroup.renderProperties(Map<String, Object> props) voidsetBillingGroupName(String value) The name of the billing group.voidThe properties of the billing group.voidThe properties of the billing group.voidsetTagsRaw(List<CfnTag> value) Metadata which can be used to manage the billing group.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, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnBillingGroup
protected CfnBillingGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBillingGroup
protected CfnBillingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBillingGroup
@Stability(Stable) public CfnBillingGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnBillingGroupProps props) Create a newAWS::IoT::BillingGroup.- 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.
-
CfnBillingGroup
@Stability(Stable) public CfnBillingGroup(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::IoT::BillingGroup.- 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
-
arnForBillingGroup
@Stability(Stable) @NotNull public static String arnForBillingGroup(@NotNull IBillingGroupRef resource) - Parameters:
resource- This parameter is required.
-
fromBillingGroupArn
@Stability(Stable) @NotNull public static IBillingGroupRef fromBillingGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IBillingGroupRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromBillingGroupName
@Stability(Stable) @NotNull public static IBillingGroupRef fromBillingGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String billingGroupName) Creates a new IBillingGroupRef from a billingGroupName.- Parameters:
scope- This parameter is required.id- This parameter is required.billingGroupName- This parameter is required.
-
isCfnBillingGroup
Checks whether the given object is a CfnBillingGroup.- 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 ARN of the billing group. -
getAttrId
The ID of the billing group. -
getBillingGroupRef
A reference to a BillingGroup resource.- Specified by:
getBillingGroupRefin interfaceIBillingGroupRef
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getBillingGroupName
The name of the billing group. -
setBillingGroupName
The name of the billing group. -
getBillingGroupProperties
The properties of the billing group.Returns union: either
IResolvableorCfnBillingGroup.BillingGroupPropertiesProperty -
setBillingGroupProperties
The properties of the billing group. -
setBillingGroupProperties
@Stability(Stable) public void setBillingGroupProperties(@Nullable CfnBillingGroup.BillingGroupPropertiesProperty value) The properties of the billing group. -
getTagsRaw
Metadata which can be used to manage the billing group. -
setTagsRaw
Metadata which can be used to manage the billing group.
-