Module inspector

@pulumi/aws > inspector

Index

inspector/assessmentTarget.ts inspector/assessmentTemplate.ts inspector/getRulesPackages.ts inspector/resourceGroup.ts

class AssessmentTarget

Provides a Inspector assessment target

constructor

new AssessmentTarget(name: string, args: AssessmentTargetArgs, opts?: pulumi.CustomResourceOptions)

Create a AssessmentTarget resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AssessmentTargetState): AssessmentTarget

Get an existing AssessmentTarget resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The target assessment ARN.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the assessment target.

  • resource_group_arn (Required )- The resource group ARN stating tags for instance matching.

property resourceGroupArn

public resourceGroupArn: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class AssessmentTemplate

Provides a Inspector assessment template

constructor

new AssessmentTemplate(name: string, args: AssessmentTemplateArgs, opts?: pulumi.CustomResourceOptions)

Create a AssessmentTemplate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AssessmentTemplateState): AssessmentTemplate

Get an existing AssessmentTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The template assessment ARN.

property duration

public duration: pulumi.Output<number>;

The duration of the inspector run.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the assessment template.

property rulesPackageArns

public rulesPackageArns: pulumi.Output<string[]>;

The rules to be used during the run.

property targetArn

public targetArn: pulumi.Output<string>;

The assessment target ARN to attach the template to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ResourceGroup

Provides a Inspector resource group

constructor

new ResourceGroup(name: string, args: ResourceGroupArgs, opts?: pulumi.CustomResourceOptions)

Create a ResourceGroup resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceGroupState): ResourceGroup

Get an existing ResourceGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The resource group ARN.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property tags

public tags: pulumi.Output<Tags>;

The tags on your EC2 Instance.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getRulesPackages

getRulesPackages(opts?: pulumi.InvokeOptions): Promise<GetRulesPackagesResult>

The AWS Inspector Rules Packages data source allows access to the list of AWS Inspector Rules Packages which can be used by AWS Inspector within the region configured in the provider.

interface AssessmentTargetArgs

The set of arguments for constructing a AssessmentTarget resource.

property name

name?: pulumi.Input<string>;

The name of the assessment target.

  • resource_group_arn (Required )- The resource group ARN stating tags for instance matching.

property resourceGroupArn

resourceGroupArn: pulumi.Input<string>;

interface AssessmentTargetState

Input properties used for looking up and filtering AssessmentTarget resources.

property arn

arn?: pulumi.Input<string>;

The target assessment ARN.

property name

name?: pulumi.Input<string>;

The name of the assessment target.

  • resource_group_arn (Required )- The resource group ARN stating tags for instance matching.

property resourceGroupArn

resourceGroupArn?: pulumi.Input<string>;

interface AssessmentTemplateArgs

The set of arguments for constructing a AssessmentTemplate resource.

property duration

duration: pulumi.Input<number>;

The duration of the inspector run.

property name

name?: pulumi.Input<string>;

The name of the assessment template.

property rulesPackageArns

rulesPackageArns: pulumi.Input<pulumi.Input<string>[]>;

The rules to be used during the run.

property targetArn

targetArn: pulumi.Input<string>;

The assessment target ARN to attach the template to.

interface AssessmentTemplateState

Input properties used for looking up and filtering AssessmentTemplate resources.

property arn

arn?: pulumi.Input<string>;

The template assessment ARN.

property duration

duration?: pulumi.Input<number>;

The duration of the inspector run.

property name

name?: pulumi.Input<string>;

The name of the assessment template.

property rulesPackageArns

rulesPackageArns?: pulumi.Input<pulumi.Input<string>[]>;

The rules to be used during the run.

property targetArn

targetArn?: pulumi.Input<string>;

The assessment target ARN to attach the template to.

interface GetRulesPackagesResult

A collection of values returned by getRulesPackages.

property arns

arns: string[];

A list of the AWS Inspector Rules Packages arns available in the AWS region.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

interface ResourceGroupArgs

The set of arguments for constructing a ResourceGroup resource.

property tags

tags: pulumi.Input<Tags>;

The tags on your EC2 Instance.

interface ResourceGroupState

Input properties used for looking up and filtering ResourceGroup resources.

property arn

arn?: pulumi.Input<string>;

The resource group ARN.

property tags

tags?: pulumi.Input<Tags>;

The tags on your EC2 Instance.