Manages an AWS Invoice Unit for organizational billing.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.invoicing.InvoiceUnit("example", {
name: "example-unit",
description: "Example invoice unit",
invoiceReceiver: "123456789012",
rules: [{
linkedAccounts: ["098765432109"],
}],
tags: {
Environment: "production",
},
});
import pulumi
import pulumi_aws as aws
example = aws.invoicing.InvoiceUnit("example",
name="example-unit",
description="Example invoice unit",
invoice_receiver="123456789012",
rules=[{
"linked_accounts": ["098765432109"],
}],
tags={
"Environment": "production",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/invoicing"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := invoicing.NewInvoiceUnit(ctx, "example", &invoicing.InvoiceUnitArgs{
Name: pulumi.String("example-unit"),
Description: pulumi.String("Example invoice unit"),
InvoiceReceiver: pulumi.String("123456789012"),
Rules: invoicing.InvoiceUnitRuleArray{
&invoicing.InvoiceUnitRuleArgs{
LinkedAccounts: pulumi.StringArray{
pulumi.String("098765432109"),
},
},
},
Tags: pulumi.StringMap{
"Environment": pulumi.String("production"),
},
})
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.Invoicing.InvoiceUnit("example", new()
{
Name = "example-unit",
Description = "Example invoice unit",
InvoiceReceiver = "123456789012",
Rules = new[]
{
new Aws.Invoicing.Inputs.InvoiceUnitRuleArgs
{
LinkedAccounts = new[]
{
"098765432109",
},
},
},
Tags =
{
{ "Environment", "production" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.invoicing.InvoiceUnit;
import com.pulumi.aws.invoicing.InvoiceUnitArgs;
import com.pulumi.aws.invoicing.inputs.InvoiceUnitRuleArgs;
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 InvoiceUnit("example", InvoiceUnitArgs.builder()
.name("example-unit")
.description("Example invoice unit")
.invoiceReceiver("123456789012")
.rules(InvoiceUnitRuleArgs.builder()
.linkedAccounts("098765432109")
.build())
.tags(Map.of("Environment", "production"))
.build());
}
}
resources:
example:
type: aws:invoicing:InvoiceUnit
properties:
name: example-unit
description: Example invoice unit
invoiceReceiver: '123456789012'
rules:
- linkedAccounts:
- '098765432109'
tags:
Environment: production
Create InvoiceUnit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InvoiceUnit(name: string, args: InvoiceUnitArgs, opts?: CustomResourceOptions);@overload
def InvoiceUnit(resource_name: str,
args: InvoiceUnitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InvoiceUnit(resource_name: str,
opts: Optional[ResourceOptions] = None,
invoice_receiver: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
rules: Optional[Sequence[InvoiceUnitRuleArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tax_inheritance_disabled: Optional[bool] = None,
timeouts: Optional[InvoiceUnitTimeoutsArgs] = None)func NewInvoiceUnit(ctx *Context, name string, args InvoiceUnitArgs, opts ...ResourceOption) (*InvoiceUnit, error)public InvoiceUnit(string name, InvoiceUnitArgs args, CustomResourceOptions? opts = null)
public InvoiceUnit(String name, InvoiceUnitArgs args)
public InvoiceUnit(String name, InvoiceUnitArgs args, CustomResourceOptions options)
type: aws:invoicing:InvoiceUnit
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 InvoiceUnitArgs
- 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 InvoiceUnitArgs
- 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 InvoiceUnitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InvoiceUnitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InvoiceUnitArgs
- 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 invoiceUnitResource = new Aws.Invoicing.InvoiceUnit("invoiceUnitResource", new()
{
InvoiceReceiver = "string",
Description = "string",
Name = "string",
Region = "string",
Rules = new[]
{
new Aws.Invoicing.Inputs.InvoiceUnitRuleArgs
{
LinkedAccounts = new[]
{
"string",
},
},
},
Tags =
{
{ "string", "string" },
},
TaxInheritanceDisabled = false,
Timeouts = new Aws.Invoicing.Inputs.InvoiceUnitTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := invoicing.NewInvoiceUnit(ctx, "invoiceUnitResource", &invoicing.InvoiceUnitArgs{
InvoiceReceiver: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Rules: invoicing.InvoiceUnitRuleArray{
&invoicing.InvoiceUnitRuleArgs{
LinkedAccounts: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TaxInheritanceDisabled: pulumi.Bool(false),
Timeouts: &invoicing.InvoiceUnitTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var invoiceUnitResource = new InvoiceUnit("invoiceUnitResource", InvoiceUnitArgs.builder()
.invoiceReceiver("string")
.description("string")
.name("string")
.region("string")
.rules(InvoiceUnitRuleArgs.builder()
.linkedAccounts("string")
.build())
.tags(Map.of("string", "string"))
.taxInheritanceDisabled(false)
.timeouts(InvoiceUnitTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
invoice_unit_resource = aws.invoicing.InvoiceUnit("invoiceUnitResource",
invoice_receiver="string",
description="string",
name="string",
region="string",
rules=[{
"linked_accounts": ["string"],
}],
tags={
"string": "string",
},
tax_inheritance_disabled=False,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const invoiceUnitResource = new aws.invoicing.InvoiceUnit("invoiceUnitResource", {
invoiceReceiver: "string",
description: "string",
name: "string",
region: "string",
rules: [{
linkedAccounts: ["string"],
}],
tags: {
string: "string",
},
taxInheritanceDisabled: false,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:invoicing:InvoiceUnit
properties:
description: string
invoiceReceiver: string
name: string
region: string
rules:
- linkedAccounts:
- string
tags:
string: string
taxInheritanceDisabled: false
timeouts:
create: string
delete: string
update: string
InvoiceUnit 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 InvoiceUnit resource accepts the following input properties:
- Invoice
Receiver string - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- Description string
- Description of the invoice unit.
- Name string
- Unique name of the invoice unit. Cannot be changed after creation.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Rules
List<Invoice
Unit Rule> Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Tax
Inheritance boolDisabled - Whether tax inheritance is disabled for this invoice unit.
- Timeouts
Invoice
Unit Timeouts
- Invoice
Receiver string - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- Description string
- Description of the invoice unit.
- Name string
- Unique name of the invoice unit. Cannot be changed after creation.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Rules
[]Invoice
Unit Rule Args Configuration block for invoice unit rules. See below.
The following arguments are optional:
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Tax
Inheritance boolDisabled - Whether tax inheritance is disabled for this invoice unit.
- Timeouts
Invoice
Unit Timeouts Args
- invoice
Receiver String - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- description String
- Description of the invoice unit.
- name String
- Unique name of the invoice unit. Cannot be changed after creation.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules
List<Invoice
Unit Rule> Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tax
Inheritance BooleanDisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts
Invoice
Unit Timeouts
- invoice
Receiver string - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- description string
- Description of the invoice unit.
- name string
- Unique name of the invoice unit. Cannot be changed after creation.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules
Invoice
Unit Rule[] Configuration block for invoice unit rules. See below.
The following arguments are optional:
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tax
Inheritance booleanDisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts
Invoice
Unit Timeouts
- invoice_
receiver str - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- description str
- Description of the invoice unit.
- name str
- Unique name of the invoice unit. Cannot be changed after creation.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules
Sequence[Invoice
Unit Rule Args] Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tax_
inheritance_ booldisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts
Invoice
Unit Timeouts Args
- invoice
Receiver String - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- description String
- Description of the invoice unit.
- name String
- Unique name of the invoice unit. Cannot be changed after creation.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules List<Property Map>
Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - tax
Inheritance BooleanDisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the InvoiceUnit resource produces the following output properties:
- Arn string
- ARN of the invoice unit.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - Timestamp when the invoice unit was last modified.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- Arn string
- ARN of the invoice unit.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - Timestamp when the invoice unit was last modified.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN of the invoice unit.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - Timestamp when the invoice unit was last modified.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn string
- ARN of the invoice unit.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified string - Timestamp when the invoice unit was last modified.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn str
- ARN of the invoice unit.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified str - Timestamp when the invoice unit was last modified.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
- arn String
- ARN of the invoice unit.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - Timestamp when the invoice unit was last modified.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block.
Look up Existing InvoiceUnit Resource
Get an existing InvoiceUnit 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?: InvoiceUnitState, opts?: CustomResourceOptions): InvoiceUnit@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
description: Optional[str] = None,
invoice_receiver: Optional[str] = None,
last_modified: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
rules: Optional[Sequence[InvoiceUnitRuleArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
tax_inheritance_disabled: Optional[bool] = None,
timeouts: Optional[InvoiceUnitTimeoutsArgs] = None) -> InvoiceUnitfunc GetInvoiceUnit(ctx *Context, name string, id IDInput, state *InvoiceUnitState, opts ...ResourceOption) (*InvoiceUnit, error)public static InvoiceUnit Get(string name, Input<string> id, InvoiceUnitState? state, CustomResourceOptions? opts = null)public static InvoiceUnit get(String name, Output<String> id, InvoiceUnitState state, CustomResourceOptions options)resources: _: type: aws:invoicing:InvoiceUnit 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.
- Arn string
- ARN of the invoice unit.
- Description string
- Description of the invoice unit.
- Invoice
Receiver string - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- Last
Modified string - Timestamp when the invoice unit was last modified.
- Name string
- Unique name of the invoice unit. Cannot be changed after creation.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Rules
List<Invoice
Unit Rule> Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Dictionary<string, string>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Tax
Inheritance boolDisabled - Whether tax inheritance is disabled for this invoice unit.
- Timeouts
Invoice
Unit Timeouts
- Arn string
- ARN of the invoice unit.
- Description string
- Description of the invoice unit.
- Invoice
Receiver string - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- Last
Modified string - Timestamp when the invoice unit was last modified.
- Name string
- Unique name of the invoice unit. Cannot be changed after creation.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Rules
[]Invoice
Unit Rule Args Configuration block for invoice unit rules. See below.
The following arguments are optional:
- map[string]string
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Tax
Inheritance boolDisabled - Whether tax inheritance is disabled for this invoice unit.
- Timeouts
Invoice
Unit Timeouts Args
- arn String
- ARN of the invoice unit.
- description String
- Description of the invoice unit.
- invoice
Receiver String - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- last
Modified String - Timestamp when the invoice unit was last modified.
- name String
- Unique name of the invoice unit. Cannot be changed after creation.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules
List<Invoice
Unit Rule> Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Map<String,String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tax
Inheritance BooleanDisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts
Invoice
Unit Timeouts
- arn string
- ARN of the invoice unit.
- description string
- Description of the invoice unit.
- invoice
Receiver string - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- last
Modified string - Timestamp when the invoice unit was last modified.
- name string
- Unique name of the invoice unit. Cannot be changed after creation.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules
Invoice
Unit Rule[] Configuration block for invoice unit rules. See below.
The following arguments are optional:
- {[key: string]: string}
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tax
Inheritance booleanDisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts
Invoice
Unit Timeouts
- arn str
- ARN of the invoice unit.
- description str
- Description of the invoice unit.
- invoice_
receiver str - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- last_
modified str - Timestamp when the invoice unit was last modified.
- name str
- Unique name of the invoice unit. Cannot be changed after creation.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules
Sequence[Invoice
Unit Rule Args] Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Mapping[str, str]
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tax_
inheritance_ booldisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts
Invoice
Unit Timeouts Args
- arn String
- ARN of the invoice unit.
- description String
- Description of the invoice unit.
- invoice
Receiver String - AWS account ID that receives invoices for this unit. Cannot be changed after creation.
- last
Modified String - Timestamp when the invoice unit was last modified.
- name String
- Unique name of the invoice unit. Cannot be changed after creation.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- rules List<Property Map>
Configuration block for invoice unit rules. See below.
The following arguments are optional:
- Map<String>
- Map of tags to assign to the resource. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - tax
Inheritance BooleanDisabled - Whether tax inheritance is disabled for this invoice unit.
- timeouts Property Map
Supporting Types
InvoiceUnitRule, InvoiceUnitRuleArgs
- Linked
Accounts List<string> - Set of AWS account IDs included in this invoice unit.
- Linked
Accounts []string - Set of AWS account IDs included in this invoice unit.
- linked
Accounts List<String> - Set of AWS account IDs included in this invoice unit.
- linked
Accounts string[] - Set of AWS account IDs included in this invoice unit.
- linked_
accounts Sequence[str] - Set of AWS account IDs included in this invoice unit.
- linked
Accounts List<String> - Set of AWS account IDs included in this invoice unit.
InvoiceUnitTimeouts, InvoiceUnitTimeoutsArgs
- 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 Invoice Units using the ARN. For example:
$ pulumi import aws:invoicing/invoiceUnit:InvoiceUnit example arn:aws:invoicing::123456789012:invoice-unit/example-id
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
awsTerraform Provider.
