Skip to content
v2.277.0

SecurityRequirementProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const securityRequirementProperty: securityagent.CfnSecurityRequirementPack.SecurityRequirementProperty = {
  description: 'description',
  domain: 'domain',
  evaluation: 'evaluation',
  name: 'name',

  // the properties below are optional
  remediation: 'remediation',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityagent as securityagent

security_requirement_property = securityagent.CfnSecurityRequirementPack.SecurityRequirementProperty(
    description="description",
    domain="domain",
    evaluation="evaluation",
    name="name",

    # the properties below are optional
    remediation="remediation"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityagent.*;

SecurityRequirementProperty securityRequirementProperty = SecurityRequirementProperty.builder()
        .description("description")
        .domain("domain")
        .evaluation("evaluation")
        .name("name")

        // the properties below are optional
        .remediation("remediation")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityAgent;

var securityRequirementProperty = new SecurityRequirementProperty {
    Description = "description",
    Domain = "domain",
    Evaluation = "evaluation",
    Name = "name",

    // the properties below are optional
    Remediation = "remediation"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

securityRequirementProperty := &SecurityRequirementProperty{
	Description: jsii.String("description"),
	Domain: jsii.String("domain"),
	Evaluation: jsii.String("evaluation"),
	Name: jsii.String("name"),

	// the properties below are optional
	Remediation: jsii.String("remediation"),
}

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*stringrequired#
Description of the security requirement.
domainstringdomainstrdomainStringDomainstringDomain*stringrequired#
Security domain this requirement belongs to.
evaluationstringevaluationstrevaluationStringEvaluationstringEvaluation*stringrequired#
How to evaluate compliance with this requirement.
namestringnamestrnameStringNamestringName*stringrequired#
Name of the security requirement.
remediationoptionalstringremediationoptionalstrremediationoptionalStringRemediationoptionalstringRemediationoptional*string#
How to remediate non-compliance.