Skip to content
v2.278.0

PlatformProperty Struct Added in v2.278.0 ​

A resolved OCI image platform descriptor.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const platformProperty: lambda.CfnRuntimeVersion.PlatformProperty = {
  architecture: 'architecture',
  digest: 'digest',
  os: 'os',
};
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_lambda as lambda_

platform_property = lambda.CfnRuntimeVersion.PlatformProperty(
    architecture="architecture",
    digest="digest",
    os="os"
)
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.lambda.*;

PlatformProperty platformProperty = PlatformProperty.builder()
        .architecture("architecture")
        .digest("digest")
        .os("os")
        .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.Lambda;

var platformProperty = new PlatformProperty {
    Architecture = "architecture",
    Digest = "digest",
    Os = "os"
};
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"

platformProperty := &PlatformProperty{
	Architecture: jsii.String("architecture"),
	Digest: jsii.String("digest"),
	Os: jsii.String("os"),
}

Properties ​

architecturestringarchitecturestrarchitectureStringArchitecturestringArchitecture*string required #
digeststringdigeststrdigestStringDigeststringDigest*string required #
osstringosstrosStringOsstringOs*string required #