1. Packages
  2. AWS
  3. API Docs
  4. billing
  5. View
AWS v7.16.0 published on Friday, Jan 9, 2026 by Pulumi
aws logo
AWS v7.16.0 published on Friday, Jan 9, 2026 by Pulumi

    Manages an AWS Billing View.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.billing.View("example", {
        name: "example",
        description: "example description",
        sourceViews: ["arn:aws:billing::123456789012:billingview/example"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.billing.View("example",
        name="example",
        description="example description",
        source_views=["arn:aws:billing::123456789012:billingview/example"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/billing"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := billing.NewView(ctx, "example", &billing.ViewArgs{
    			Name:        pulumi.String("example"),
    			Description: pulumi.String("example description"),
    			SourceViews: pulumi.StringArray{
    				pulumi.String("arn:aws:billing::123456789012:billingview/example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Billing.View("example", new()
        {
            Name = "example",
            Description = "example description",
            SourceViews = new[]
            {
                "arn:aws:billing::123456789012:billingview/example",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.billing.View;
    import com.pulumi.aws.billing.ViewArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new View("example", ViewArgs.builder()
                .name("example")
                .description("example description")
                .sourceViews("arn:aws:billing::123456789012:billingview/example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:billing:View
        properties:
          name: example
          description: example description
          sourceViews:
            - arn:aws:billing::123456789012:billingview/example
    

    Create View Resource

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

    Constructor syntax

    new View(name: string, args?: ViewArgs, opts?: CustomResourceOptions);
    @overload
    def View(resource_name: str,
             args: Optional[ViewArgs] = None,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def View(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             data_filter_expression: Optional[ViewDataFilterExpressionArgs] = None,
             description: Optional[str] = None,
             name: Optional[str] = None,
             source_views: Optional[Sequence[str]] = None,
             tags: Optional[Mapping[str, str]] = None,
             timeouts: Optional[ViewTimeoutsArgs] = None)
    func NewView(ctx *Context, name string, args *ViewArgs, opts ...ResourceOption) (*View, error)
    public View(string name, ViewArgs? args = null, CustomResourceOptions? opts = null)
    public View(String name, ViewArgs args)
    public View(String name, ViewArgs args, CustomResourceOptions options)
    
    type: aws:billing:View
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ViewArgs
    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 ViewArgs
    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 ViewArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ViewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ViewArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var viewResource = new Aws.Billing.View("viewResource", new()
    {
        DataFilterExpression = new Aws.Billing.Inputs.ViewDataFilterExpressionArgs
        {
            Dimensions = new Aws.Billing.Inputs.ViewDataFilterExpressionDimensionsArgs
            {
                Key = "string",
                Values = new[]
                {
                    "string",
                },
            },
            Tags = new[]
            {
                new Aws.Billing.Inputs.ViewDataFilterExpressionTagArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                },
            },
            TimeRange = new Aws.Billing.Inputs.ViewDataFilterExpressionTimeRangeArgs
            {
                BeginDateInclusive = "string",
                EndDateInclusive = "string",
            },
        },
        Description = "string",
        Name = "string",
        SourceViews = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.Billing.Inputs.ViewTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := billing.NewView(ctx, "viewResource", &billing.ViewArgs{
    	DataFilterExpression: &billing.ViewDataFilterExpressionArgs{
    		Dimensions: &billing.ViewDataFilterExpressionDimensionsArgs{
    			Key: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Tags: billing.ViewDataFilterExpressionTagArray{
    			&billing.ViewDataFilterExpressionTagArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		TimeRange: &billing.ViewDataFilterExpressionTimeRangeArgs{
    			BeginDateInclusive: pulumi.String("string"),
    			EndDateInclusive:   pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	SourceViews: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &billing.ViewTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var viewResource = new com.pulumi.aws.billing.View("viewResource", com.pulumi.aws.billing.ViewArgs.builder()
        .dataFilterExpression(ViewDataFilterExpressionArgs.builder()
            .dimensions(ViewDataFilterExpressionDimensionsArgs.builder()
                .key("string")
                .values("string")
                .build())
            .tags(ViewDataFilterExpressionTagArgs.builder()
                .key("string")
                .values("string")
                .build())
            .timeRange(ViewDataFilterExpressionTimeRangeArgs.builder()
                .beginDateInclusive("string")
                .endDateInclusive("string")
                .build())
            .build())
        .description("string")
        .name("string")
        .sourceViews("string")
        .tags(Map.of("string", "string"))
        .timeouts(ViewTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    view_resource = aws.billing.View("viewResource",
        data_filter_expression={
            "dimensions": {
                "key": "string",
                "values": ["string"],
            },
            "tags": [{
                "key": "string",
                "values": ["string"],
            }],
            "time_range": {
                "begin_date_inclusive": "string",
                "end_date_inclusive": "string",
            },
        },
        description="string",
        name="string",
        source_views=["string"],
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const viewResource = new aws.billing.View("viewResource", {
        dataFilterExpression: {
            dimensions: {
                key: "string",
                values: ["string"],
            },
            tags: [{
                key: "string",
                values: ["string"],
            }],
            timeRange: {
                beginDateInclusive: "string",
                endDateInclusive: "string",
            },
        },
        description: "string",
        name: "string",
        sourceViews: ["string"],
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:billing:View
    properties:
        dataFilterExpression:
            dimensions:
                key: string
                values:
                    - string
            tags:
                - key: string
                  values:
                    - string
            timeRange:
                beginDateInclusive: string
                endDateInclusive: string
        description: string
        name: string
        sourceViews:
            - string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
    

    View 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 View resource accepts the following input properties:

    DataFilterExpression ViewDataFilterExpression
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    Description string
    Description of the custom billing view.
    Name string
    Name of the custom billing view to be created.
    SourceViews List<string>

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    Tags Dictionary<string, string>
    List of key value map specifying tags associated to the billing view being created.
    Timeouts ViewTimeouts
    DataFilterExpression ViewDataFilterExpressionArgs
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    Description string
    Description of the custom billing view.
    Name string
    Name of the custom billing view to be created.
    SourceViews []string

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    Tags map[string]string
    List of key value map specifying tags associated to the billing view being created.
    Timeouts ViewTimeoutsArgs
    dataFilterExpression ViewDataFilterExpression
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    description String
    Description of the custom billing view.
    name String
    Name of the custom billing view to be created.
    sourceViews List<String>

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags Map<String,String>
    List of key value map specifying tags associated to the billing view being created.
    timeouts ViewTimeouts
    dataFilterExpression ViewDataFilterExpression
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    description string
    Description of the custom billing view.
    name string
    Name of the custom billing view to be created.
    sourceViews string[]

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags {[key: string]: string}
    List of key value map specifying tags associated to the billing view being created.
    timeouts ViewTimeouts
    data_filter_expression ViewDataFilterExpressionArgs
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    description str
    Description of the custom billing view.
    name str
    Name of the custom billing view to be created.
    source_views Sequence[str]

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags Mapping[str, str]
    List of key value map specifying tags associated to the billing view being created.
    timeouts ViewTimeoutsArgs
    dataFilterExpression Property Map
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    description String
    Description of the custom billing view.
    name String
    Name of the custom billing view to be created.
    sourceViews List<String>

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags Map<String>
    List of key value map specifying tags associated to the billing view being created.
    timeouts Property Map

    Outputs

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

    Arn string
    ARN of the View.
    BillingViewType string
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    CreatedAt string
    Timestamp when the billing view was created.
    DerivedViewCount int
    Number of billing views that use this billing view as a source.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerAccountId string
    Account owner of the billing view.
    SourceAccountId string
    AWS account ID that owns the source billing view, if this is a derived billing view.
    SourceViewCount int
    Number of source views associated with this billing view.
    TagsAll Dictionary<string, string>
    List of key value map specifying tags associated to the billing view.
    UpdatedAt string
    Time when the billing view was last updated.
    ViewDefinitionLastUpdatedAt string
    Timestamp of when the billing view definition was last updated.
    Arn string
    ARN of the View.
    BillingViewType string
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    CreatedAt string
    Timestamp when the billing view was created.
    DerivedViewCount int
    Number of billing views that use this billing view as a source.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerAccountId string
    Account owner of the billing view.
    SourceAccountId string
    AWS account ID that owns the source billing view, if this is a derived billing view.
    SourceViewCount int
    Number of source views associated with this billing view.
    TagsAll map[string]string
    List of key value map specifying tags associated to the billing view.
    UpdatedAt string
    Time when the billing view was last updated.
    ViewDefinitionLastUpdatedAt string
    Timestamp of when the billing view definition was last updated.
    arn String
    ARN of the View.
    billingViewType String
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    createdAt String
    Timestamp when the billing view was created.
    derivedViewCount Integer
    Number of billing views that use this billing view as a source.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerAccountId String
    Account owner of the billing view.
    sourceAccountId String
    AWS account ID that owns the source billing view, if this is a derived billing view.
    sourceViewCount Integer
    Number of source views associated with this billing view.
    tagsAll Map<String,String>
    List of key value map specifying tags associated to the billing view.
    updatedAt String
    Time when the billing view was last updated.
    viewDefinitionLastUpdatedAt String
    Timestamp of when the billing view definition was last updated.
    arn string
    ARN of the View.
    billingViewType string
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    createdAt string
    Timestamp when the billing view was created.
    derivedViewCount number
    Number of billing views that use this billing view as a source.
    id string
    The provider-assigned unique ID for this managed resource.
    ownerAccountId string
    Account owner of the billing view.
    sourceAccountId string
    AWS account ID that owns the source billing view, if this is a derived billing view.
    sourceViewCount number
    Number of source views associated with this billing view.
    tagsAll {[key: string]: string}
    List of key value map specifying tags associated to the billing view.
    updatedAt string
    Time when the billing view was last updated.
    viewDefinitionLastUpdatedAt string
    Timestamp of when the billing view definition was last updated.
    arn str
    ARN of the View.
    billing_view_type str
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    created_at str
    Timestamp when the billing view was created.
    derived_view_count int
    Number of billing views that use this billing view as a source.
    id str
    The provider-assigned unique ID for this managed resource.
    owner_account_id str
    Account owner of the billing view.
    source_account_id str
    AWS account ID that owns the source billing view, if this is a derived billing view.
    source_view_count int
    Number of source views associated with this billing view.
    tags_all Mapping[str, str]
    List of key value map specifying tags associated to the billing view.
    updated_at str
    Time when the billing view was last updated.
    view_definition_last_updated_at str
    Timestamp of when the billing view definition was last updated.
    arn String
    ARN of the View.
    billingViewType String
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    createdAt String
    Timestamp when the billing view was created.
    derivedViewCount Number
    Number of billing views that use this billing view as a source.
    id String
    The provider-assigned unique ID for this managed resource.
    ownerAccountId String
    Account owner of the billing view.
    sourceAccountId String
    AWS account ID that owns the source billing view, if this is a derived billing view.
    sourceViewCount Number
    Number of source views associated with this billing view.
    tagsAll Map<String>
    List of key value map specifying tags associated to the billing view.
    updatedAt String
    Time when the billing view was last updated.
    viewDefinitionLastUpdatedAt String
    Timestamp of when the billing view definition was last updated.

    Look up Existing View Resource

    Get an existing View 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>, state?: ViewState, opts?: CustomResourceOptions): View
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            billing_view_type: Optional[str] = None,
            created_at: Optional[str] = None,
            data_filter_expression: Optional[ViewDataFilterExpressionArgs] = None,
            derived_view_count: Optional[int] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            owner_account_id: Optional[str] = None,
            source_account_id: Optional[str] = None,
            source_view_count: Optional[int] = None,
            source_views: Optional[Sequence[str]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            timeouts: Optional[ViewTimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            view_definition_last_updated_at: Optional[str] = None) -> View
    func GetView(ctx *Context, name string, id IDInput, state *ViewState, opts ...ResourceOption) (*View, error)
    public static View Get(string name, Input<string> id, ViewState? state, CustomResourceOptions? opts = null)
    public static View get(String name, Output<String> id, ViewState state, CustomResourceOptions options)
    resources:  _:    type: aws:billing:View    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the View.
    BillingViewType string
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    CreatedAt string
    Timestamp when the billing view was created.
    DataFilterExpression ViewDataFilterExpression
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    DerivedViewCount int
    Number of billing views that use this billing view as a source.
    Description string
    Description of the custom billing view.
    Name string
    Name of the custom billing view to be created.
    OwnerAccountId string
    Account owner of the billing view.
    SourceAccountId string
    AWS account ID that owns the source billing view, if this is a derived billing view.
    SourceViewCount int
    Number of source views associated with this billing view.
    SourceViews List<string>

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    Tags Dictionary<string, string>
    List of key value map specifying tags associated to the billing view being created.
    TagsAll Dictionary<string, string>
    List of key value map specifying tags associated to the billing view.
    Timeouts ViewTimeouts
    UpdatedAt string
    Time when the billing view was last updated.
    ViewDefinitionLastUpdatedAt string
    Timestamp of when the billing view definition was last updated.
    Arn string
    ARN of the View.
    BillingViewType string
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    CreatedAt string
    Timestamp when the billing view was created.
    DataFilterExpression ViewDataFilterExpressionArgs
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    DerivedViewCount int
    Number of billing views that use this billing view as a source.
    Description string
    Description of the custom billing view.
    Name string
    Name of the custom billing view to be created.
    OwnerAccountId string
    Account owner of the billing view.
    SourceAccountId string
    AWS account ID that owns the source billing view, if this is a derived billing view.
    SourceViewCount int
    Number of source views associated with this billing view.
    SourceViews []string

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    Tags map[string]string
    List of key value map specifying tags associated to the billing view being created.
    TagsAll map[string]string
    List of key value map specifying tags associated to the billing view.
    Timeouts ViewTimeoutsArgs
    UpdatedAt string
    Time when the billing view was last updated.
    ViewDefinitionLastUpdatedAt string
    Timestamp of when the billing view definition was last updated.
    arn String
    ARN of the View.
    billingViewType String
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    createdAt String
    Timestamp when the billing view was created.
    dataFilterExpression ViewDataFilterExpression
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    derivedViewCount Integer
    Number of billing views that use this billing view as a source.
    description String
    Description of the custom billing view.
    name String
    Name of the custom billing view to be created.
    ownerAccountId String
    Account owner of the billing view.
    sourceAccountId String
    AWS account ID that owns the source billing view, if this is a derived billing view.
    sourceViewCount Integer
    Number of source views associated with this billing view.
    sourceViews List<String>

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags Map<String,String>
    List of key value map specifying tags associated to the billing view being created.
    tagsAll Map<String,String>
    List of key value map specifying tags associated to the billing view.
    timeouts ViewTimeouts
    updatedAt String
    Time when the billing view was last updated.
    viewDefinitionLastUpdatedAt String
    Timestamp of when the billing view definition was last updated.
    arn string
    ARN of the View.
    billingViewType string
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    createdAt string
    Timestamp when the billing view was created.
    dataFilterExpression ViewDataFilterExpression
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    derivedViewCount number
    Number of billing views that use this billing view as a source.
    description string
    Description of the custom billing view.
    name string
    Name of the custom billing view to be created.
    ownerAccountId string
    Account owner of the billing view.
    sourceAccountId string
    AWS account ID that owns the source billing view, if this is a derived billing view.
    sourceViewCount number
    Number of source views associated with this billing view.
    sourceViews string[]

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags {[key: string]: string}
    List of key value map specifying tags associated to the billing view being created.
    tagsAll {[key: string]: string}
    List of key value map specifying tags associated to the billing view.
    timeouts ViewTimeouts
    updatedAt string
    Time when the billing view was last updated.
    viewDefinitionLastUpdatedAt string
    Timestamp of when the billing view definition was last updated.
    arn str
    ARN of the View.
    billing_view_type str
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    created_at str
    Timestamp when the billing view was created.
    data_filter_expression ViewDataFilterExpressionArgs
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    derived_view_count int
    Number of billing views that use this billing view as a source.
    description str
    Description of the custom billing view.
    name str
    Name of the custom billing view to be created.
    owner_account_id str
    Account owner of the billing view.
    source_account_id str
    AWS account ID that owns the source billing view, if this is a derived billing view.
    source_view_count int
    Number of source views associated with this billing view.
    source_views Sequence[str]

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags Mapping[str, str]
    List of key value map specifying tags associated to the billing view being created.
    tags_all Mapping[str, str]
    List of key value map specifying tags associated to the billing view.
    timeouts ViewTimeoutsArgs
    updated_at str
    Time when the billing view was last updated.
    view_definition_last_updated_at str
    Timestamp of when the billing view definition was last updated.
    arn String
    ARN of the View.
    billingViewType String
    Type of billing group. Valid values are PRIMARY|BILLING_GROUP|CUSTOM.
    createdAt String
    Timestamp when the billing view was created.
    dataFilterExpression Property Map
    Filter Cost Explorer APIs using the expression. Refer to the data-filter-expression block documentation for more details.
    derivedViewCount Number
    Number of billing views that use this billing view as a source.
    description String
    Description of the custom billing view.
    name String
    Name of the custom billing view to be created.
    ownerAccountId String
    Account owner of the billing view.
    sourceAccountId String
    AWS account ID that owns the source billing view, if this is a derived billing view.
    sourceViewCount Number
    Number of source views associated with this billing view.
    sourceViews List<String>

    List of ARNs of the source data views for the custom billing view.

    The following arguments are optional:

    tags Map<String>
    List of key value map specifying tags associated to the billing view being created.
    tagsAll Map<String>
    List of key value map specifying tags associated to the billing view.
    timeouts Property Map
    updatedAt String
    Time when the billing view was last updated.
    viewDefinitionLastUpdatedAt String
    Timestamp of when the billing view definition was last updated.

    Supporting Types

    ViewDataFilterExpression, ViewDataFilterExpressionArgs

    Dimensions ViewDataFilterExpressionDimensions
    Dimension to use for expression. Refer to #dimensions for more details.
    Tags List<ViewDataFilterExpressionTag>
    List of key value map specifying tags associated to the billing view being created.
    TimeRange ViewDataFilterExpressionTimeRange
    Time range to use for expression. Refer to #time-range for more details.
    Dimensions ViewDataFilterExpressionDimensions
    Dimension to use for expression. Refer to #dimensions for more details.
    Tags []ViewDataFilterExpressionTag
    List of key value map specifying tags associated to the billing view being created.
    TimeRange ViewDataFilterExpressionTimeRange
    Time range to use for expression. Refer to #time-range for more details.
    dimensions ViewDataFilterExpressionDimensions
    Dimension to use for expression. Refer to #dimensions for more details.
    tags List<ViewDataFilterExpressionTag>
    List of key value map specifying tags associated to the billing view being created.
    timeRange ViewDataFilterExpressionTimeRange
    Time range to use for expression. Refer to #time-range for more details.
    dimensions ViewDataFilterExpressionDimensions
    Dimension to use for expression. Refer to #dimensions for more details.
    tags ViewDataFilterExpressionTag[]
    List of key value map specifying tags associated to the billing view being created.
    timeRange ViewDataFilterExpressionTimeRange
    Time range to use for expression. Refer to #time-range for more details.
    dimensions ViewDataFilterExpressionDimensions
    Dimension to use for expression. Refer to #dimensions for more details.
    tags Sequence[ViewDataFilterExpressionTag]
    List of key value map specifying tags associated to the billing view being created.
    time_range ViewDataFilterExpressionTimeRange
    Time range to use for expression. Refer to #time-range for more details.
    dimensions Property Map
    Dimension to use for expression. Refer to #dimensions for more details.
    tags List<Property Map>
    List of key value map specifying tags associated to the billing view being created.
    timeRange Property Map
    Time range to use for expression. Refer to #time-range for more details.

    ViewDataFilterExpressionDimensions, ViewDataFilterExpressionDimensionsArgs

    Key string
    Key of the dimension. Possible values are LINKED_ACCOUNT.
    Values List<string>
    List of metadata values that you can use to filter and group your results.
    Key string
    Key of the dimension. Possible values are LINKED_ACCOUNT.
    Values []string
    List of metadata values that you can use to filter and group your results.
    key String
    Key of the dimension. Possible values are LINKED_ACCOUNT.
    values List<String>
    List of metadata values that you can use to filter and group your results.
    key string
    Key of the dimension. Possible values are LINKED_ACCOUNT.
    values string[]
    List of metadata values that you can use to filter and group your results.
    key str
    Key of the dimension. Possible values are LINKED_ACCOUNT.
    values Sequence[str]
    List of metadata values that you can use to filter and group your results.
    key String
    Key of the dimension. Possible values are LINKED_ACCOUNT.
    values List<String>
    List of metadata values that you can use to filter and group your results.

    ViewDataFilterExpressionTag, ViewDataFilterExpressionTagArgs

    Key string
    Key of the tag.
    Values List<string>
    List of values for the tag.
    Key string
    Key of the tag.
    Values []string
    List of values for the tag.
    key String
    Key of the tag.
    values List<String>
    List of values for the tag.
    key string
    Key of the tag.
    values string[]
    List of values for the tag.
    key str
    Key of the tag.
    values Sequence[str]
    List of values for the tag.
    key String
    Key of the tag.
    values List<String>
    List of values for the tag.

    ViewDataFilterExpressionTimeRange, ViewDataFilterExpressionTimeRangeArgs

    BeginDateInclusive string
    Inclusive end date of the time range.
    EndDateInclusive string
    BeginDateInclusive string
    Inclusive end date of the time range.
    EndDateInclusive string
    beginDateInclusive String
    Inclusive end date of the time range.
    endDateInclusive String
    beginDateInclusive string
    Inclusive end date of the time range.
    endDateInclusive string
    begin_date_inclusive str
    Inclusive end date of the time range.
    end_date_inclusive str
    beginDateInclusive String
    Inclusive end date of the time range.
    endDateInclusive String

    ViewTimeouts, ViewTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Using pulumi import, import Billing View using the arn. For example:

    $ pulumi import aws:billing/view:View example arn:aws:billing::123456789012:billing-view/example
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.16.0 published on Friday, Jan 9, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate