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.31.0 published on Wednesday, Jul 16, 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.31.0 published on Wednesday, Jul 16, 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
    Arn string
    arn String
    arn string
    arn str
    arn String

    getBillingView Result

    The following output properties are available:

    Arn string
    BillingViewType Pulumi.AwsNative.Billing.BillingViewType
    CreatedAt double
    The time when the billing view was created.
    DataFilterExpression Pulumi.AwsNative.Billing.Outputs.DataFilterExpressionProperties
    OwnerAccountId string
    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
    BillingViewType BillingViewType
    CreatedAt float64
    The time when the billing view was created.
    DataFilterExpression DataFilterExpressionProperties
    OwnerAccountId string
    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
    billingViewType BillingViewType
    createdAt Double
    The time when the billing view was created.
    dataFilterExpression DataFilterExpressionProperties
    ownerAccountId String
    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
    billingViewType BillingViewType
    createdAt number
    The time when the billing view was created.
    dataFilterExpression DataFilterExpressionProperties
    ownerAccountId string
    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
    billing_view_type BillingViewType
    created_at float
    The time when the billing view was created.
    data_filter_expression DataFilterExpressionProperties
    owner_account_id str
    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
    billingViewType "PRIMARY" | "BILLING_GROUP" | "CUSTOM"
    createdAt Number
    The time when the billing view was created.
    dataFilterExpression Property Map
    ownerAccountId String
    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

    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.31.0 published on Wednesday, Jul 16, 2025 by Pulumi