Skip to content
v2.278.0

PricingRuleReference ​

Struct External

A reference to a PricingRule resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_billingconductor as interfaces_billingconductor } from 'aws-cdk-lib/interfaces';
const pricingRuleReference: interfaces_billingconductor.PricingRuleReference = {
  pricingRuleArn: 'pricingRuleArn',
};
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_billingconductor as interfaces_billingconductor

pricing_rule_reference = interfaces_billingconductor.PricingRuleReference(
    pricing_rule_arn="pricingRuleArn"
)
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.billingconductor.*;

PricingRuleReference pricingRuleReference = PricingRuleReference.builder()
        .pricingRuleArn("pricingRuleArn")
        .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.BillingConductor;

var pricingRuleReference = new PricingRuleReference {
    PricingRuleArn = "pricingRuleArn"
};
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"

pricingRuleReference := &PricingRuleReference{
	PricingRuleArn: jsii.String("pricingRuleArn"),
}

Properties ​

pricingRuleArnstringpricing_rule_arnstrpricingRuleArnStringPricingRuleArnstringPricingRuleArn*string required #
The Arn of the PricingRule resource.