# LatestVersionProperty

The resource ARNs with different wildcard variations of semantic versioning.

- Source: Generated at build time
- Type last changed: v2.221.0 · 24 Oct 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const latestVersionProperty: imagebuilder.CfnWorkflow.LatestVersionProperty = {
  arn: 'arn',
  major: 'major',
  minor: 'minor',
  patch: 'patch',
};
```

Python:

```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_imagebuilder as imagebuilder

latest_version_property = imagebuilder.CfnWorkflow.LatestVersionProperty(
    arn="arn",
    major="major",
    minor="minor",
    patch="patch"
)
```

Java:

```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.imagebuilder.*;

LatestVersionProperty latestVersionProperty = LatestVersionProperty.builder()
        .arn("arn")
        .major("major")
        .minor("minor")
        .patch("patch")
        .build();
```

C# / .NET:

```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.ImageBuilder;

var latestVersionProperty = new LatestVersionProperty {
    Arn = "arn",
    Major = "major",
    Minor = "minor",
    Patch = "patch"
};
```

Golang:

```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"

latestVersionProperty := &LatestVersionProperty{
	Arn: jsii.String("arn"),
	Major: jsii.String("major"),
	Minor: jsii.String("minor"),
	Patch: jsii.String("patch"),
}
```

## Properties

- `arn`: string — The latest version Amazon Resource Name (ARN) of the Image Builder resource.

- `major`: string — The latest version Amazon Resource Name (ARN) with the same `major` version of the Image Builder resource.

- `minor`: string — The latest version Amazon Resource Name (ARN) with the same `minor` version of the Image Builder resource.

- `patch`: string — The latest version Amazon Resource Name (ARN) with the same `patch` version of the Image Builder resource.
