Class CfnBillingGroup
A CloudFormation AWS::BillingConductor::BillingGroup
.
Inherited Members
Namespace: Amazon.CDK.AWS.BillingConductor
Assembly: Amazon.CDK.AWS.BillingConductor.dll
Syntax (csharp)
public class CfnBillingGroup : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnBillingGroup
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a billing group that resembles a consolidated billing family that AWS charges, based off of the predefined pricing plan computation.
CloudformationResource: AWS::BillingConductor::BillingGroup
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BillingConductor;
var cfnBillingGroup = new CfnBillingGroup(this, "MyCfnBillingGroup", new CfnBillingGroupProps {
AccountGrouping = new AccountGroupingProperty {
LinkedAccountIds = new [] { "linkedAccountIds" }
},
ComputationPreference = new ComputationPreferenceProperty {
PricingPlanArn = "pricingPlanArn"
},
Name = "name",
PrimaryAccountId = "primaryAccountId",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnBillingGroup(Construct, String, ICfnBillingGroupProps) | Create a new |
CfnBillingGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnBillingGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AccountGrouping | The set of accounts that will be under the billing group. |
AttrArn | The Amazon Resource Name (ARN) of the created billing group. |
AttrCreationTime | The time the billing group was created. |
AttrLastModifiedTime | The most recent time the billing group was modified. |
AttrSize | The number of accounts in the particular billing group. |
AttrStatus | The billing group status. |
AttrStatusReason | The reason why the billing group is in its current status. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ComputationPreference | The preferences and settings that will be used to compute the AWS charges for a billing group. |
Description | The description of the billing group. |
Name | The billing group's name. |
PrimaryAccountId | The account ID that serves as the main account in a billing group. |
Tags |
|
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnBillingGroup(Construct, String, ICfnBillingGroupProps)
Create a new AWS::BillingConductor::BillingGroup
.
public CfnBillingGroup(Construct scope, string id, ICfnBillingGroupProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnBillingGroupProps
- resource properties.
CfnBillingGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnBillingGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnBillingGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnBillingGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AccountGrouping
The set of accounts that will be under the billing group.
public virtual object AccountGrouping { get; set; }
Property Value
System.Object
Remarks
The set of accounts resemble the linked accounts in a consolidated family.
AttrArn
The Amazon Resource Name (ARN) of the created billing group.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreationTime
The time the billing group was created.
public virtual double AttrCreationTime { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: CreationTime
AttrLastModifiedTime
The most recent time the billing group was modified.
public virtual double AttrLastModifiedTime { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: LastModifiedTime
AttrSize
The number of accounts in the particular billing group.
public virtual double AttrSize { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: Size
AttrStatus
The billing group status.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
Only one of the valid values can be used.
CloudformationAttribute: Status
AttrStatusReason
The reason why the billing group is in its current status.
public virtual string AttrStatusReason { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StatusReason
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ComputationPreference
The preferences and settings that will be used to compute the AWS charges for a billing group.
public virtual object ComputationPreference { get; set; }
Property Value
System.Object
Remarks
Description
The description of the billing group.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Name
The billing group's name.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
PrimaryAccountId
The account ID that serves as the main account in a billing group.
public virtual string PrimaryAccountId { get; set; }
Property Value
System.String
Remarks
Tags
AWS::BillingConductor::BillingGroup.Tags
.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>