class S3Content
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GameLift.Alpha.S3Content |
![]() | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#S3Content |
![]() | software.amazon.awscdk.services.gamelift.alpha.S3Content |
![]() | aws_cdk.aws_gamelift_alpha.S3Content |
![]() | @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.