@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
49 lines (48 loc) • 2.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* 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.
*/
export declare function getPolicyAssociation(args: GetPolicyAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyAssociationResult>;
export interface GetPolicyAssociationArgs {
/**
* A unique identifier to indicates if the target has an association
*/
associationIdentifier: string;
}
export interface GetPolicyAssociationResult {
/**
* A unique identifier to indicates if the target has an association
*/
readonly associationIdentifier?: string;
/**
* The current status of the association between the specified target and the configuration
*/
readonly associationStatus?: enums.securityhub.PolicyAssociationAssociationStatus;
/**
* An explanation for a FAILED value for AssociationStatus
*/
readonly associationStatusMessage?: string;
/**
* 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
*/
readonly associationType?: enums.securityhub.PolicyAssociationAssociationType;
/**
* The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
*/
readonly configurationPolicyId?: string;
/**
* The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
*/
readonly updatedAt?: string;
}
/**
* 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.
*/
export declare function getPolicyAssociationOutput(args: GetPolicyAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyAssociationResult>;
export interface GetPolicyAssociationOutputArgs {
/**
* A unique identifier to indicates if the target has an association
*/
associationIdentifier: pulumi.Input<string>;
}