@aws-cdk_aws-gamelift-alpha.S3Content

class S3Content 🔹

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.S3Content
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#S3Content
Javasoftware.amazon.awscdk.services.gamelift.alpha.S3Content
Pythonaws_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

NameDescription
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

  • _scope Construct
  • role IRole

Returns

  • ContentConfig

Called when the Build is initialized to allow this object to bind.