interface DeploymentSourceContext
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.Deployment.DeploymentSourceContext |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awss3deployment#DeploymentSourceContext |
![]() | software.amazon.awscdk.services.s3.deployment.DeploymentSourceContext |
![]() | aws_cdk.aws_s3_deployment.DeploymentSourceContext |
![]() | aws-cdk-lib » 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 { aws_iam as iam } from 'aws-cdk-lib';
import { aws_s3_deployment as s3_deployment } from 'aws-cdk-lib';
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.