class S3Content
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GameLift.Alpha.S3Content |
Go | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#S3Content |
Java | software.amazon.awscdk.services.gamelift.alpha.S3Content |
Python | aws_cdk.aws_gamelift_alpha.S3Content |
TypeScript (source) | @aws-cdk/aws-gamelift-alpha ยป S3Content |
Extends
Content
Game content from an S3 archive.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
import { aws_s3 as s3 } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
const s3Content = new gamelift_alpha.S3Content(bucket, 'key', /* all optional props */ 'objectVersion');
Initializer
new S3Content(bucket: IBucket, key: string, objectVersion?: string)
Parameters
- bucket
IBucket - key
string - objectVersion
string
Methods
| Name | Description |
|---|---|
| bind(_scope, role) | Called when the Build is initialized to allow this object to bind. |
bind(_scope, role)
public bind(_scope: Construct, role: IRole): ContentConfig
Parameters
Returns
Called when the Build is initialized to allow this object to bind.

.NET
Go
Java
Python
TypeScript (