# Functions
GetAssessmentTarget gets an existing AssessmentTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetAssessmentTemplate gets an existing AssessmentTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetResourceGroup gets an existing ResourceGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
The Amazon Inspector Classic Rules Packages data source allows access to the list of AWS Inspector Rules Packages which can be used by Amazon Inspector Classic within the region configured in the provider.
NewAssessmentTarget registers a new resource with the given unique name, arguments, and options.
NewAssessmentTemplate registers a new resource with the given unique name, arguments, and options.
NewResourceGroup registers a new resource with the given unique name, arguments, and options.
# Structs
Provides an Inspector Classic Assessment Target
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/inspector" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bar, err := inspector.NewResourceGroup(ctx, "bar", &inspector.ResourceGroupArgs{ Tags: pulumi.StringMap{ "Name": pulumi.String("foo"), "Env": pulumi.String("bar"), }, }) if err != nil { return err } _, err = inspector.NewAssessmentTarget(ctx, "foo", &inspector.AssessmentTargetArgs{ ResourceGroupArn: bar.Arn, }) if err != nil { return err } return nil }) }
```
## Import
Inspector Classic Assessment Targets can be imported via their Amazon Resource Name (ARN), e.g.,
```sh
$ pulumi import aws:inspector/assessmentTarget:AssessmentTarget example arn:aws:inspector:us-east-1:123456789012:target/0-xxxxxxx
```.
The set of arguments for constructing a AssessmentTarget resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Provides an Inspector Classic Assessment Template
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/inspector" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := inspector.NewAssessmentTemplate(ctx, "example", &inspector.AssessmentTemplateArgs{ TargetArn: pulumi.Any(aws_inspector_assessment_target.Example.Arn), Duration: pulumi.Int(3600), RulesPackageArns: pulumi.StringArray{ pulumi.String("arn:aws:inspector:us-west-2:758058086616:rulespackage/0-9hgA516p"), pulumi.String("arn:aws:inspector:us-west-2:758058086616:rulespackage/0-H5hpSawc"), pulumi.String("arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ"), pulumi.String("arn:aws:inspector:us-west-2:758058086616:rulespackage/0-vg5GGHSD"), }, EventSubscriptions: inspector.AssessmentTemplateEventSubscriptionArray{ &inspector.AssessmentTemplateEventSubscriptionArgs{ Event: pulumi.String("ASSESSMENT_RUN_COMPLETED"), TopicArn: pulumi.Any(aws_sns_topic.Example.Arn), }, }, }) if err != nil { return err } return nil }) }
```
## Import
`aws_inspector_assessment_template` can be imported by using the template assessment ARN, e.g.,
```sh
$ pulumi import aws:inspector/assessmentTemplate:AssessmentTemplate example arn:aws:inspector:us-west-2:123456789012:target/0-9IaAzhGR/template/0-WEcjR8CH
```.
The set of arguments for constructing a AssessmentTemplate resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of values returned by getRulesPackages.
Provides an Amazon Inspector Classic Resource Group.
The set of arguments for constructing a ResourceGroup resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
AssessmentTargetArrayInput is an input type that accepts AssessmentTargetArray and AssessmentTargetArrayOutput values.
No description provided by the author
AssessmentTargetMapInput is an input type that accepts AssessmentTargetMap and AssessmentTargetMapOutput values.
AssessmentTemplateArrayInput is an input type that accepts AssessmentTemplateArray and AssessmentTemplateArrayOutput values.
AssessmentTemplateEventSubscriptionArrayInput is an input type that accepts AssessmentTemplateEventSubscriptionArray and AssessmentTemplateEventSubscriptionArrayOutput values.
AssessmentTemplateEventSubscriptionInput is an input type that accepts AssessmentTemplateEventSubscriptionArgs and AssessmentTemplateEventSubscriptionOutput values.
No description provided by the author
AssessmentTemplateMapInput is an input type that accepts AssessmentTemplateMap and AssessmentTemplateMapOutput values.
ResourceGroupArrayInput is an input type that accepts ResourceGroupArray and ResourceGroupArrayOutput values.
No description provided by the author
ResourceGroupMapInput is an input type that accepts ResourceGroupMap and ResourceGroupMapOutput values.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author