We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
A Flex Cost Allocation (FCA) policy defines how shared network costs (data transfer, data processing) are allocated and reported for network resources such as NAT gateways, EC2 instances, and VPC peering connections.
Using getFcaPolicy
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 getFcaPolicy(args: GetFcaPolicyArgs, opts?: InvokeOptions): Promise<GetFcaPolicyResult>
function getFcaPolicyOutput(args: GetFcaPolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetFcaPolicyResult>def get_fca_policy(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFcaPolicyResult
def get_fca_policy_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetFcaPolicyResult]func LookupFcaPolicy(ctx *Context, args *LookupFcaPolicyArgs, opts ...InvokeOption) (*LookupFcaPolicyResult, error)
func LookupFcaPolicyOutput(ctx *Context, args *LookupFcaPolicyOutputArgs, opts ...InvokeOption) LookupFcaPolicyResultOutput> Note: This function is named LookupFcaPolicy in the Go SDK.
public static class GetFcaPolicy
{
public static Task<GetFcaPolicyResult> InvokeAsync(GetFcaPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetFcaPolicyResult> Invoke(GetFcaPolicyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetFcaPolicyResult> Invoke(GetFcaPolicyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetFcaPolicyResult> getFcaPolicy(GetFcaPolicyArgs args, InvokeOptions options)
public static Output<GetFcaPolicyResult> getFcaPolicy(GetFcaPolicyArgs args, InvokeOptions options)
public static Output<GetFcaPolicyResult> getFcaPolicy(GetFcaPolicyArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ec2:getFcaPolicy
arguments:
# arguments dictionarydata "aws-native_ec2_get_fca_policy" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- Arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- arn String
- The Amazon Resource Name (ARN) of the FCA policy.
- arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- arn str
- The Amazon Resource Name (ARN) of the FCA policy.
- arn String
- The Amazon Resource Name (ARN) of the FCA policy.
getFcaPolicy Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- Description string
- The description of the FCA policy.
- Fca
Policy stringId - The ID of the FCA policy.
- Instance
Fca Pulumi.Policy Document Aws Native. Ec2. Outputs. Fca Policy Instance Fca Policy Document - Latest
Version int - The latest version number of the FCA policy.
- Nat
Fca Pulumi.Policy Document Aws Native. Ec2. Outputs. Fca Policy Nat Fca Policy Document - Owner
Account string - The AWS account ID that owns the FCA policy.
- Pcx
Fca Pulumi.Policy Document Aws Native. Ec2. Outputs. Fca Policy Pcx Fca Policy Document - Policy
Created stringAt - The timestamp when the FCA policy was created.
- Show
Back boolEnabled - Indicates whether show-back reporting is enabled for the FCA policy.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the FCA policy.
- Version
Expected stringEffective At - The timestamp when the latest version of the FCA policy is expected to take effect.
- Arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- Description string
- The description of the FCA policy.
- Fca
Policy stringId - The ID of the FCA policy.
- Instance
Fca FcaPolicy Document Policy Instance Fca Policy Document - Latest
Version int - The latest version number of the FCA policy.
- Nat
Fca FcaPolicy Document Policy Nat Fca Policy Document - Owner
Account string - The AWS account ID that owns the FCA policy.
- Pcx
Fca FcaPolicy Document Policy Pcx Fca Policy Document - Policy
Created stringAt - The timestamp when the FCA policy was created.
- Show
Back boolEnabled - Indicates whether show-back reporting is enabled for the FCA policy.
- Tag
- The tags for the FCA policy.
- Version
Expected stringEffective At - The timestamp when the latest version of the FCA policy is expected to take effect.
- arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- description string
- The description of the FCA policy.
- fca_
policy_ stringid - The ID of the FCA policy.
- instance_
fca_ objectpolicy_ document - latest_
version number - The latest version number of the FCA policy.
- nat_
fca_ objectpolicy_ document - owner_
account string - The AWS account ID that owns the FCA policy.
- pcx_
fca_ objectpolicy_ document - policy_
created_ stringat - The timestamp when the FCA policy was created.
- show_
back_ boolenabled - Indicates whether show-back reporting is enabled for the FCA policy.
- list(object)
- The tags for the FCA policy.
- version_
expected_ stringeffective_ at - The timestamp when the latest version of the FCA policy is expected to take effect.
- arn String
- The Amazon Resource Name (ARN) of the FCA policy.
- description String
- The description of the FCA policy.
- fca
Policy StringId - The ID of the FCA policy.
- instance
Fca FcaPolicy Document Policy Instance Fca Policy Document - latest
Version Integer - The latest version number of the FCA policy.
- nat
Fca FcaPolicy Document Policy Nat Fca Policy Document - owner
Account String - The AWS account ID that owns the FCA policy.
- pcx
Fca FcaPolicy Document Policy Pcx Fca Policy Document - policy
Created StringAt - The timestamp when the FCA policy was created.
- show
Back BooleanEnabled - Indicates whether show-back reporting is enabled for the FCA policy.
- List<Tag>
- The tags for the FCA policy.
- version
Expected StringEffective At - The timestamp when the latest version of the FCA policy is expected to take effect.
- arn string
- The Amazon Resource Name (ARN) of the FCA policy.
- description string
- The description of the FCA policy.
- fca
Policy stringId - The ID of the FCA policy.
- instance
Fca FcaPolicy Document Policy Instance Fca Policy Document - latest
Version number - The latest version number of the FCA policy.
- nat
Fca FcaPolicy Document Policy Nat Fca Policy Document - owner
Account string - The AWS account ID that owns the FCA policy.
- pcx
Fca FcaPolicy Document Policy Pcx Fca Policy Document - policy
Created stringAt - The timestamp when the FCA policy was created.
- show
Back booleanEnabled - Indicates whether show-back reporting is enabled for the FCA policy.
- Tag[]
- The tags for the FCA policy.
- version
Expected stringEffective At - The timestamp when the latest version of the FCA policy is expected to take effect.
- arn str
- The Amazon Resource Name (ARN) of the FCA policy.
- description str
- The description of the FCA policy.
- fca_
policy_ strid - The ID of the FCA policy.
- instance_
fca_ Fcapolicy_ document Policy Instance Fca Policy Document - latest_
version int - The latest version number of the FCA policy.
- nat_
fca_ Fcapolicy_ document Policy Nat Fca Policy Document - owner_
account str - The AWS account ID that owns the FCA policy.
- pcx_
fca_ Fcapolicy_ document Policy Pcx Fca Policy Document - policy_
created_ strat - The timestamp when the FCA policy was created.
- show_
back_ boolenabled - Indicates whether show-back reporting is enabled for the FCA policy.
- Sequence[root_Tag]
- The tags for the FCA policy.
- version_
expected_ streffective_ at - The timestamp when the latest version of the FCA policy is expected to take effect.
- arn String
- The Amazon Resource Name (ARN) of the FCA policy.
- description String
- The description of the FCA policy.
- fca
Policy StringId - The ID of the FCA policy.
- instance
Fca Property MapPolicy Document - latest
Version Number - The latest version number of the FCA policy.
- nat
Fca Property MapPolicy Document - owner
Account String - The AWS account ID that owns the FCA policy.
- pcx
Fca Property MapPolicy Document - policy
Created StringAt - The timestamp when the FCA policy was created.
- show
Back BooleanEnabled - Indicates whether show-back reporting is enabled for the FCA policy.
- List<Property Map>
- The tags for the FCA policy.
- version
Expected StringEffective At - The timestamp when the latest version of the FCA policy is expected to take effect.
Supporting Types
FcaPolicyCidrMapping
- cidr_
label string - The label for the CIDR range.
- cidr_
range string - The CIDR range.
- cidr_
label str - The label for the CIDR range.
- cidr_
range str - The CIDR range.
FcaPolicyCidrRangeSpecifications
- Prefixes
List<Pulumi.
Aws Native. Ec2. Inputs. Fca Policy Cidr Mapping> - The CIDR range to label mappings.
- Prefixes
Type string - The type of prefixes the mappings apply to.
- Prefixes
[]Fca
Policy Cidr Mapping - The CIDR range to label mappings.
- Prefixes
Type string - The type of prefixes the mappings apply to.
- prefixes list(object)
- The CIDR range to label mappings.
- prefixes_
type string - The type of prefixes the mappings apply to.
- prefixes
List<Fca
Policy Cidr Mapping> - The CIDR range to label mappings.
- prefixes
Type String - The type of prefixes the mappings apply to.
- prefixes
Fca
Policy Cidr Mapping[] - The CIDR range to label mappings.
- prefixes
Type string - The type of prefixes the mappings apply to.
- prefixes
Sequence[Fca
Policy Cidr Mapping] - The CIDR range to label mappings.
- prefixes_
type str - The type of prefixes the mappings apply to.
- prefixes List<Property Map>
- The CIDR range to label mappings.
- prefixes
Type String - The type of prefixes the mappings apply to.
FcaPolicyDimensionListItem
| Name | Value |
|---|---|
| Data | data-transfer |
| Data | data-processing |
| Name | Value |
|---|---|
| Fca | data-transfer |
| Fca | data-processing |
| Value |
|---|
data-transfer |
data-processing |
| Name | Value |
|---|---|
| Data | data-transfer |
| Data | data-processing |
| Name | Value |
|---|---|
| Data | data-transfer |
| Data | data-processing |
| Name | Value |
|---|---|
| DATA_TRANSFER | data-transfer |
| DATA_PROCESSING | data-processing |
| Value |
|---|
data-transfer |
data-processing |
FcaPolicyInstanceFcaPolicyDocument
FcaPolicyNatFcaPolicyDocument
FcaPolicyPcxFcaPolicyDocument
FcaPolicyReportingGranularityListItem
| Name | Value |
|---|---|
| Eni | eni |
| Ec2 | ec2 |
| Subnet | subnet |
| Vpc | vpc |
| Account | account |
| Peering | peering-id |
| Cidr | cidr |
| Name | Value |
|---|---|
| Fca | eni |
| Fca | ec2 |
| Fca | subnet |
| Fca | vpc |
| Fca | account |
| Fca | peering-id |
| Fca | cidr |
| Value |
|---|
eni |
ec2 |
subnet |
vpc |
account |
peering-id |
cidr |
| Name | Value |
|---|---|
| Eni | eni |
| Ec2 | ec2 |
| Subnet | subnet |
| Vpc | vpc |
| Account | account |
| Peering | peering-id |
| Cidr | cidr |
| Name | Value |
|---|---|
| Eni | eni |
| Ec2 | ec2 |
| Subnet | subnet |
| Vpc | vpc |
| Account | account |
| Peering | peering-id |
| Cidr | cidr |
| Name | Value |
|---|---|
| ENI | eni |
| EC2 | ec2 |
| SUBNET | subnet |
| VPC | vpc |
| ACCOUNT | account |
| PEERING_ID | peering-id |
| CIDR | cidr |
| Value |
|---|
eni |
ec2 |
subnet |
vpc |
account |
peering-id |
cidr |
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi