1. Packages
  2. AWS Native
  3. API Docs
  4. securityhub
  5. getPolicyAssociation

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.securityhub.getPolicyAssociation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.

    Using getPolicyAssociation

    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 getPolicyAssociation(args: GetPolicyAssociationArgs, opts?: InvokeOptions): Promise<GetPolicyAssociationResult>
    function getPolicyAssociationOutput(args: GetPolicyAssociationOutputArgs, opts?: InvokeOptions): Output<GetPolicyAssociationResult>
    def get_policy_association(association_identifier: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetPolicyAssociationResult
    def get_policy_association_output(association_identifier: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetPolicyAssociationResult]
    func LookupPolicyAssociation(ctx *Context, args *LookupPolicyAssociationArgs, opts ...InvokeOption) (*LookupPolicyAssociationResult, error)
    func LookupPolicyAssociationOutput(ctx *Context, args *LookupPolicyAssociationOutputArgs, opts ...InvokeOption) LookupPolicyAssociationResultOutput

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

    public static class GetPolicyAssociation 
    {
        public static Task<GetPolicyAssociationResult> InvokeAsync(GetPolicyAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyAssociationResult> Invoke(GetPolicyAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicyAssociationResult> getPolicyAssociation(GetPolicyAssociationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:securityhub:getPolicyAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AssociationIdentifier string
    A unique identifier to indicates if the target has an association
    AssociationIdentifier string
    A unique identifier to indicates if the target has an association
    associationIdentifier String
    A unique identifier to indicates if the target has an association
    associationIdentifier string
    A unique identifier to indicates if the target has an association
    association_identifier str
    A unique identifier to indicates if the target has an association
    associationIdentifier String
    A unique identifier to indicates if the target has an association

    getPolicyAssociation Result

    The following output properties are available:

    AssociationIdentifier string
    A unique identifier to indicates if the target has an association
    AssociationStatus Pulumi.AwsNative.SecurityHub.PolicyAssociationAssociationStatus
    The current status of the association between the specified target and the configuration
    AssociationStatusMessage string
    An explanation for a FAILED value for AssociationStatus
    AssociationType Pulumi.AwsNative.SecurityHub.PolicyAssociationAssociationType
    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
    ConfigurationPolicyId string
    The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
    UpdatedAt string
    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
    AssociationIdentifier string
    A unique identifier to indicates if the target has an association
    AssociationStatus PolicyAssociationAssociationStatus
    The current status of the association between the specified target and the configuration
    AssociationStatusMessage string
    An explanation for a FAILED value for AssociationStatus
    AssociationType PolicyAssociationAssociationType
    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
    ConfigurationPolicyId string
    The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
    UpdatedAt string
    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
    associationIdentifier String
    A unique identifier to indicates if the target has an association
    associationStatus PolicyAssociationAssociationStatus
    The current status of the association between the specified target and the configuration
    associationStatusMessage String
    An explanation for a FAILED value for AssociationStatus
    associationType PolicyAssociationAssociationType
    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
    configurationPolicyId String
    The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
    updatedAt String
    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
    associationIdentifier string
    A unique identifier to indicates if the target has an association
    associationStatus PolicyAssociationAssociationStatus
    The current status of the association between the specified target and the configuration
    associationStatusMessage string
    An explanation for a FAILED value for AssociationStatus
    associationType PolicyAssociationAssociationType
    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
    configurationPolicyId string
    The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
    updatedAt string
    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
    association_identifier str
    A unique identifier to indicates if the target has an association
    association_status PolicyAssociationAssociationStatus
    The current status of the association between the specified target and the configuration
    association_status_message str
    An explanation for a FAILED value for AssociationStatus
    association_type PolicyAssociationAssociationType
    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
    configuration_policy_id str
    The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
    updated_at str
    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
    associationIdentifier String
    A unique identifier to indicates if the target has an association
    associationStatus "SUCCESS" | "PENDING" | "FAILED"
    The current status of the association between the specified target and the configuration
    associationStatusMessage String
    An explanation for a FAILED value for AssociationStatus
    associationType "APPLIED" | "INHERITED"
    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
    configurationPolicyId String
    The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
    updatedAt String
    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated

    Supporting Types

    PolicyAssociationAssociationStatus

    PolicyAssociationAssociationType

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi