interface DeploymentSourceContext
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.Deployment.DeploymentSourceContext |
![]() | software.amazon.awscdk.services.s3.deployment.DeploymentSourceContext |
![]() | aws_cdk.aws_s3_deployment.DeploymentSourceContext |
![]() | @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.