interface DeploymentSourceContext
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.Deployment.DeploymentSourceContext |
Java | software.amazon.awscdk.services.s3.deployment.DeploymentSourceContext |
Python | aws_cdk.aws_s3_deployment.DeploymentSourceContext |
TypeScript (source) | @aws-cdk/aws-s3-deployment » DeploymentSourceContext |
Bind context for ISources.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iam from '@aws-cdk/aws-iam';
import * as s3_deployment from '@aws-cdk/aws-s3-deployment';
declare const role: iam.Role;
const deploymentSourceContext: s3_deployment.DeploymentSourceContext = {
handlerRole: role,
};
Properties
| Name | Type | Description |
|---|---|---|
| handler | IRole | The role for the handler. |
handlerRole
Type:
IRole
The role for the handler.

.NET
Java
Python
TypeScript (