1. Packages
  2. AWS Native
  3. API Docs
  4. inspector
  5. AssessmentTarget

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.inspector.AssessmentTarget

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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:

    AssessmentTargetName string
    The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
    ResourceGroupArn string
    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.
    AssessmentTargetName string
    The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
    ResourceGroupArn string
    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.
    assessmentTargetName String
    The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
    resourceGroupArn String
    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.
    assessmentTargetName string
    The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
    resourceGroupArn string
    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_name str
    The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
    resource_group_arn str
    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.
    assessmentTargetName String
    The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
    resourceGroupArn String
    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:

    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment target that is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment target that is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment target that is created.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) that specifies the assessment target that is created.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) that specifies the assessment target that is created.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment target that is created.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi