inspector

class pulumi_aws.inspector.AssessmentTarget(resource_name, opts=None, name=None, resource_group_arn=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.

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, __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[int]) – 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.

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.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, __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.

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

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.