CostCategoryReference Struct
A reference to a CostCategory resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ce as interfaces_ce } from 'aws-cdk-lib/interfaces';
const costCategoryReference: interfaces_ce.CostCategoryReference = {
costCategoryArn: 'costCategoryArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ce as interfaces_ce
cost_category_reference = interfaces_ce.CostCategoryReference(
cost_category_arn="costCategoryArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ce.*;
CostCategoryReference costCategoryReference = CostCategoryReference.builder()
.costCategoryArn("costCategoryArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CE;
var costCategoryReference = new CostCategoryReference {
CostCategoryArn = "costCategoryArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
costCategoryReference := &CostCategoryReference{
CostCategoryArn: jsii.String("costCategoryArn"),
}
Properties
costCategoryArnstringcost_category_arnstrcostCategoryArnStringCostCategoryArnstringCostCategoryArn*string required #The Arn of the CostCategory resource.