Show / Hide Table of Contents

Class CfnAssessmentTemplate

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnAssessmentTemplate
Implements
IInspectable
IAssessmentTemplateRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.Inspector
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssessmentTemplate : CfnResource, IInspectable, IAssessmentTemplateRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnAssessmentTemplate Inherits CfnResource Implements IInspectable, IAssessmentTemplateRef, IConstruct, IDependable, IEnvironmentAware
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Inspector;

             CfnAssessmentTemplate cfnAssessmentTemplate;


             var assessmentTemplate = AssessmentTemplate.FromCfnAssessmentTemplate(this, "MyAssessmentTemplate", cfnAssessmentTemplate);

             new Schedule(this, "Schedule", new ScheduleProps {
                 Schedule = ScheduleExpression.Rate(Duration.Minutes(60)),
                 Target = new InspectorStartAssessmentRun(assessmentTemplate)
             });

Synopsis

Constructors

CfnAssessmentTemplate(Construct, string, ICfnAssessmentTemplateProps)

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

Properties

AssessmentTargetArn

The ARN of the assessment target to be included in the assessment template.

AssessmentTemplateName

The user-defined name that identifies the assessment template that you want to create.

AssessmentTemplateRef

A reference to a AssessmentTemplate resource.

AttrArn

The Amazon Resource Name (ARN) that specifies the assessment template that is created.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

DurationInSeconds

The duration of the assessment run in seconds.

RulesPackageArns

The ARNs of the rules packages that you want to use in the assessment template.

UserAttributesForFindings

The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

Constructors

CfnAssessmentTemplate(Construct, string, ICfnAssessmentTemplateProps)

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

public CfnAssessmentTemplate(Construct scope, string id, ICfnAssessmentTemplateProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnAssessmentTemplateProps

Resource properties.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

Properties

AssessmentTargetArn

The ARN of the assessment target to be included in the assessment template.

public virtual string AssessmentTargetArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

AssessmentTemplateName

The user-defined name that identifies the assessment template that you want to create.

public virtual string? AssessmentTemplateName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

AssessmentTemplateRef

A reference to a AssessmentTemplate resource.

public virtual IAssessmentTemplateReference AssessmentTemplateRef { get; }
Property Value

IAssessmentTemplateReference

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

AttrArn

The Amazon Resource Name (ARN) that specifies the assessment template that is created.

public virtual string AttrArn { get; }
Property Value

string

Remarks

CloudformationAttribute: Arn

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

CfnProperties

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

DurationInSeconds

The duration of the assessment run in seconds.

public virtual double DurationInSeconds { get; set; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

RulesPackageArns

The ARNs of the rules packages that you want to use in the assessment template.

public virtual string[] RulesPackageArns { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

UserAttributesForFindings

The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.

public virtual object? UserAttributesForFindings { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or (either IResolvable or ICfnTag)[]

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

RenderProperties(IDictionary<string, object>)

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html

CloudformationResource: AWS::Inspector::AssessmentTemplate

ExampleMetadata: infused

Implements

IInspectable
IAssessmentTemplateRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX