We recommend new projects start with resources from the AWS provider.
aws-native.inspector.AssessmentTarget
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Inspector::AssessmentTarget
Create AssessmentTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AssessmentTarget(name: string, args?: AssessmentTargetArgs, opts?: CustomResourceOptions);
@overload
def AssessmentTarget(resource_name: str,
args: Optional[AssessmentTargetArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AssessmentTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
assessment_target_name: Optional[str] = None,
resource_group_arn: Optional[str] = None)
func NewAssessmentTarget(ctx *Context, name string, args *AssessmentTargetArgs, opts ...ResourceOption) (*AssessmentTarget, error)
public AssessmentTarget(string name, AssessmentTargetArgs? args = null, CustomResourceOptions? opts = null)
public AssessmentTarget(String name, AssessmentTargetArgs args)
public AssessmentTarget(String name, AssessmentTargetArgs args, CustomResourceOptions options)
type: aws-native:inspector:AssessmentTarget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AssessmentTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AssessmentTargetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AssessmentTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssessmentTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssessmentTargetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AssessmentTarget Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AssessmentTarget resource accepts the following input properties:
- Assessment
Target stringName - The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
- Resource
Group stringArn - The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
- Assessment
Target stringName - The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
- Resource
Group stringArn - The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
- assessment
Target StringName - The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
- resource
Group StringArn - The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
- assessment
Target stringName - The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
- resource
Group stringArn - The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
- assessment_
target_ strname - The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
- resource_
group_ strarn - The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
- assessment
Target StringName - The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
- resource
Group StringArn - The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn
is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
Outputs
All input properties are implicitly available as output properties. Additionally, the AssessmentTarget resource produces the following output properties:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.