SbomProperty Struct
The sbom zip archive location of the package version.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const sbomProperty: iot.CfnSoftwarePackageVersion.SbomProperty = {
s3Location: {
bucket: 'bucket',
key: 'key',
version: 'version',
},
};
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_iot as iot
sbom_property = iot.CfnSoftwarePackageVersion.SbomProperty(
s3_location=iot.CfnSoftwarePackageVersion.S3LocationProperty(
bucket="bucket",
key="key",
version="version"
)
)
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.iot.*;
SbomProperty sbomProperty = SbomProperty.builder()
.s3Location(S3LocationProperty.builder()
.bucket("bucket")
.key("key")
.version("version")
.build())
.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.IoT;
var sbomProperty = new SbomProperty {
S3Location = new S3LocationProperty {
Bucket = "bucket",
Key = "key",
Version = "version"
}
};
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"
sbomProperty := &SbomProperty{
S3Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Key: jsii.String("key"),
Version: jsii.String("version"),
},
}
Properties
s3LocationIResolvable | CfnSoftwarePackageVersion.s3_locationtyping.Union[IResolvable, S3LocationProperty]s3LocationIResolvableS3LocationIResolvableS3Locationinterface{} required #The Amazon S3 location.