Module inspector

inspector

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
class pulumi_aws.inspector.AssessmentTarget(resource_name, opts=None, name=None, resource_group_arn=None, __props__=None, __name__=None, __opts__=None)

Provides a Inspector assessment target

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the assessment target.
  • resource_group_arn (pulumi.Input[str]) – Inspector Resource Group Amazon Resource Name (ARN) stating tags for instance matching. If not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
arn = None

The target assessment ARN.

name = None

The name of the assessment target.

resource_group_arn = None

Inspector Resource Group Amazon Resource Name (ARN) stating tags for instance matching. If not specified, all EC2 instances in the current AWS account and region are included in the assessment target.

static get(resource_name, id, opts=None, arn=None, name=None, resource_group_arn=None)

Get an existing AssessmentTarget resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The target assessment ARN. :param pulumi.Input[str] name: The name of the assessment target. :param pulumi.Input[str] resource_group_arn: Inspector Resource Group Amazon Resource Name (ARN) stating tags for instance matching. If not specified, all EC2 instances in the current AWS account and region are included in the assessment target.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.inspector.AssessmentTemplate(resource_name, opts=None, duration=None, name=None, rules_package_arns=None, target_arn=None, __props__=None, __name__=None, __opts__=None)

Provides a Inspector assessment template

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • duration (pulumi.Input[float]) – The duration of the inspector run.
  • name (pulumi.Input[str]) – The name of the assessment template.
  • rules_package_arns (pulumi.Input[list]) – The rules to be used during the run.
  • target_arn (pulumi.Input[str]) – The assessment target ARN to attach the template to.
arn = None

The template assessment ARN.

duration = None

The duration of the inspector run.

name = None

The name of the assessment template.

rules_package_arns = None

The rules to be used during the run.

target_arn = None

The assessment target ARN to attach the template to.

static get(resource_name, id, opts=None, arn=None, duration=None, name=None, rules_package_arns=None, target_arn=None)

Get an existing AssessmentTemplate resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The template assessment ARN. :param pulumi.Input[float] duration: The duration of the inspector run. :param pulumi.Input[str] name: The name of the assessment template. :param pulumi.Input[list] rules_package_arns: The rules to be used during the run. :param pulumi.Input[str] target_arn: The assessment target ARN to attach the template to.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.inspector.AwaitableGetRulesPackagesResult(arns=None, id=None)
class pulumi_aws.inspector.GetRulesPackagesResult(arns=None, id=None)

A collection of values returned by getRulesPackages.

arns = None

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

id = None

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

class pulumi_aws.inspector.ResourceGroup(resource_name, opts=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides a Inspector resource group

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • tags (pulumi.Input[dict]) – The tags on your EC2 Instance.
arn = None

The resource group ARN.

tags = None

The tags on your EC2 Instance.

static get(resource_name, id, opts=None, arn=None, tags=None)

Get an existing ResourceGroup resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The resource group ARN. :param pulumi.Input[dict] tags: The tags on your EC2 Instance.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_aws.inspector.get_rules_packages(opts=None)

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.