1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. billing
  6. BillingView

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    A billing view is a container of cost & usage metadata.

    Create BillingView Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BillingView(name: string, args: BillingViewArgs, opts?: CustomResourceOptions);
    @overload
    def BillingView(resource_name: str,
                    args: BillingViewArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def BillingView(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    source_views: Optional[Sequence[str]] = None,
                    data_filter_expression: Optional[DataFilterExpressionPropertiesArgs] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewBillingView(ctx *Context, name string, args BillingViewArgs, opts ...ResourceOption) (*BillingView, error)
    public BillingView(string name, BillingViewArgs args, CustomResourceOptions? opts = null)
    public BillingView(String name, BillingViewArgs args)
    public BillingView(String name, BillingViewArgs args, CustomResourceOptions options)
    
    type: aws-native:billing:BillingView
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_billing_billing_view" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BillingViewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BillingViewArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BillingViewArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BillingViewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BillingViewArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BillingView Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BillingView resource accepts the following input properties:

    SourceViews List<string>
    An array of strings that define the billing view's source.
    DataFilterExpression Pulumi.AwsNative.Billing.Inputs.DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    Description string
    The description of the billing view.
    Name string
    The name of the billing view.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs associated to the billing view being created.
    SourceViews []string
    An array of strings that define the billing view's source.
    DataFilterExpression DataFilterExpressionPropertiesArgs
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    Description string
    The description of the billing view.
    Name string
    The name of the billing view.
    Tags TagArgs
    An array of key-value pairs associated to the billing view being created.
    source_views list(string)
    An array of strings that define the billing view's source.
    data_filter_expression object
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    description string
    The description of the billing view.
    name string
    The name of the billing view.
    tags list(object)
    An array of key-value pairs associated to the billing view being created.
    sourceViews List<String>
    An array of strings that define the billing view's source.
    dataFilterExpression DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    description String
    The description of the billing view.
    name String
    The name of the billing view.
    tags List<Tag>
    An array of key-value pairs associated to the billing view being created.
    sourceViews string[]
    An array of strings that define the billing view's source.
    dataFilterExpression DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    description string
    The description of the billing view.
    name string
    The name of the billing view.
    tags Tag[]
    An array of key-value pairs associated to the billing view being created.
    source_views Sequence[str]
    An array of strings that define the billing view's source.
    data_filter_expression DataFilterExpressionPropertiesArgs
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    description str
    The description of the billing view.
    name str
    The name of the billing view.
    tags Sequence[TagArgs]
    An array of key-value pairs associated to the billing view being created.
    sourceViews List<String>
    An array of strings that define the billing view's source.
    dataFilterExpression Property Map
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    description String
    The description of the billing view.
    name String
    The name of the billing view.
    tags List<Property Map>
    An array of key-value pairs associated to the billing view being created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BillingView resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    BillingViewType Pulumi.AwsNative.Billing.BillingViewType
    The type of billing group.
    CreatedAt double
    The time when the billing view was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerAccountId string
    The account owner of the billing view.
    UpdatedAt double
    The time when the billing view was last updated.
    Arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    BillingViewType BillingViewType
    The type of billing group.
    CreatedAt float64
    The time when the billing view was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerAccountId string
    The account owner of the billing view.
    UpdatedAt float64
    The time when the billing view was last updated.
    arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    billing_view_type "PRIMARY" | "BILLING_GROUP" | "CUSTOM"
    The type of billing group.
    created_at number
    The time when the billing view was created.
    id string
    The provider-assigned unique ID for this managed resource.
    owner_account_id string
    The account owner of the billing view.
    updated_at number
    The time when the billing view was last updated.
    arn String
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    billingViewType BillingViewType
    The type of billing group.
    createdAt Double
    The time when the billing view was created.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerAccountId String
    The account owner of the billing view.
    updatedAt Double
    The time when the billing view was last updated.
    arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    billingViewType BillingViewType
    The type of billing group.
    createdAt number
    The time when the billing view was created.
    id string
    The provider-assigned unique ID for this managed resource.
    ownerAccountId string
    The account owner of the billing view.
    updatedAt number
    The time when the billing view was last updated.
    arn str
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    billing_view_type BillingViewType
    The type of billing group.
    created_at float
    The time when the billing view was created.
    id str
    The provider-assigned unique ID for this managed resource.
    owner_account_id str
    The account owner of the billing view.
    updated_at float
    The time when the billing view was last updated.
    arn String
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    billingViewType "PRIMARY" | "BILLING_GROUP" | "CUSTOM"
    The type of billing group.
    createdAt Number
    The time when the billing view was created.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerAccountId String
    The account owner of the billing view.
    updatedAt Number
    The time when the billing view was last updated.

    Look up Existing BillingView Resource

    Get an existing BillingView resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): BillingView
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> BillingView
    func GetBillingView(ctx *Context, name string, id IDInput, state *BillingViewState, opts ...ResourceOption) (*BillingView, error)
    public static BillingView Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static BillingView get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingBillingView:    type: aws-native:billing:BillingView    get:      id: ${id}
    import {
      to = aws-native_billing_billing_view.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state BillingViewState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    BillingViewDimensionKey

    NameValue
    LinkedAccountLINKED_ACCOUNT
    NameValue
    BillingViewDimensionKeyLinkedAccountLINKED_ACCOUNT
    Value
    LINKED_ACCOUNT
    NameValue
    LinkedAccountLINKED_ACCOUNT
    NameValue
    LinkedAccountLINKED_ACCOUNT
    NameValue
    LINKED_ACCOUNTLINKED_ACCOUNT
    Value
    LINKED_ACCOUNT

    BillingViewType

    NameValue
    PrimaryPRIMARY
    BillingGroupBILLING_GROUP
    CustomCUSTOM
    NameValue
    BillingViewTypePrimaryPRIMARY
    BillingViewTypeBillingGroupBILLING_GROUP
    BillingViewTypeCustomCUSTOM
    Value
    PRIMARY
    BILLING_GROUP
    CUSTOM
    NameValue
    PrimaryPRIMARY
    BillingGroupBILLING_GROUP
    CustomCUSTOM
    NameValue
    PrimaryPRIMARY
    BillingGroupBILLING_GROUP
    CustomCUSTOM
    NameValue
    PRIMARYPRIMARY
    BILLING_GROUPBILLING_GROUP
    CUSTOMCUSTOM
    Value
    PRIMARY
    BILLING_GROUP
    CUSTOM

    DataFilterExpressionProperties, DataFilterExpressionPropertiesArgs

    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .

    dimensions object
    The specific Dimension to use for Expression .
    tags object
    The specific Tag to use for Expression .
    time_range object
    dimensions Property Map
    The specific Dimension to use for Expression .
    tags Property Map
    The specific Tag to use for Expression .
    timeRange Property Map

    DataFilterExpressionPropertiesDimensionsProperties, DataFilterExpressionPropertiesDimensionsPropertiesArgs

    The specific Dimension to use for Expression .

    DataFilterExpressionPropertiesTagsProperties, DataFilterExpressionPropertiesTagsPropertiesArgs

    The specific Tag to use for Expression .

    Key string
    Values List<string>
    Key string
    Values []string
    key string
    values list(string)
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    DataFilterExpressionPropertiesTimeRangeProperties, DataFilterExpressionPropertiesTimeRangePropertiesArgs

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial