Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssessmentTarget ¶
type AssessmentTarget struct { pulumi.CustomResourceState // The target assessment ARN. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the assessment target. Name pulumi.StringOutput `pulumi:"name"` // 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. ResourceGroupArn pulumi.StringPtrOutput `pulumi:"resourceGroupArn"` }
Provides a Inspector assessment target
func GetAssessmentTarget ¶
func GetAssessmentTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssessmentTargetState, opts ...pulumi.ResourceOption) (*AssessmentTarget, error)
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).
func NewAssessmentTarget ¶
func NewAssessmentTarget(ctx *pulumi.Context, name string, args *AssessmentTargetArgs, opts ...pulumi.ResourceOption) (*AssessmentTarget, error)
NewAssessmentTarget registers a new resource with the given unique name, arguments, and options.
type AssessmentTargetArgs ¶
type AssessmentTargetArgs struct { // The name of the assessment target. Name pulumi.StringPtrInput // 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. ResourceGroupArn pulumi.StringPtrInput }
The set of arguments for constructing a AssessmentTarget resource.
func (AssessmentTargetArgs) ElementType ¶
func (AssessmentTargetArgs) ElementType() reflect.Type
type AssessmentTargetState ¶
type AssessmentTargetState struct { // The target assessment ARN. Arn pulumi.StringPtrInput // The name of the assessment target. Name pulumi.StringPtrInput // 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. ResourceGroupArn pulumi.StringPtrInput }
func (AssessmentTargetState) ElementType ¶
func (AssessmentTargetState) ElementType() reflect.Type
type AssessmentTemplate ¶
type AssessmentTemplate struct { pulumi.CustomResourceState // The template assessment ARN. Arn pulumi.StringOutput `pulumi:"arn"` // The duration of the inspector run. Duration pulumi.IntOutput `pulumi:"duration"` // The name of the assessment template. Name pulumi.StringOutput `pulumi:"name"` // The rules to be used during the run. RulesPackageArns pulumi.StringArrayOutput `pulumi:"rulesPackageArns"` // Key-value mapping of tags for the Inspector assessment template. Tags pulumi.MapOutput `pulumi:"tags"` // The assessment target ARN to attach the template to. TargetArn pulumi.StringOutput `pulumi:"targetArn"` }
Provides a Inspector assessment template
func GetAssessmentTemplate ¶
func GetAssessmentTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssessmentTemplateState, opts ...pulumi.ResourceOption) (*AssessmentTemplate, error)
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).
func NewAssessmentTemplate ¶
func NewAssessmentTemplate(ctx *pulumi.Context, name string, args *AssessmentTemplateArgs, opts ...pulumi.ResourceOption) (*AssessmentTemplate, error)
NewAssessmentTemplate registers a new resource with the given unique name, arguments, and options.
type AssessmentTemplateArgs ¶
type AssessmentTemplateArgs struct { // The duration of the inspector run. Duration pulumi.IntInput // The name of the assessment template. Name pulumi.StringPtrInput // The rules to be used during the run. RulesPackageArns pulumi.StringArrayInput // Key-value mapping of tags for the Inspector assessment template. Tags pulumi.MapInput // The assessment target ARN to attach the template to. TargetArn pulumi.StringInput }
The set of arguments for constructing a AssessmentTemplate resource.
func (AssessmentTemplateArgs) ElementType ¶
func (AssessmentTemplateArgs) ElementType() reflect.Type
type AssessmentTemplateState ¶
type AssessmentTemplateState struct { // The template assessment ARN. Arn pulumi.StringPtrInput // The duration of the inspector run. Duration pulumi.IntPtrInput // The name of the assessment template. Name pulumi.StringPtrInput // The rules to be used during the run. RulesPackageArns pulumi.StringArrayInput // Key-value mapping of tags for the Inspector assessment template. Tags pulumi.MapInput // The assessment target ARN to attach the template to. TargetArn pulumi.StringPtrInput }
func (AssessmentTemplateState) ElementType ¶
func (AssessmentTemplateState) ElementType() reflect.Type
type GetRulesPackagesResult ¶
type GetRulesPackagesResult struct { // A list of the AWS Inspector Rules Packages arns available in the AWS region. Arns []string `pulumi:"arns"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getRulesPackages.
func GetRulesPackages ¶
func GetRulesPackages(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetRulesPackagesResult, error)
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.
type ResourceGroup ¶
type ResourceGroup struct { pulumi.CustomResourceState // The resource group ARN. Arn pulumi.StringOutput `pulumi:"arn"` // Key-value map of tags that are used to select the EC2 instances to be included in an [Amazon Inspector assessment target](https://www.terraform.io/docs/providers/aws/r/inspector_assessment_target.html). Tags pulumi.MapOutput `pulumi:"tags"` }
Provides an Amazon Inspector resource group resource.
func GetResourceGroup ¶
func GetResourceGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupState, opts ...pulumi.ResourceOption) (*ResourceGroup, error)
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).
func NewResourceGroup ¶
func NewResourceGroup(ctx *pulumi.Context, name string, args *ResourceGroupArgs, opts ...pulumi.ResourceOption) (*ResourceGroup, error)
NewResourceGroup registers a new resource with the given unique name, arguments, and options.
type ResourceGroupArgs ¶
type ResourceGroupArgs struct { // Key-value map of tags that are used to select the EC2 instances to be included in an [Amazon Inspector assessment target](https://www.terraform.io/docs/providers/aws/r/inspector_assessment_target.html). Tags pulumi.MapInput }
The set of arguments for constructing a ResourceGroup resource.
func (ResourceGroupArgs) ElementType ¶
func (ResourceGroupArgs) ElementType() reflect.Type
type ResourceGroupState ¶
type ResourceGroupState struct { // The resource group ARN. Arn pulumi.StringPtrInput // Key-value map of tags that are used to select the EC2 instances to be included in an [Amazon Inspector assessment target](https://www.terraform.io/docs/providers/aws/r/inspector_assessment_target.html). Tags pulumi.MapInput }
func (ResourceGroupState) ElementType ¶
func (ResourceGroupState) ElementType() reflect.Type