inspector

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssessmentTarget

type AssessmentTarget struct {

	// AssessmentTargetName AWS CloudFormation Property
	// Required: false
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html#cfn-inspector-assessmenttarget-assessmenttargetname
	AssessmentTargetName string `json:"AssessmentTargetName,omitempty"`

	// ResourceGroupArn AWS CloudFormation Property
	// Required: false
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html#cfn-inspector-assessmenttarget-resourcegrouparn
	ResourceGroupArn string `json:"ResourceGroupArn,omitempty"`
	// contains filtered or unexported fields
}

AssessmentTarget AWS CloudFormation Resource (AWS::Inspector::AssessmentTarget) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html

func (*AssessmentTarget) AWSCloudFormationType

func (r *AssessmentTarget) AWSCloudFormationType() string

AWSCloudFormationType returns the AWS CloudFormation resource type

func (*AssessmentTarget) DeletionPolicy

func (r *AssessmentTarget) DeletionPolicy() policies.DeletionPolicy

DeletionPolicy returns the AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

func (*AssessmentTarget) DependsOn

func (r *AssessmentTarget) DependsOn() []string

DependsOn returns a slice of logical ID names this resource depends on. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html

func (AssessmentTarget) MarshalJSON

func (r AssessmentTarget) MarshalJSON() ([]byte, error)

MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.

func (*AssessmentTarget) Metadata

func (r *AssessmentTarget) Metadata() map[string]interface{}

Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html

func (*AssessmentTarget) SetDeletionPolicy

func (r *AssessmentTarget) SetDeletionPolicy(policy policies.DeletionPolicy)

SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

func (*AssessmentTarget) SetDependsOn

func (r *AssessmentTarget) SetDependsOn(dependencies []string)

SetDependsOn specify that the creation of this resource follows another. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html

func (*AssessmentTarget) SetMetadata

func (r *AssessmentTarget) SetMetadata(metadata map[string]interface{})

SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html

func (*AssessmentTarget) UnmarshalJSON

func (r *AssessmentTarget) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.

type AssessmentTemplate

type AssessmentTemplate struct {

	// AssessmentTargetArn AWS CloudFormation Property
	// Required: true
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttargetarn
	AssessmentTargetArn string `json:"AssessmentTargetArn,omitempty"`

	// AssessmentTemplateName AWS CloudFormation Property
	// Required: false
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttemplatename
	AssessmentTemplateName string `json:"AssessmentTemplateName,omitempty"`

	// DurationInSeconds AWS CloudFormation Property
	// Required: true
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-durationinseconds
	DurationInSeconds int `json:"DurationInSeconds"`

	// RulesPackageArns AWS CloudFormation Property
	// Required: true
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-rulespackagearns
	RulesPackageArns []string `json:"RulesPackageArns,omitempty"`

	// UserAttributesForFindings AWS CloudFormation Property
	// Required: false
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-userattributesforfindings
	UserAttributesForFindings []tags.Tag `json:"UserAttributesForFindings,omitempty"`
	// contains filtered or unexported fields
}

AssessmentTemplate AWS CloudFormation Resource (AWS::Inspector::AssessmentTemplate) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

func (*AssessmentTemplate) AWSCloudFormationType

func (r *AssessmentTemplate) AWSCloudFormationType() string

AWSCloudFormationType returns the AWS CloudFormation resource type

func (*AssessmentTemplate) DeletionPolicy

func (r *AssessmentTemplate) DeletionPolicy() policies.DeletionPolicy

DeletionPolicy returns the AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

func (*AssessmentTemplate) DependsOn

func (r *AssessmentTemplate) DependsOn() []string

DependsOn returns a slice of logical ID names this resource depends on. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html

func (AssessmentTemplate) MarshalJSON

func (r AssessmentTemplate) MarshalJSON() ([]byte, error)

MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.

func (*AssessmentTemplate) Metadata

func (r *AssessmentTemplate) Metadata() map[string]interface{}

Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html

func (*AssessmentTemplate) SetDeletionPolicy

func (r *AssessmentTemplate) SetDeletionPolicy(policy policies.DeletionPolicy)

SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

func (*AssessmentTemplate) SetDependsOn

func (r *AssessmentTemplate) SetDependsOn(dependencies []string)

SetDependsOn specify that the creation of this resource follows another. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html

func (*AssessmentTemplate) SetMetadata

func (r *AssessmentTemplate) SetMetadata(metadata map[string]interface{})

SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html

func (*AssessmentTemplate) UnmarshalJSON

func (r *AssessmentTemplate) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.

type ResourceGroup

type ResourceGroup struct {

	// ResourceGroupTags AWS CloudFormation Property
	// Required: true
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-resourcegroup.html#cfn-inspector-resourcegroup-resourcegrouptags
	ResourceGroupTags []tags.Tag `json:"ResourceGroupTags,omitempty"`
	// contains filtered or unexported fields
}

ResourceGroup AWS CloudFormation Resource (AWS::Inspector::ResourceGroup) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-resourcegroup.html

func (*ResourceGroup) AWSCloudFormationType

func (r *ResourceGroup) AWSCloudFormationType() string

AWSCloudFormationType returns the AWS CloudFormation resource type

func (*ResourceGroup) DeletionPolicy

func (r *ResourceGroup) DeletionPolicy() policies.DeletionPolicy

DeletionPolicy returns the AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

func (*ResourceGroup) DependsOn

func (r *ResourceGroup) DependsOn() []string

DependsOn returns a slice of logical ID names this resource depends on. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html

func (ResourceGroup) MarshalJSON

func (r ResourceGroup) MarshalJSON() ([]byte, error)

MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.

func (*ResourceGroup) Metadata

func (r *ResourceGroup) Metadata() map[string]interface{}

Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html

func (*ResourceGroup) SetDeletionPolicy

func (r *ResourceGroup) SetDeletionPolicy(policy policies.DeletionPolicy)

SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html

func (*ResourceGroup) SetDependsOn

func (r *ResourceGroup) SetDependsOn(dependencies []string)

SetDependsOn specify that the creation of this resource follows another. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html

func (*ResourceGroup) SetMetadata

func (r *ResourceGroup) SetMetadata(metadata map[string]interface{})

SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html

func (*ResourceGroup) UnmarshalJSON

func (r *ResourceGroup) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL