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

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

    Associates a Flex Cost Allocation (FCA) policy with a network resource such as a NAT gateway, EC2 instance, or VPC peering connection.

    Using getFcaPolicyAssociation

    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 getFcaPolicyAssociation(args: GetFcaPolicyAssociationArgs, opts?: InvokeOptions): Promise<GetFcaPolicyAssociationResult>
    function getFcaPolicyAssociationOutput(args: GetFcaPolicyAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetFcaPolicyAssociationResult>
    def get_fca_policy_association(fca_policy_association_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetFcaPolicyAssociationResult
    def get_fca_policy_association_output(fca_policy_association_id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetFcaPolicyAssociationResult]
    func LookupFcaPolicyAssociation(ctx *Context, args *LookupFcaPolicyAssociationArgs, opts ...InvokeOption) (*LookupFcaPolicyAssociationResult, error)
    func LookupFcaPolicyAssociationOutput(ctx *Context, args *LookupFcaPolicyAssociationOutputArgs, opts ...InvokeOption) LookupFcaPolicyAssociationResultOutput

    > Note: This function is named LookupFcaPolicyAssociation in the Go SDK.

    public static class GetFcaPolicyAssociation 
    {
        public static Task<GetFcaPolicyAssociationResult> InvokeAsync(GetFcaPolicyAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetFcaPolicyAssociationResult> Invoke(GetFcaPolicyAssociationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFcaPolicyAssociationResult> Invoke(GetFcaPolicyAssociationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFcaPolicyAssociationResult> getFcaPolicyAssociation(GetFcaPolicyAssociationArgs args, InvokeOptions options)
    public static Output<GetFcaPolicyAssociationResult> getFcaPolicyAssociation(GetFcaPolicyAssociationArgs args, InvokeOptions options)
    public static Output<GetFcaPolicyAssociationResult> getFcaPolicyAssociation(GetFcaPolicyAssociationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getFcaPolicyAssociation
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_fca_policy_association" "name" {
        # arguments
    }

    The following arguments are supported:

    FcaPolicyAssociationId string
    The ID of the FCA policy association.
    FcaPolicyAssociationId string
    The ID of the FCA policy association.
    fca_policy_association_id string
    The ID of the FCA policy association.
    fcaPolicyAssociationId String
    The ID of the FCA policy association.
    fcaPolicyAssociationId string
    The ID of the FCA policy association.
    fca_policy_association_id str
    The ID of the FCA policy association.
    fcaPolicyAssociationId String
    The ID of the FCA policy association.

    getFcaPolicyAssociation Result

    The following output properties are available:

    AssociatedAt string
    The timestamp when the association was created.
    AssociationMode Pulumi.AwsNative.Ec2.FcaPolicyAssociationAssociationMode
    The mode of the association.
    ExpectedEffectiveAt string
    The timestamp when the association is expected to take effect.
    FcaPolicyAssociationId string
    The ID of the FCA policy association.
    ManagedBy string
    Who manages the association: the account that created it, or a declarative policy.
    OwnerAccount string
    The AWS account ID that owns the FCA policy association.
    AssociatedAt string
    The timestamp when the association was created.
    AssociationMode FcaPolicyAssociationAssociationMode
    The mode of the association.
    ExpectedEffectiveAt string
    The timestamp when the association is expected to take effect.
    FcaPolicyAssociationId string
    The ID of the FCA policy association.
    ManagedBy string
    Who manages the association: the account that created it, or a declarative policy.
    OwnerAccount string
    The AWS account ID that owns the FCA policy association.
    associated_at string
    The timestamp when the association was created.
    association_mode "direct" | "scope"
    The mode of the association.
    expected_effective_at string
    The timestamp when the association is expected to take effect.
    fca_policy_association_id string
    The ID of the FCA policy association.
    managed_by string
    Who manages the association: the account that created it, or a declarative policy.
    owner_account string
    The AWS account ID that owns the FCA policy association.
    associatedAt String
    The timestamp when the association was created.
    associationMode FcaPolicyAssociationAssociationMode
    The mode of the association.
    expectedEffectiveAt String
    The timestamp when the association is expected to take effect.
    fcaPolicyAssociationId String
    The ID of the FCA policy association.
    managedBy String
    Who manages the association: the account that created it, or a declarative policy.
    ownerAccount String
    The AWS account ID that owns the FCA policy association.
    associatedAt string
    The timestamp when the association was created.
    associationMode FcaPolicyAssociationAssociationMode
    The mode of the association.
    expectedEffectiveAt string
    The timestamp when the association is expected to take effect.
    fcaPolicyAssociationId string
    The ID of the FCA policy association.
    managedBy string
    Who manages the association: the account that created it, or a declarative policy.
    ownerAccount string
    The AWS account ID that owns the FCA policy association.
    associated_at str
    The timestamp when the association was created.
    association_mode FcaPolicyAssociationAssociationMode
    The mode of the association.
    expected_effective_at str
    The timestamp when the association is expected to take effect.
    fca_policy_association_id str
    The ID of the FCA policy association.
    managed_by str
    Who manages the association: the account that created it, or a declarative policy.
    owner_account str
    The AWS account ID that owns the FCA policy association.
    associatedAt String
    The timestamp when the association was created.
    associationMode "direct" | "scope"
    The mode of the association.
    expectedEffectiveAt String
    The timestamp when the association is expected to take effect.
    fcaPolicyAssociationId String
    The ID of the FCA policy association.
    managedBy String
    Who manages the association: the account that created it, or a declarative policy.
    ownerAccount String
    The AWS account ID that owns the FCA policy association.

    Supporting Types

    FcaPolicyAssociationAssociationMode

    NameValue
    Directdirect
    Scopescope
    NameValue
    FcaPolicyAssociationAssociationModeDirectdirect
    FcaPolicyAssociationAssociationModeScopescope
    Value
    direct
    scope
    NameValue
    Directdirect
    Scopescope
    NameValue
    Directdirect
    Scopescope
    NameValue
    DIRECTdirect
    SCOPEscope
    Value
    direct
    scope

    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