CiCdConfigurationProperty Struct
Configuration for running pentests automatically from a CI/CD pipeline.
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 ciCdConfigurationProperty: securityagent.CfnPentest.CiCdConfigurationProperty = {
enabled: false,
};
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
ci_cd_configuration_property = securityagent.CfnPentest.CiCdConfigurationProperty(
enabled=False
)
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.*;
CiCdConfigurationProperty ciCdConfigurationProperty = CiCdConfigurationProperty.builder()
.enabled(false)
.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 ciCdConfigurationProperty = new CiCdConfigurationProperty {
Enabled = false
};
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"
ciCdConfigurationProperty := &CiCdConfigurationProperty{
Enabled: jsii.Boolean(false),
}
Properties
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#Whether CI/CD pentesting is enabled.
When enabled, the pentest must have at least one entry in Assets.IntegratedRepositories