Documentation ¶
Index ¶
- func KubectlLayer_FromLayerVersionArn(scope constructs.Construct, id *string, layerVersionArn *string) awslambda.ILayerVersion
- func KubectlLayer_FromLayerVersionAttributes(scope constructs.Construct, id *string, ...) awslambda.ILayerVersion
- func KubectlLayer_IsConstruct(x interface{}) *bool
- func KubectlLayer_IsResource(construct constructs.IConstruct) *bool
- func NewKubectlLayer_Override(k KubectlLayer, scope constructs.Construct, id *string)
- type KubectlLayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubectlLayer_FromLayerVersionArn ¶
func KubectlLayer_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 KubectlLayer_FromLayerVersionAttributes ¶
func KubectlLayer_FromLayerVersionAttributes(scope constructs.Construct, id *string, attrs *awslambda.LayerVersionAttributes) awslambda.ILayerVersion
Imports a Layer that has been defined externally.
func KubectlLayer_IsConstruct ¶
func KubectlLayer_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 KubectlLayer_IsResource ¶
func KubectlLayer_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
func NewKubectlLayer_Override ¶
func NewKubectlLayer_Override(k KubectlLayer, scope constructs.Construct, id *string)
Types ¶
type KubectlLayer ¶
type KubectlLayer 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 `kubectl` and `helm`.
TODO: EXAMPLE
func NewKubectlLayer ¶
func NewKubectlLayer(scope constructs.Construct, id *string) KubectlLayer
Click to show internal directories.
Click to hide internal directories.