UNPKG

@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)

121 lines (120 loc) 4.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::SecurityAgent::Pentest */ export declare class Pentest extends pulumi.CustomResource { /** * Get an existing Pentest resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Pentest; /** * Returns true if the given object is an instance of Pentest. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Pentest; /** * Identifier of agent space where the pentest should be created */ readonly agentSpaceId: pulumi.Output<string>; /** * Collection of assets to be tested or used during the penetration test */ readonly assets: pulumi.Output<outputs.securityagent.PentestAssets>; /** * Strategy for code remediation on findings */ readonly codeRemediationStrategy: pulumi.Output<enums.securityagent.PentestCodeRemediationStrategy | undefined>; /** * Timestamp when the pentest was created */ readonly createdAt: pulumi.Output<string>; /** * A list of risk types excluded from the pentest execution */ readonly excludeRiskTypes: pulumi.Output<enums.securityagent.PentestRiskType[] | undefined>; /** * CloudWatch logs config */ readonly logConfig: pulumi.Output<outputs.securityagent.PentestCloudWatchLog | undefined>; /** * Configuration for network traffic filtering */ readonly networkTrafficConfig: pulumi.Output<outputs.securityagent.PentestNetworkTrafficConfig | undefined>; /** * Unique identifier of the pentest */ readonly pentestId: pulumi.Output<string>; /** * Service role for accessing resources */ readonly serviceRole: pulumi.Output<string>; /** * Title of the penetration test */ readonly title: pulumi.Output<string | undefined>; /** * Timestamp when the pentest was last updated */ readonly updatedAt: pulumi.Output<string>; /** * VPC configuration that the security testing environment accesses */ readonly vpcConfig: pulumi.Output<outputs.securityagent.PentestVpcConfig | undefined>; /** * Create a Pentest resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PentestArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Pentest resource. */ export interface PentestArgs { /** * Identifier of agent space where the pentest should be created */ agentSpaceId: pulumi.Input<string>; /** * Collection of assets to be tested or used during the penetration test */ assets: pulumi.Input<inputs.securityagent.PentestAssetsArgs>; /** * Strategy for code remediation on findings */ codeRemediationStrategy?: pulumi.Input<enums.securityagent.PentestCodeRemediationStrategy>; /** * A list of risk types excluded from the pentest execution */ excludeRiskTypes?: pulumi.Input<pulumi.Input<enums.securityagent.PentestRiskType>[]>; /** * CloudWatch logs config */ logConfig?: pulumi.Input<inputs.securityagent.PentestCloudWatchLogArgs>; /** * Configuration for network traffic filtering */ networkTrafficConfig?: pulumi.Input<inputs.securityagent.PentestNetworkTrafficConfigArgs>; /** * Service role for accessing resources */ serviceRole: pulumi.Input<string>; /** * Title of the penetration test */ title?: pulumi.Input<string>; /** * VPC configuration that the security testing environment accesses */ vpcConfig?: pulumi.Input<inputs.securityagent.PentestVpcConfigArgs>; }