1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. billing
  5. getBillingView

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

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

aws-native.billing.getBillingView

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

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

    Using getBillingView

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBillingView(args: GetBillingViewArgs, opts?: InvokeOptions): Promise<GetBillingViewResult>
    function getBillingViewOutput(args: GetBillingViewOutputArgs, opts?: InvokeOptions): Output<GetBillingViewResult>
    def get_billing_view(arn: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetBillingViewResult
    def get_billing_view_output(arn: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetBillingViewResult]
    func LookupBillingView(ctx *Context, args *LookupBillingViewArgs, opts ...InvokeOption) (*LookupBillingViewResult, error)
    func LookupBillingViewOutput(ctx *Context, args *LookupBillingViewOutputArgs, opts ...InvokeOption) LookupBillingViewResultOutput

    > Note: This function is named LookupBillingView in the Go SDK.

    public static class GetBillingView 
    {
        public static Task<GetBillingViewResult> InvokeAsync(GetBillingViewArgs args, InvokeOptions? opts = null)
        public static Output<GetBillingViewResult> Invoke(GetBillingViewInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBillingViewResult> getBillingView(GetBillingViewArgs args, InvokeOptions options)
    public static Output<GetBillingViewResult> getBillingView(GetBillingViewArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:billing:getBillingView
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    Arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    arn String
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    arn string
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    arn str
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
    arn String
    The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.

    getBillingView Result

    The following output properties are available:

    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.
    DataFilterExpression Pulumi.AwsNative.Billing.Outputs.DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    OwnerAccountId string
    The account owner of the billing view.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs associated to the billing view being created.
    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.
    DataFilterExpression DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    OwnerAccountId string
    The account owner of the billing view.
    Tags Tag
    An array of key-value pairs associated to the billing view being created.
    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.
    billingViewType BillingViewType
    The type of billing group.
    createdAt Double
    The time when the billing view was created.
    dataFilterExpression DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    ownerAccountId String
    The account owner of the billing view.
    tags List<Tag>
    An array of key-value pairs associated to the billing view being created.
    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.
    dataFilterExpression DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    ownerAccountId string
    The account owner of the billing view.
    tags Tag[]
    An array of key-value pairs associated to the billing view being created.
    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.
    data_filter_expression DataFilterExpressionProperties
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    owner_account_id str
    The account owner of the billing view.
    tags Sequence[root_Tag]
    An array of key-value pairs associated to the billing view being created.
    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.
    dataFilterExpression Property Map
    See Expression . Billing view only supports LINKED_ACCOUNT and Tags .
    ownerAccountId String
    The account owner of the billing view.
    tags List<Property Map>
    An array of key-value pairs associated to the billing view being created.
    updatedAt Number
    The time when the billing view was last updated.

    Supporting Types

    BillingViewDimensionKey

    BillingViewType

    DataFilterExpressionProperties

    Dimensions DataFilterExpressionPropertiesDimensionsProperties
    The specific Dimension to use for Expression .
    Tags DataFilterExpressionPropertiesTagsProperties
    The specific Tag to use for Expression .
    dimensions DataFilterExpressionPropertiesDimensionsProperties
    The specific Dimension to use for Expression .
    tags DataFilterExpressionPropertiesTagsProperties
    The specific Tag to use for Expression .
    dimensions DataFilterExpressionPropertiesDimensionsProperties
    The specific Dimension to use for Expression .
    tags DataFilterExpressionPropertiesTagsProperties
    The specific Tag to use for Expression .
    dimensions DataFilterExpressionPropertiesDimensionsProperties
    The specific Dimension to use for Expression .
    tags DataFilterExpressionPropertiesTagsProperties
    The specific Tag to use for Expression .
    dimensions Property Map
    The specific Dimension to use for Expression .
    tags Property Map
    The specific Tag to use for Expression .

    DataFilterExpressionPropertiesDimensionsProperties

    DataFilterExpressionPropertiesTagsProperties

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

    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

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

    AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi