Skip to content
v2.278.0

CaCertificateSourceProperty Struct ​

Source of a trusted CA certificate.

Exactly one member must be set.

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 caCertificateSourceProperty: securityagent.CfnPentest.CaCertificateSourceProperty = {
  artifactId: 'artifactId',
  inlinePem: 'inlinePem',
  s3Location: 's3Location',
};
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

ca_certificate_source_property = securityagent.CfnPentest.CaCertificateSourceProperty(
    artifact_id="artifactId",
    inline_pem="inlinePem",
    s3_location="s3Location"
)
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.*;

CaCertificateSourceProperty caCertificateSourceProperty = CaCertificateSourceProperty.builder()
        .artifactId("artifactId")
        .inlinePem("inlinePem")
        .s3Location("s3Location")
        .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 caCertificateSourceProperty = new CaCertificateSourceProperty {
    ArtifactId = "artifactId",
    InlinePem = "inlinePem",
    S3Location = "s3Location"
};
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"

caCertificateSourceProperty := &CaCertificateSourceProperty{
	ArtifactId: jsii.String("artifactId"),
	InlinePem: jsii.String("inlinePem"),
	S3Location: jsii.String("s3Location"),
}

Properties ​

artifactIdoptionalstringartifact_idoptionalstrartifactIdoptionalStringArtifactIdoptionalstringArtifactIdoptional*string #
Artifact ID of an uploaded certificate file.
inlinePemoptionalstringinline_pemoptionalstrinlinePemoptionalStringInlinePemoptionalstringInlinePemoptional*string #
PEM-encoded X.509 certificate supplied inline.
s3Locationoptionalstrings3_locationoptionalstrs3LocationoptionalStringS3LocationoptionalstringS3Locationoptional*string #
Amazon S3 location URI of a customer-staged certificate.