Class CfnPentestPropsMixin
Resource Type definition for AWS::SecurityAgent::Pentest.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SecurityAgent
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPentestPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPentestPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SecurityAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPentestPropsMixin = new CfnPentestPropsMixin(new CfnPentestMixinProps {
AgentSpaceId = "agentSpaceId",
Assets = new AssetsProperty {
Actors = new [] { new ActorProperty {
Authentication = new AuthenticationProperty {
ProviderType = "providerType",
Value = "value"
},
Description = "description",
Identifier = "identifier",
Uris = new [] { "uris" }
} },
Documents = new [] { new DocumentInfoProperty {
ArtifactId = "artifactId",
S3Location = "s3Location"
} },
Endpoints = new [] { new EndpointProperty {
Uri = "uri"
} },
IntegratedRepositories = new [] { new IntegratedRepositoryProperty {
IntegrationId = "integrationId",
ProviderResourceId = "providerResourceId"
} },
SourceCode = new [] { new SourceCodeRepositoryProperty {
S3Location = "s3Location"
} }
},
CodeRemediationStrategy = "codeRemediationStrategy",
ExcludeRiskTypes = new [] { "excludeRiskTypes" },
LogConfig = new CloudWatchLogProperty {
LogGroup = "logGroup",
LogStream = "logStream"
},
NetworkTrafficConfig = new NetworkTrafficConfigProperty {
CustomHeaders = new [] { new CustomHeaderProperty {
Name = "name",
Value = "value"
} },
Rules = new [] { new NetworkTrafficRuleProperty {
Effect = "effect",
NetworkTrafficRuleType = "networkTrafficRuleType",
Pattern = "pattern"
} }
},
ServiceRole = "serviceRole",
Title = "title",
VpcConfig = new VpcConfigProperty {
SecurityGroupArns = new [] { "securityGroupArns" },
SubnetArns = new [] { "subnetArns" },
VpcArn = "vpcArn"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnPentestPropsMixin(ICfnPentestMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Resource Type definition for AWS::SecurityAgent::Pentest. |
| Props | Resource Type definition for AWS::SecurityAgent::Pentest. |
| Strategy | Resource Type definition for AWS::SecurityAgent::Pentest. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnPentestPropsMixin(ICfnPentestMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::SecurityAgent::Pentest.
public CfnPentestPropsMixin(ICfnPentestMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnPentestMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Resource Type definition for AWS::SecurityAgent::Pentest.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SecurityAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPentestPropsMixin = new CfnPentestPropsMixin(new CfnPentestMixinProps {
AgentSpaceId = "agentSpaceId",
Assets = new AssetsProperty {
Actors = new [] { new ActorProperty {
Authentication = new AuthenticationProperty {
ProviderType = "providerType",
Value = "value"
},
Description = "description",
Identifier = "identifier",
Uris = new [] { "uris" }
} },
Documents = new [] { new DocumentInfoProperty {
ArtifactId = "artifactId",
S3Location = "s3Location"
} },
Endpoints = new [] { new EndpointProperty {
Uri = "uri"
} },
IntegratedRepositories = new [] { new IntegratedRepositoryProperty {
IntegrationId = "integrationId",
ProviderResourceId = "providerResourceId"
} },
SourceCode = new [] { new SourceCodeRepositoryProperty {
S3Location = "s3Location"
} }
},
CodeRemediationStrategy = "codeRemediationStrategy",
ExcludeRiskTypes = new [] { "excludeRiskTypes" },
LogConfig = new CloudWatchLogProperty {
LogGroup = "logGroup",
LogStream = "logStream"
},
NetworkTrafficConfig = new NetworkTrafficConfigProperty {
CustomHeaders = new [] { new CustomHeaderProperty {
Name = "name",
Value = "value"
} },
Rules = new [] { new NetworkTrafficRuleProperty {
Effect = "effect",
NetworkTrafficRuleType = "networkTrafficRuleType",
Pattern = "pattern"
} }
},
ServiceRole = "serviceRole",
Title = "title",
VpcConfig = new VpcConfigProperty {
SecurityGroupArns = new [] { "securityGroupArns" },
SubnetArns = new [] { "subnetArns" },
VpcArn = "vpcArn"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Resource Type definition for AWS::SecurityAgent::Pentest.
protected virtual ICfnPentestMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SecurityAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPentestPropsMixin = new CfnPentestPropsMixin(new CfnPentestMixinProps {
AgentSpaceId = "agentSpaceId",
Assets = new AssetsProperty {
Actors = new [] { new ActorProperty {
Authentication = new AuthenticationProperty {
ProviderType = "providerType",
Value = "value"
},
Description = "description",
Identifier = "identifier",
Uris = new [] { "uris" }
} },
Documents = new [] { new DocumentInfoProperty {
ArtifactId = "artifactId",
S3Location = "s3Location"
} },
Endpoints = new [] { new EndpointProperty {
Uri = "uri"
} },
IntegratedRepositories = new [] { new IntegratedRepositoryProperty {
IntegrationId = "integrationId",
ProviderResourceId = "providerResourceId"
} },
SourceCode = new [] { new SourceCodeRepositoryProperty {
S3Location = "s3Location"
} }
},
CodeRemediationStrategy = "codeRemediationStrategy",
ExcludeRiskTypes = new [] { "excludeRiskTypes" },
LogConfig = new CloudWatchLogProperty {
LogGroup = "logGroup",
LogStream = "logStream"
},
NetworkTrafficConfig = new NetworkTrafficConfigProperty {
CustomHeaders = new [] { new CustomHeaderProperty {
Name = "name",
Value = "value"
} },
Rules = new [] { new NetworkTrafficRuleProperty {
Effect = "effect",
NetworkTrafficRuleType = "networkTrafficRuleType",
Pattern = "pattern"
} }
},
ServiceRole = "serviceRole",
Title = "title",
VpcConfig = new VpcConfigProperty {
SecurityGroupArns = new [] { "securityGroupArns" },
SubnetArns = new [] { "subnetArns" },
VpcArn = "vpcArn"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Resource Type definition for AWS::SecurityAgent::Pentest.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SecurityAgent;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPentestPropsMixin = new CfnPentestPropsMixin(new CfnPentestMixinProps {
AgentSpaceId = "agentSpaceId",
Assets = new AssetsProperty {
Actors = new [] { new ActorProperty {
Authentication = new AuthenticationProperty {
ProviderType = "providerType",
Value = "value"
},
Description = "description",
Identifier = "identifier",
Uris = new [] { "uris" }
} },
Documents = new [] { new DocumentInfoProperty {
ArtifactId = "artifactId",
S3Location = "s3Location"
} },
Endpoints = new [] { new EndpointProperty {
Uri = "uri"
} },
IntegratedRepositories = new [] { new IntegratedRepositoryProperty {
IntegrationId = "integrationId",
ProviderResourceId = "providerResourceId"
} },
SourceCode = new [] { new SourceCodeRepositoryProperty {
S3Location = "s3Location"
} }
},
CodeRemediationStrategy = "codeRemediationStrategy",
ExcludeRiskTypes = new [] { "excludeRiskTypes" },
LogConfig = new CloudWatchLogProperty {
LogGroup = "logGroup",
LogStream = "logStream"
},
NetworkTrafficConfig = new NetworkTrafficConfigProperty {
CustomHeaders = new [] { new CustomHeaderProperty {
Name = "name",
Value = "value"
} },
Rules = new [] { new NetworkTrafficRuleProperty {
Effect = "effect",
NetworkTrafficRuleType = "networkTrafficRuleType",
Pattern = "pattern"
} }
},
ServiceRole = "serviceRole",
Title = "title",
VpcConfig = new VpcConfigProperty {
SecurityGroupArns = new [] { "securityGroupArns" },
SubnetArns = new [] { "subnetArns" },
VpcArn = "vpcArn"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::SecurityAgent::Pentest
Mixin: true
ExampleMetadata: fixture=_generated