ClientCertificateProperty Struct
Client certificate presented during the TLS handshake to the hosts it applies to.
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 clientCertificateProperty: securityagent.CfnPentest.ClientCertificateProperty = {
name: 'name',
origins: ['origins'],
secretArn: 'secretArn',
};
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
client_certificate_property = securityagent.CfnPentest.ClientCertificateProperty(
name="name",
origins=["origins"],
secret_arn="secretArn"
)
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.*;
ClientCertificateProperty clientCertificateProperty = ClientCertificateProperty.builder()
.name("name")
.origins(List.of("origins"))
.secretArn("secretArn")
.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 clientCertificateProperty = new ClientCertificateProperty {
Name = "name",
Origins = new [] { "origins" },
SecretArn = "secretArn"
};
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"
clientCertificateProperty := &ClientCertificateProperty{
Name: jsii.String("name"),
Origins: []*string{
jsii.String("origins"),
},
SecretArn: jsii.String("secretArn"),
}
Properties
Name of the client certificate, unique within the pentest.
Target hosts the certificate applies to, as https://host[:port] origins.
ARN of the Secrets Manager secret that holds the certificate and private key.