# PackageVersionArtifactProperty

The artifact location of the package version.

- Source: Generated at build time
- Type last changed: v2.183.0 · 12 Mar 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_iot as iot } from 'aws-cdk-lib';
const packageVersionArtifactProperty: iot.CfnSoftwarePackageVersion.PackageVersionArtifactProperty = {
  s3Location: {
    bucket: 'bucket',
    key: 'key',
    version: 'version',
  },
};
```

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_iot as iot

package_version_artifact_property = iot.CfnSoftwarePackageVersion.PackageVersionArtifactProperty(
    s3_location=iot.CfnSoftwarePackageVersion.S3LocationProperty(
        bucket="bucket",
        key="key",
        version="version"
    )
)
```

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.iot.*;

PackageVersionArtifactProperty packageVersionArtifactProperty = PackageVersionArtifactProperty.builder()
        .s3Location(S3LocationProperty.builder()
                .bucket("bucket")
                .key("key")
                .version("version")
                .build())
        .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.IoT;

var packageVersionArtifactProperty = new PackageVersionArtifactProperty {
    S3Location = new S3LocationProperty {
        Bucket = "bucket",
        Key = "key",
        Version = "version"
    }
};
```

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"

packageVersionArtifactProperty := &PackageVersionArtifactProperty{
	S3Location: &S3LocationProperty{
		Bucket: jsii.String("bucket"),
		Key: jsii.String("key"),
		Version: jsii.String("version"),
	},
}
```

## Properties

- `s3Location`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSoftwarePackageVersion.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnSoftwarePackageVersion.S3LocationProperty.html) (required) — The Amazon S3 location.
