Documentation ¶
Index ¶
- func AwsCliLayer_FromLayerVersionArn(scope constructs.Construct, id *string, layerVersionArn *string) awslambda.ILayerVersion
- func AwsCliLayer_FromLayerVersionAttributes(scope constructs.Construct, id *string, ...) awslambda.ILayerVersion
- func AwsCliLayer_IsConstruct(x interface{}) *bool
- func AwsCliLayer_IsResource(construct constructs.IConstruct) *bool
- func NewAwsCliLayer_Override(a AwsCliLayer, scope constructs.Construct, id *string)
- type AwsCliLayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsCliLayer_FromLayerVersionArn ¶
func AwsCliLayer_FromLayerVersionArn(scope constructs.Construct, id *string, layerVersionArn *string) awslambda.ILayerVersion
Imports a layer version by ARN.
Assumes it is compatible with all Lambda runtimes. Experimental.
func AwsCliLayer_FromLayerVersionAttributes ¶
func AwsCliLayer_FromLayerVersionAttributes(scope constructs.Construct, id *string, attrs *awslambda.LayerVersionAttributes) awslambda.ILayerVersion
Imports a Layer that has been defined externally. Experimental.
func AwsCliLayer_IsConstruct ¶
func AwsCliLayer_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func AwsCliLayer_IsResource ¶
func AwsCliLayer_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewAwsCliLayer_Override ¶
func NewAwsCliLayer_Override(a AwsCliLayer, scope constructs.Construct, id *string)
Experimental.
Types ¶
type AwsCliLayer ¶
type AwsCliLayer interface { awslambda.LayerVersion CompatibleRuntimes() *[]awslambda.Runtime Env() *awscdk.ResourceEnvironment LayerVersionArn() *string Node() constructs.Node PhysicalName() *string Stack() awscdk.Stack AddPermission(id *string, permission *awslambda.LayerVersionPermission) ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string ToString() *string }
An AWS Lambda layer that includes the AWS CLI. Experimental.
func NewAwsCliLayer ¶
func NewAwsCliLayer(scope constructs.Construct, id *string) AwsCliLayer
Experimental.
Click to show internal directories.
Click to hide internal directories.