Class S3Content
(experimental) Game content from an S3 archive.
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public class S3Content : Content
Syntax (vb)
Public Class S3Content Inherits Content
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
using Amazon.CDK.AWS.S3;
Bucket bucket;
var s3Content = new S3Content(bucket, "key", "objectVersion");
Synopsis
Constructors
| S3Content(IBucket, string, string?) | (experimental) Game content from an S3 archive. |
Methods
| Bind(Construct, IRole) | (experimental) Called when the Build is initialized to allow this object to bind. |
Constructors
S3Content(IBucket, string, string?)
(experimental) Game content from an S3 archive.
public S3Content(IBucket bucket, string key, string? objectVersion = null)
Parameters
Remarks
Stability: Experimental
Methods
Bind(Construct, IRole)
(experimental) Called when the Build is initialized to allow this object to bind.
public override IContentConfig Bind(Construct scope, IRole role)
Parameters
- scope Construct
- role IRole
Returns
Overrides
Remarks
Stability: Experimental