Documentation ¶
Index ¶
- func NewNodeProxyAgentLayer_Override(n NodeProxyAgentLayer, scope constructs.Construct, id *string)
- func NodeProxyAgentLayer_FromLayerVersionArn(scope constructs.Construct, id *string, layerVersionArn *string) awslambda.ILayerVersion
- func NodeProxyAgentLayer_FromLayerVersionAttributes(scope constructs.Construct, id *string, ...) awslambda.ILayerVersion
- func NodeProxyAgentLayer_IsConstruct(x interface{}) *bool
- func NodeProxyAgentLayer_IsResource(construct constructs.IConstruct) *bool
- type NodeProxyAgentLayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNodeProxyAgentLayer_Override ¶
func NewNodeProxyAgentLayer_Override(n NodeProxyAgentLayer, scope constructs.Construct, id *string)
func NodeProxyAgentLayer_FromLayerVersionArn ¶
func NodeProxyAgentLayer_FromLayerVersionArn(scope constructs.Construct, id *string, layerVersionArn *string) awslambda.ILayerVersion
Imports a layer version by ARN.
Assumes it is compatible with all Lambda runtimes.
func NodeProxyAgentLayer_FromLayerVersionAttributes ¶
func NodeProxyAgentLayer_FromLayerVersionAttributes(scope constructs.Construct, id *string, attrs *awslambda.LayerVersionAttributes) awslambda.ILayerVersion
Imports a Layer that has been defined externally.
func NodeProxyAgentLayer_IsConstruct ¶
func NodeProxyAgentLayer_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 NodeProxyAgentLayer_IsResource ¶
func NodeProxyAgentLayer_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
Types ¶
type NodeProxyAgentLayer ¶
type NodeProxyAgentLayer 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 NPM dependency `proxy-agent`.
TODO: EXAMPLE
func NewNodeProxyAgentLayer ¶
func NewNodeProxyAgentLayer(scope constructs.Construct, id *string) NodeProxyAgentLayer
Click to show internal directories.
Click to hide internal directories.