AWS Native is in preview. AWS Classic is fully supported.
aws-native.securityhub.getPolicyAssociation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Association
Identifier string - A unique identifier to indicates if the target has an association
- Association
Identifier string - A unique identifier to indicates if the target has an association
- association
Identifier String - A unique identifier to indicates if the target has an association
- association
Identifier 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
- association
Identifier String - A unique identifier to indicates if the target has an association
getPolicyAssociation Result
The following output properties are available:
- Association
Identifier string - A unique identifier to indicates if the target has an association
- Association
Status Pulumi.Aws Native. Security Hub. Policy Association Association Status - The current status of the association between the specified target and the configuration
- Association
Status stringMessage - An explanation for a FAILED value for AssociationStatus
- Association
Type Pulumi.Aws Native. Security Hub. Policy Association Association Type - 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 stringId - The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
- Updated
At string - The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
- Association
Identifier string - A unique identifier to indicates if the target has an association
- Association
Status PolicyAssociation Association Status - The current status of the association between the specified target and the configuration
- Association
Status stringMessage - An explanation for a FAILED value for AssociationStatus
- Association
Type PolicyAssociation Association Type - 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 stringId - The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
- Updated
At string - The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
- association
Identifier String - A unique identifier to indicates if the target has an association
- association
Status PolicyAssociation Association Status - The current status of the association between the specified target and the configuration
- association
Status StringMessage - An explanation for a FAILED value for AssociationStatus
- association
Type PolicyAssociation Association Type - 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 StringId - The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
- updated
At String - The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
- association
Identifier string - A unique identifier to indicates if the target has an association
- association
Status PolicyAssociation Association Status - The current status of the association between the specified target and the configuration
- association
Status stringMessage - An explanation for a FAILED value for AssociationStatus
- association
Type PolicyAssociation Association Type - 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 stringId - The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
- updated
At 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 PolicyAssociation Association Status - The current status of the association between the specified target and the configuration
- association_
status_ strmessage - An explanation for a FAILED value for AssociationStatus
- association_
type PolicyAssociation Association Type - 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_ strid - 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
- association
Identifier String - A unique identifier to indicates if the target has an association
- association
Status "SUCCESS" | "PENDING" | "FAILED" - The current status of the association between the specified target and the configuration
- association
Status StringMessage - An explanation for a FAILED value for AssociationStatus
- association
Type "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
- configuration
Policy StringId - The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
- updated
At 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 is in preview. AWS Classic is fully supported.