@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.215Z") @Stability(value=Stable) public class S3ApiDefinition extends ApiDefinition
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigateway.*; import software.amazon.awscdk.services.s3.*; Bucket bucket; S3ApiDefinition s3ApiDefinition = new S3ApiDefinition(bucket, "key", "objectVersion");
| Modifier | Constructor and Description |
|---|---|
|
S3ApiDefinition(IBucket bucket,
String key) |
|
S3ApiDefinition(IBucket bucket,
String key,
String objectVersion) |
protected |
S3ApiDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
S3ApiDefinition(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ApiDefinitionConfig |
bind(software.constructs.Construct _scope)
Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun.
|
bindAfterCreate, fromAsset, fromAsset, fromBucket, fromBucket, fromInlinejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected S3ApiDefinition(software.amazon.jsii.JsiiObjectRef objRef)
protected S3ApiDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public S3ApiDefinition(@NotNull
IBucket bucket,
@NotNull
String key,
@Nullable
String objectVersion)
bucket - This parameter is required.key - This parameter is required.objectVersion - @Stability(value=Stable) @NotNull public ApiDefinitionConfig bind(@NotNull software.constructs.Construct _scope)
bind in class ApiDefinition_scope - This parameter is required.Copyright © 2022. All rights reserved.