We recommend new projects start with resources from the AWS provider.
aws-native.billing.BillingView
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
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:
- Source
Views List<string> - An array of strings that define the billing view's source.
- Data
Filter Pulumi.Expression Aws Native. Billing. Inputs. Data Filter Expression Properties - Description string
- Name string
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs associated to the billing view being created.
- Source
Views []string - An array of strings that define the billing view's source.
- Data
Filter DataExpression Filter Expression Properties Args - Description string
- Name string
- Tag
Args - 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 DataExpression Filter Expression Properties - description String
- name String
- List<Tag>
- An array of key-value pairs associated to the billing view being created.
- source
Views string[] - An array of strings that define the billing view's source.
- data
Filter DataExpression Filter Expression Properties - description string
- name string
- 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_ Dataexpression Filter Expression Properties Args - description str
- name str
- Sequence[Tag
Args] - 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 Property MapExpression - description String
- name String
- 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
- Billing
View Pulumi.Type Aws Native. Billing. Billing View Type - Created
At double - The time when the billing view was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - Updated
At double - The time when the billing view was last updated.
- Arn string
- Billing
View BillingType View Type - Created
At float64 - The time when the billing view was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - Updated
At float64 - The time when the billing view was last updated.
- arn String
- billing
View BillingType View Type - created
At Double - The time when the billing view was created.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - updated
At Double - The time when the billing view was last updated.
- arn string
- billing
View BillingType View Type - created
At number - The time when the billing view was created.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Account stringId - updated
At number - The time when the billing view was last updated.
- arn str
- billing_
view_ Billingtype View Type - created_
at float - The time when the billing view was created.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
account_ strid - updated_
at float - The time when the billing view was last updated.
- arn String
- billing
View "PRIMARY" | "BILLING_GROUP" | "CUSTOM"Type - created
At Number - The time when the billing view was created.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - updated
At Number - The time when the billing view was last updated.
Supporting Types
BillingViewDimensionKey, BillingViewDimensionKeyArgs
- Linked
Account - LINKED_ACCOUNT
- Billing
View Dimension Key Linked Account - LINKED_ACCOUNT
- Linked
Account - LINKED_ACCOUNT
- Linked
Account - LINKED_ACCOUNT
- LINKED_ACCOUNT
- LINKED_ACCOUNT
- "LINKED_ACCOUNT"
- LINKED_ACCOUNT
BillingViewType, BillingViewTypeArgs
- Primary
- PRIMARY
- Billing
Group - BILLING_GROUP
- Custom
- CUSTOM
- Billing
View Type Primary - PRIMARY
- Billing
View Type Billing Group - BILLING_GROUP
- Billing
View Type Custom - CUSTOM
- Primary
- PRIMARY
- Billing
Group - BILLING_GROUP
- Custom
- CUSTOM
- Primary
- PRIMARY
- Billing
Group - BILLING_GROUP
- Custom
- CUSTOM
- PRIMARY
- PRIMARY
- BILLING_GROUP
- BILLING_GROUP
- CUSTOM
- CUSTOM
- "PRIMARY"
- PRIMARY
- "BILLING_GROUP"
- BILLING_GROUP
- "CUSTOM"
- CUSTOM
DataFilterExpressionProperties, DataFilterExpressionPropertiesArgs
DataFilterExpressionPropertiesDimensionsProperties, DataFilterExpressionPropertiesDimensionsPropertiesArgs
- Key
Billing
View Dimension Key - Values []string
- key
Billing
View Dimension Key - values List<String>
- key
Billing
View Dimension Key - values string[]
- key
Billing
View Dimension Key - values Sequence[str]
- key "LINKED_ACCOUNT"
- values List<String>
DataFilterExpressionPropertiesTagsProperties, DataFilterExpressionPropertiesTagsPropertiesArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.