# FileSourceProperty

Contains details regarding the file source.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const fileSourceProperty: sagemaker.CfnModelPackage.FileSourceProperty = {
  s3Uri: 's3Uri',

  // the properties below are optional
  contentDigest: 'contentDigest',
  contentType: 'contentType',
};
```

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_sagemaker as sagemaker

file_source_property = sagemaker.CfnModelPackage.FileSourceProperty(
    s3_uri="s3Uri",

    # the properties below are optional
    content_digest="contentDigest",
    content_type="contentType"
)
```

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

FileSourceProperty fileSourceProperty = FileSourceProperty.builder()
        .s3Uri("s3Uri")

        // the properties below are optional
        .contentDigest("contentDigest")
        .contentType("contentType")
        .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.Sagemaker;

var fileSourceProperty = new FileSourceProperty {
    S3Uri = "s3Uri",

    // the properties below are optional
    ContentDigest = "contentDigest",
    ContentType = "contentType"
};
```

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"

fileSourceProperty := &FileSourceProperty{
	S3Uri: jsii.String("s3Uri"),

	// the properties below are optional
	ContentDigest: jsii.String("contentDigest"),
	ContentType: jsii.String("contentType"),
}
```

## Properties

- `contentDigest`: string — The digest of the file source.

- `contentType`: string — The type of content stored in the file source.

- `s3Uri`: string (required) — The Amazon S3 URI for the file source.
