1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ec2
  6. getFcaPolicy

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
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 dictionary
    data "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.
    FcaPolicyId string
    The ID of the FCA policy.
    InstanceFcaPolicyDocument Pulumi.AwsNative.Ec2.Outputs.FcaPolicyInstanceFcaPolicyDocument
    LatestVersion int
    The latest version number of the FCA policy.
    NatFcaPolicyDocument Pulumi.AwsNative.Ec2.Outputs.FcaPolicyNatFcaPolicyDocument
    OwnerAccount string
    The AWS account ID that owns the FCA policy.
    PcxFcaPolicyDocument Pulumi.AwsNative.Ec2.Outputs.FcaPolicyPcxFcaPolicyDocument
    PolicyCreatedAt string
    The timestamp when the FCA policy was created.
    ShowBackEnabled bool
    Indicates whether show-back reporting is enabled for the FCA policy.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the FCA policy.
    VersionExpectedEffectiveAt string
    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.
    FcaPolicyId string
    The ID of the FCA policy.
    InstanceFcaPolicyDocument FcaPolicyInstanceFcaPolicyDocument
    LatestVersion int
    The latest version number of the FCA policy.
    NatFcaPolicyDocument FcaPolicyNatFcaPolicyDocument
    OwnerAccount string
    The AWS account ID that owns the FCA policy.
    PcxFcaPolicyDocument FcaPolicyPcxFcaPolicyDocument
    PolicyCreatedAt string
    The timestamp when the FCA policy was created.
    ShowBackEnabled bool
    Indicates whether show-back reporting is enabled for the FCA policy.
    Tags Tag
    The tags for the FCA policy.
    VersionExpectedEffectiveAt string
    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_id string
    The ID of the FCA policy.
    instance_fca_policy_document object
    latest_version number
    The latest version number of the FCA policy.
    nat_fca_policy_document object
    owner_account string
    The AWS account ID that owns the FCA policy.
    pcx_fca_policy_document object
    policy_created_at string
    The timestamp when the FCA policy was created.
    show_back_enabled bool
    Indicates whether show-back reporting is enabled for the FCA policy.
    tags list(object)
    The tags for the FCA policy.
    version_expected_effective_at string
    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.
    fcaPolicyId String
    The ID of the FCA policy.
    instanceFcaPolicyDocument FcaPolicyInstanceFcaPolicyDocument
    latestVersion Integer
    The latest version number of the FCA policy.
    natFcaPolicyDocument FcaPolicyNatFcaPolicyDocument
    ownerAccount String
    The AWS account ID that owns the FCA policy.
    pcxFcaPolicyDocument FcaPolicyPcxFcaPolicyDocument
    policyCreatedAt String
    The timestamp when the FCA policy was created.
    showBackEnabled Boolean
    Indicates whether show-back reporting is enabled for the FCA policy.
    tags List<Tag>
    The tags for the FCA policy.
    versionExpectedEffectiveAt String
    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.
    fcaPolicyId string
    The ID of the FCA policy.
    instanceFcaPolicyDocument FcaPolicyInstanceFcaPolicyDocument
    latestVersion number
    The latest version number of the FCA policy.
    natFcaPolicyDocument FcaPolicyNatFcaPolicyDocument
    ownerAccount string
    The AWS account ID that owns the FCA policy.
    pcxFcaPolicyDocument FcaPolicyPcxFcaPolicyDocument
    policyCreatedAt string
    The timestamp when the FCA policy was created.
    showBackEnabled boolean
    Indicates whether show-back reporting is enabled for the FCA policy.
    tags Tag[]
    The tags for the FCA policy.
    versionExpectedEffectiveAt string
    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_id str
    The ID of the FCA policy.
    instance_fca_policy_document FcaPolicyInstanceFcaPolicyDocument
    latest_version int
    The latest version number of the FCA policy.
    nat_fca_policy_document FcaPolicyNatFcaPolicyDocument
    owner_account str
    The AWS account ID that owns the FCA policy.
    pcx_fca_policy_document FcaPolicyPcxFcaPolicyDocument
    policy_created_at str
    The timestamp when the FCA policy was created.
    show_back_enabled bool
    Indicates whether show-back reporting is enabled for the FCA policy.
    tags Sequence[root_Tag]
    The tags for the FCA policy.
    version_expected_effective_at str
    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.
    fcaPolicyId String
    The ID of the FCA policy.
    instanceFcaPolicyDocument Property Map
    latestVersion Number
    The latest version number of the FCA policy.
    natFcaPolicyDocument Property Map
    ownerAccount String
    The AWS account ID that owns the FCA policy.
    pcxFcaPolicyDocument Property Map
    policyCreatedAt String
    The timestamp when the FCA policy was created.
    showBackEnabled Boolean
    Indicates whether show-back reporting is enabled for the FCA policy.
    tags List<Property Map>
    The tags for the FCA policy.
    versionExpectedEffectiveAt String
    The timestamp when the latest version of the FCA policy is expected to take effect.

    Supporting Types

    FcaPolicyCidrMapping

    CidrLabel string
    The label for the CIDR range.
    CidrRange string
    The CIDR range.
    CidrLabel string
    The label for the CIDR range.
    CidrRange string
    The CIDR range.
    cidr_label string
    The label for the CIDR range.
    cidr_range string
    The CIDR range.
    cidrLabel String
    The label for the CIDR range.
    cidrRange String
    The CIDR range.
    cidrLabel string
    The label for the CIDR range.
    cidrRange string
    The CIDR range.
    cidr_label str
    The label for the CIDR range.
    cidr_range str
    The CIDR range.
    cidrLabel String
    The label for the CIDR range.
    cidrRange String
    The CIDR range.

    FcaPolicyCidrRangeSpecifications

    Prefixes List<Pulumi.AwsNative.Ec2.Inputs.FcaPolicyCidrMapping>
    The CIDR range to label mappings.
    PrefixesType string
    The type of prefixes the mappings apply to.
    Prefixes []FcaPolicyCidrMapping
    The CIDR range to label mappings.
    PrefixesType 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<FcaPolicyCidrMapping>
    The CIDR range to label mappings.
    prefixesType String
    The type of prefixes the mappings apply to.
    prefixes FcaPolicyCidrMapping[]
    The CIDR range to label mappings.
    prefixesType string
    The type of prefixes the mappings apply to.
    prefixes Sequence[FcaPolicyCidrMapping]
    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.
    prefixesType String
    The type of prefixes the mappings apply to.

    FcaPolicyDimensionListItem

    NameValue
    DataTransferdata-transfer
    DataProcessingdata-processing
    NameValue
    FcaPolicyDimensionListItemDataTransferdata-transfer
    FcaPolicyDimensionListItemDataProcessingdata-processing
    Value
    data-transfer
    data-processing
    NameValue
    DataTransferdata-transfer
    DataProcessingdata-processing
    NameValue
    DataTransferdata-transfer
    DataProcessingdata-processing
    NameValue
    DATA_TRANSFERdata-transfer
    DATA_PROCESSINGdata-processing
    Value
    data-transfer
    data-processing

    FcaPolicyInstanceFcaPolicyDocument

    FcaPolicyNatFcaPolicyDocument

    FcaPolicyPcxFcaPolicyDocument

    FcaPolicyReportingGranularityListItem

    NameValue
    Enieni
    Ec2ec2
    Subnetsubnet
    Vpcvpc
    Accountaccount
    PeeringIdpeering-id
    Cidrcidr
    NameValue
    FcaPolicyReportingGranularityListItemEnieni
    FcaPolicyReportingGranularityListItemEc2ec2
    FcaPolicyReportingGranularityListItemSubnetsubnet
    FcaPolicyReportingGranularityListItemVpcvpc
    FcaPolicyReportingGranularityListItemAccountaccount
    FcaPolicyReportingGranularityListItemPeeringIdpeering-id
    FcaPolicyReportingGranularityListItemCidrcidr
    Value
    eni
    ec2
    subnet
    vpc
    account
    peering-id
    cidr
    NameValue
    Enieni
    Ec2ec2
    Subnetsubnet
    Vpcvpc
    Accountaccount
    PeeringIdpeering-id
    Cidrcidr
    NameValue
    Enieni
    Ec2ec2
    Subnetsubnet
    Vpcvpc
    Accountaccount
    PeeringIdpeering-id
    Cidrcidr
    NameValue
    ENIeni
    EC2ec2
    SUBNETsubnet
    VPCvpc
    ACCOUNTaccount
    PEERING_IDpeering-id
    CIDRcidr
    Value
    eni
    ec2
    subnet
    vpc
    account
    peering-id
    cidr

    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 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 aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial