@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:20.093Z") @Stability(value=Stable) public class CfnBillingGroup extends CfnResource implements IInspectable
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.*;
CfnBillingGroup cfnBillingGroup = CfnBillingGroup.Builder.create(this, "MyCfnBillingGroup")
.accountGrouping(AccountGroupingProperty.builder()
.linkedAccountIds(List.of("linkedAccountIds"))
.build())
.computationPreference(ComputationPreferenceProperty.builder()
.pricingPlanArn("pricingPlanArn")
.build())
.name("name")
.primaryAccountId("primaryAccountId")
// the properties below are optional
.description("description")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnBillingGroup.AccountGroupingProperty
Example:
|
static class |
CfnBillingGroup.Builder
A fluent builder for
CfnBillingGroup. |
static interface |
CfnBillingGroup.ComputationPreferenceProperty
Example:
|
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 |
|---|---|
|
CfnBillingGroup(software.constructs.Construct scope,
String id,
CfnBillingGroupProps props)
Create a new `AWS::BillingConductor::BillingGroup`.
|
protected |
CfnBillingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnBillingGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAccountGrouping()
`AWS::BillingConductor::BillingGroup.AccountGrouping`.
|
String |
getAttrArn() |
Number |
getAttrCreationTime() |
Number |
getAttrLastModifiedTime() |
Number |
getAttrSize() |
String |
getAttrStatus() |
String |
getAttrStatusReason() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getComputationPreference()
`AWS::BillingConductor::BillingGroup.ComputationPreference`.
|
String |
getDescription()
`AWS::BillingConductor::BillingGroup.Description`.
|
String |
getName()
`AWS::BillingConductor::BillingGroup.Name`.
|
String |
getPrimaryAccountId()
`AWS::BillingConductor::BillingGroup.PrimaryAccountId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAccountGrouping(CfnBillingGroup.AccountGroupingProperty value)
`AWS::BillingConductor::BillingGroup.AccountGrouping`.
|
void |
setAccountGrouping(IResolvable value)
`AWS::BillingConductor::BillingGroup.AccountGrouping`.
|
void |
setComputationPreference(CfnBillingGroup.ComputationPreferenceProperty value)
`AWS::BillingConductor::BillingGroup.ComputationPreference`.
|
void |
setComputationPreference(IResolvable value)
`AWS::BillingConductor::BillingGroup.ComputationPreference`.
|
void |
setDescription(String value)
`AWS::BillingConductor::BillingGroup.Description`.
|
void |
setName(String value)
`AWS::BillingConductor::BillingGroup.Name`.
|
void |
setPrimaryAccountId(String value)
`AWS::BillingConductor::BillingGroup.PrimaryAccountId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, 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 CfnBillingGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnBillingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnBillingGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnBillingGroupProps 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 public String getAttrStatus()
@Stability(value=Stable) @NotNull public String getAttrStatusReason()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getAccountGrouping()
@Stability(value=Stable)
public void setAccountGrouping(@NotNull
CfnBillingGroup.AccountGroupingProperty value)
@Stability(value=Stable)
public void setAccountGrouping(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public Object getComputationPreference()
@Stability(value=Stable)
public void setComputationPreference(@NotNull
CfnBillingGroup.ComputationPreferenceProperty value)
@Stability(value=Stable)
public void setComputationPreference(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getPrimaryAccountId()
@Stability(value=Stable)
public void setPrimaryAccountId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.