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
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 dictionarydata "aws-native_ec2_get_fca_policy_association" "name" {
# arguments
}The following arguments are supported:
- Fca
Policy stringAssociation Id - The ID of the FCA policy association.
- Fca
Policy stringAssociation Id - The ID of the FCA policy association.
- fca_
policy_ stringassociation_ id - The ID of the FCA policy association.
- fca
Policy StringAssociation Id - The ID of the FCA policy association.
- fca
Policy stringAssociation Id - The ID of the FCA policy association.
- fca_
policy_ strassociation_ id - The ID of the FCA policy association.
- fca
Policy StringAssociation Id - The ID of the FCA policy association.
getFcaPolicyAssociation Result
The following output properties are available:
- Associated
At string - The timestamp when the association was created.
- Association
Mode Pulumi.Aws Native. Ec2. Fca Policy Association Association Mode - The mode of the association.
- Expected
Effective stringAt - The timestamp when the association is expected to take effect.
- Fca
Policy stringAssociation Id - 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.
- Associated
At string - The timestamp when the association was created.
- Association
Mode FcaPolicy Association Association Mode - The mode of the association.
- Expected
Effective stringAt - The timestamp when the association is expected to take effect.
- Fca
Policy stringAssociation Id - 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.
- associated_
at string - The timestamp when the association was created.
- association_
mode "direct" | "scope" - The mode of the association.
- expected_
effective_ stringat - The timestamp when the association is expected to take effect.
- fca_
policy_ stringassociation_ id - 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.
- associated
At String - The timestamp when the association was created.
- association
Mode FcaPolicy Association Association Mode - The mode of the association.
- expected
Effective StringAt - The timestamp when the association is expected to take effect.
- fca
Policy StringAssociation Id - 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.
- associated
At string - The timestamp when the association was created.
- association
Mode FcaPolicy Association Association Mode - The mode of the association.
- expected
Effective stringAt - The timestamp when the association is expected to take effect.
- fca
Policy stringAssociation Id - 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.
- associated_
at str - The timestamp when the association was created.
- association_
mode FcaPolicy Association Association Mode - The mode of the association.
- expected_
effective_ strat - The timestamp when the association is expected to take effect.
- fca_
policy_ strassociation_ id - 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.
- associated
At String - The timestamp when the association was created.
- association
Mode "direct" | "scope" - The mode of the association.
- expected
Effective StringAt - The timestamp when the association is expected to take effect.
- fca
Policy StringAssociation Id - 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.
Supporting Types
FcaPolicyAssociationAssociationMode
| Name | Value |
|---|---|
| Direct | direct |
| Scope | scope |
| Name | Value |
|---|---|
| Fca | direct |
| Fca | scope |
| Value |
|---|
direct |
scope |
| Name | Value |
|---|---|
| Direct | direct |
| Scope | scope |
| Name | Value |
|---|---|
| Direct | direct |
| Scope | scope |
| Name | Value |
|---|---|
| DIRECT | direct |
| SCOPE | scope |
| Value |
|---|
direct |
scope |
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