alicloudroscdkfc3

package module
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

Aliyun ROS FC3 Construct Library

This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.

import * as FC3 from '@alicloud/ros-cdk-fc3';

Documentation

Overview

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcurrencyConfig_IsConstruct added in v1.6.0

func ConcurrencyConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func CustomDomain_IsConstruct added in v1.6.0

func CustomDomain_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Function_IsConstruct

func Function_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NewConcurrencyConfig_Override added in v1.6.0

func NewConcurrencyConfig_Override(c ConcurrencyConfig, scope alicloudroscdkcore.Construct, id *string, props *ConcurrencyConfigProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewCustomDomain_Override added in v1.6.0

func NewCustomDomain_Override(c CustomDomain, scope alicloudroscdkcore.Construct, id *string, props *CustomDomainProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewFunction_Override

func NewFunction_Override(f Function, scope alicloudroscdkcore.Construct, id *string, props *FunctionProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewProvisionConfig_Override added in v1.6.0

func NewProvisionConfig_Override(p ProvisionConfig, scope alicloudroscdkcore.Construct, id *string, props *ProvisionConfigProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewRosConcurrencyConfig_Override added in v1.6.0

func NewRosConcurrencyConfig_Override(r RosConcurrencyConfig, scope alicloudroscdkcore.Construct, id *string, props *RosConcurrencyConfigProps, enableResourcePropertyConstraint *bool)

func NewRosCustomDomain_Override added in v1.6.0

func NewRosCustomDomain_Override(r RosCustomDomain, scope alicloudroscdkcore.Construct, id *string, props *RosCustomDomainProps, enableResourcePropertyConstraint *bool)

func NewRosFunction_Override

func NewRosFunction_Override(r RosFunction, scope alicloudroscdkcore.Construct, id *string, props *RosFunctionProps, enableResourcePropertyConstraint *bool)

func NewRosProvisionConfig_Override added in v1.6.0

func NewRosProvisionConfig_Override(r RosProvisionConfig, scope alicloudroscdkcore.Construct, id *string, props *RosProvisionConfigProps, enableResourcePropertyConstraint *bool)

func NewRosTrigger_Override

func NewRosTrigger_Override(r RosTrigger, scope alicloudroscdkcore.Construct, id *string, props *RosTriggerProps, enableResourcePropertyConstraint *bool)

func NewTrigger_Override

func NewTrigger_Override(t Trigger, scope alicloudroscdkcore.Construct, id *string, props *TriggerProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func ProvisionConfig_IsConstruct added in v1.6.0

func ProvisionConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosConcurrencyConfig_IsConstruct added in v1.6.0

func RosConcurrencyConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosConcurrencyConfig_IsRosElement added in v1.6.0

func RosConcurrencyConfig_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosConcurrencyConfig_IsRosResource added in v1.6.0

func RosConcurrencyConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosConcurrencyConfig_ROS_RESOURCE_TYPE_NAME added in v1.6.0

func RosConcurrencyConfig_ROS_RESOURCE_TYPE_NAME() *string

func RosCustomDomain_IsConstruct added in v1.6.0

func RosCustomDomain_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosCustomDomain_IsRosElement added in v1.6.0

func RosCustomDomain_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosCustomDomain_IsRosResource added in v1.6.0

func RosCustomDomain_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosCustomDomain_ROS_RESOURCE_TYPE_NAME added in v1.6.0

func RosCustomDomain_ROS_RESOURCE_TYPE_NAME() *string

func RosFunction_IsConstruct

func RosFunction_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosFunction_IsRosElement

func RosFunction_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosFunction_IsRosResource

func RosFunction_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosFunction_ROS_RESOURCE_TYPE_NAME

func RosFunction_ROS_RESOURCE_TYPE_NAME() *string

func RosProvisionConfig_IsConstruct added in v1.6.0

func RosProvisionConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosProvisionConfig_IsRosElement added in v1.6.0

func RosProvisionConfig_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosProvisionConfig_IsRosResource added in v1.6.0

func RosProvisionConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosProvisionConfig_ROS_RESOURCE_TYPE_NAME added in v1.6.0

func RosProvisionConfig_ROS_RESOURCE_TYPE_NAME() *string

func RosTrigger_IsConstruct

func RosTrigger_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosTrigger_IsRosElement

func RosTrigger_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosTrigger_IsRosResource

func RosTrigger_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosTrigger_ROS_RESOURCE_TYPE_NAME

func RosTrigger_ROS_RESOURCE_TYPE_NAME() *string

func Trigger_IsConstruct

func Trigger_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

Types

type ConcurrencyConfig added in v1.6.0

type ConcurrencyConfig interface {
	alicloudroscdkcore.Resource
	IConcurrencyConfig
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ConcurrencyConfigProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::FC3::ConcurrencyConfig`.

func NewConcurrencyConfig added in v1.6.0

func NewConcurrencyConfig(scope alicloudroscdkcore.Construct, id *string, props *ConcurrencyConfigProps, enableResourcePropertyConstraint *bool) ConcurrencyConfig

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ConcurrencyConfigProps added in v1.6.0

type ConcurrencyConfigProps struct {
	// Property functionName: Function name.
	FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"`
	// Property reservedConcurrency: To RESERVE concurrency, FUNCTIONS RESERVE a portion OF ACCOUNT concurrency that cannot be used by other functions.
	//
	// Reserved concurrency includes the total concurrency of reserved instances and instances by volume.
	ReservedConcurrency interface{} `field:"required" json:"reservedConcurrency" yaml:"reservedConcurrency"`
}

Properties for defining a `ConcurrencyConfig`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-concurrencyconfig

type CustomDomain added in v1.6.0

type CustomDomain interface {
	alicloudroscdkcore.Resource
	ICustomDomain
	// Attribute DomainName: The domain name.
	AttrDomainName() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *CustomDomainProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::FC3::CustomDomain`.

func NewCustomDomain added in v1.6.0

func NewCustomDomain(scope alicloudroscdkcore.Construct, id *string, props *CustomDomainProps, enableResourcePropertyConstraint *bool) CustomDomain

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type CustomDomainProps added in v1.6.0

type CustomDomainProps struct {
	// Property authConfig: Permission authentication configuration.
	AuthConfig interface{} `field:"required" json:"authConfig" yaml:"authConfig"`
	// Property domainName: Domain name.
	//
	// Fill in the custom domain name that has been filed in Ali cloud or access to the record.
	DomainName interface{} `field:"required" json:"domainName" yaml:"domainName"`
	// Property protocol: Protocol types supported by the domain name.
	//
	// Valid values:
	// - HTTP: Only HTTP protocol is supported.
	// - HTTPS: HTTPS only is supported.
	// - HTTP,HTTPS: Supports HTTP and HTTPS protocols.
	Protocol interface{} `field:"required" json:"protocol" yaml:"protocol"`
	// Property certConfig: HTTPS certificate information.
	CertConfig interface{} `field:"optional" json:"certConfig" yaml:"certConfig"`
	// Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.
	RouteConfig interface{} `field:"optional" json:"routeConfig" yaml:"routeConfig"`
	// Property tlsConfig: TLS config.
	TlsConfig interface{} `field:"optional" json:"tlsConfig" yaml:"tlsConfig"`
	// Property wafConfig: Web application firewall configuration information.
	WafConfig interface{} `field:"optional" json:"wafConfig" yaml:"wafConfig"`
}

Properties for defining a `CustomDomain`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-customdomain

type Function

type Function interface {
	alicloudroscdkcore.Resource
	IFunction
	// Attribute ARN: The ARN for ALIYUN::ROS::CustomResource.
	AttrArn() interface{}
	// Attribute FunctionId: The function ID.
	AttrFunctionId() interface{}
	// Attribute FunctionName: The function name.
	AttrFunctionName() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *FunctionProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::FC3::Function`.

func NewFunction

func NewFunction(scope alicloudroscdkcore.Construct, id *string, props *FunctionProps, enableResourcePropertyConstraint *bool) Function

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type FunctionProps

type FunctionProps struct {
	// Property functionName: The name of the function.
	FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"`
	// Property handler: The handler of the function.
	Handler interface{} `field:"required" json:"handler" yaml:"handler"`
	// Property runtime: The programming language of the function.
	Runtime interface{} `field:"required" json:"runtime" yaml:"runtime"`
	// Property code: Function code ZIP package.
	//
	// Choose one of Code and CustomContainerConfig.
	Code interface{} `field:"optional" json:"code" yaml:"code"`
	// Property cpu: The CPU size of the function in vCPU as a multiple of 0.05 vCPU. The minimum value is 0.05 and the maximum value is 16. At the same time, the ratio of cpu to memorySize (in GB) should be between 1:1 and 1:4.
	Cpu interface{} `field:"optional" json:"cpu" yaml:"cpu"`
	// Property customContainerConfig: Custom container configuration.
	//
	// Choose one of Code and CustomContainerConfig.
	CustomContainerConfig interface{} `field:"optional" json:"customContainerConfig" yaml:"customContainerConfig"`
	// Property customDns: Custom DNS configuration.
	CustomDns interface{} `field:"optional" json:"customDns" yaml:"customDns"`
	// Property customRuntimeConfig: Custom runtime configuration.
	CustomRuntimeConfig interface{} `field:"optional" json:"customRuntimeConfig" yaml:"customRuntimeConfig"`
	// Property description: Function description.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property diskSize: The disk size of the function, in MB.
	DiskSize interface{} `field:"optional" json:"diskSize" yaml:"diskSize"`
	// Property environmentVariables: The environment variables of the function.
	EnvironmentVariables interface{} `field:"optional" json:"environmentVariables" yaml:"environmentVariables"`
	// Property gpuConfig: The GPU configuration of the function.
	GpuConfig interface{} `field:"optional" json:"gpuConfig" yaml:"gpuConfig"`
	// Property instanceConcurrency: The maximum number of concurrent instances of the function.
	InstanceConcurrency interface{} `field:"optional" json:"instanceConcurrency" yaml:"instanceConcurrency"`
	// Property instanceLifecycleConfig: The instance lifecycle configuration of the function.
	InstanceLifecycleConfig interface{} `field:"optional" json:"instanceLifecycleConfig" yaml:"instanceLifecycleConfig"`
	// Property internetAccess: Whether the function can access the Internet.
	InternetAccess interface{} `field:"optional" json:"internetAccess" yaml:"internetAccess"`
	// Property layers: The layers of the function.
	Layers interface{} `field:"optional" json:"layers" yaml:"layers"`
	// Property logConfig: The log configuration of the function.
	LogConfig interface{} `field:"optional" json:"logConfig" yaml:"logConfig"`
	// Property memorySize: The memory size of the function, in MB.
	MemorySize interface{} `field:"optional" json:"memorySize" yaml:"memorySize"`
	// Property nasConfig: The NAS configuration of the function.
	NasConfig interface{} `field:"optional" json:"nasConfig" yaml:"nasConfig"`
	// Property ossMountConfig: The OSS mount configuration of the function.
	OssMountConfig interface{} `field:"optional" json:"ossMountConfig" yaml:"ossMountConfig"`
	// Property role: The user is authorized to the RAM role of Function Compute.
	//
	// After setting, Function Compute will assume the role and generate temporary access credentials. The temporary access credentials of this role can be used in functions to access specified Alibaba Cloud services, such as OSS and OTS.
	Role interface{} `field:"optional" json:"role" yaml:"role"`
	// Property timeout: The timeout of the function.
	Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"`
	// Property tracingConfig: The tracing configuration of the function.
	TracingConfig interface{} `field:"optional" json:"tracingConfig" yaml:"tracingConfig"`
	// Property vpcConfig: The VPC configuration of the function.
	VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"`
}

Properties for defining a `Function`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-function

type IConcurrencyConfig added in v1.6.0

type IConcurrencyConfig interface {
	alicloudroscdkcore.IResource
	Props() *ConcurrencyConfigProps
}

Represents a `ConcurrencyConfig`.

type ICustomDomain added in v1.6.0

type ICustomDomain interface {
	alicloudroscdkcore.IResource
	// Attribute DomainName: The domain name.
	AttrDomainName() interface{}
	Props() *CustomDomainProps
}

Represents a `CustomDomain`.

type IFunction added in v1.6.0

type IFunction interface {
	alicloudroscdkcore.IResource
	// Attribute ARN: The ARN for ALIYUN::ROS::CustomResource.
	AttrArn() interface{}
	// Attribute FunctionId: The function ID.
	AttrFunctionId() interface{}
	// Attribute FunctionName: The function name.
	AttrFunctionName() interface{}
	Props() *FunctionProps
}

Represents a `Function`.

type IProvisionConfig added in v1.6.0

type IProvisionConfig interface {
	alicloudroscdkcore.IResource
	Props() *ProvisionConfigProps
}

Represents a `ProvisionConfig`.

type ITrigger added in v1.6.0

type ITrigger interface {
	alicloudroscdkcore.IResource
	// Attribute FunctionName: Function name.
	AttrFunctionName() interface{}
	// Attribute TriggerId: The trigger ID.
	AttrTriggerId() interface{}
	// Attribute TriggerName: Trigger name.
	AttrTriggerName() interface{}
	// Attribute UrlInternet: The public domain address.
	//
	// You can access HTTP triggers over the Internet by using HTTP or HTTPS.
	AttrUrlInternet() interface{}
	// Attribute UrlIntranet: The private endpoint.
	//
	// In a VPC, you can access HTTP triggers by using HTTP or HTTPS.
	AttrUrlIntranet() interface{}
	Props() *TriggerProps
}

Represents a `Trigger`.

type ProvisionConfig added in v1.6.0

type ProvisionConfig interface {
	alicloudroscdkcore.Resource
	IProvisionConfig
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ProvisionConfigProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::FC3::ProvisionConfig`.

func NewProvisionConfig added in v1.6.0

func NewProvisionConfig(scope alicloudroscdkcore.Construct, id *string, props *ProvisionConfigProps, enableResourcePropertyConstraint *bool) ProvisionConfig

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ProvisionConfigProps added in v1.6.0

type ProvisionConfigProps struct {
	// Property defaultTarget: The number of target resources to reserve.
	DefaultTarget interface{} `field:"required" json:"defaultTarget" yaml:"defaultTarget"`
	// Property functionName: Function name.
	FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"`
	// Property alwaysAllocateCpu: Whether CPU should always be allocated;
	//
	// defaults to true.
	AlwaysAllocateCpu interface{} `field:"optional" json:"alwaysAllocateCpu" yaml:"alwaysAllocateCpu"`
	// Property alwaysAllocateGpu: Whether GPU should always be allocated;
	//
	// defaults to true.
	AlwaysAllocateGpu interface{} `field:"optional" json:"alwaysAllocateGpu" yaml:"alwaysAllocateGpu"`
	// Property qualifier: Function alias or LATEST.
	Qualifier interface{} `field:"optional" json:"qualifier" yaml:"qualifier"`
	// Property scheduledActions: Timing policy configuration.
	ScheduledActions interface{} `field:"optional" json:"scheduledActions" yaml:"scheduledActions"`
	// Property targetTrackingPolicies: Target tracking policy configuration.
	TargetTrackingPolicies interface{} `field:"optional" json:"targetTrackingPolicies" yaml:"targetTrackingPolicies"`
}

Properties for defining a `ProvisionConfig`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-provisionconfig

type RosConcurrencyConfig added in v1.6.0

type RosConcurrencyConfig interface {
	alicloudroscdkcore.RosResource
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	FunctionName() interface{}
	SetFunctionName(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	ReservedConcurrency() interface{}
	SetReservedConcurrency(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::FC3::ConcurrencyConfig`.

func NewRosConcurrencyConfig added in v1.6.0

func NewRosConcurrencyConfig(scope alicloudroscdkcore.Construct, id *string, props *RosConcurrencyConfigProps, enableResourcePropertyConstraint *bool) RosConcurrencyConfig

type RosConcurrencyConfigProps added in v1.6.0

type RosConcurrencyConfigProps struct {
	FunctionName        interface{} `field:"required" json:"functionName" yaml:"functionName"`
	ReservedConcurrency interface{} `field:"required" json:"reservedConcurrency" yaml:"reservedConcurrency"`
}

Properties for defining a `RosConcurrencyConfig`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-concurrencyconfig

type RosCustomDomain added in v1.6.0

type RosCustomDomain interface {
	alicloudroscdkcore.RosResource
	AttrDomainName() alicloudroscdkcore.IResolvable
	AuthConfig() interface{}
	SetAuthConfig(val interface{})
	CertConfig() interface{}
	SetCertConfig(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	DomainName() interface{}
	SetDomainName(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	Protocol() interface{}
	SetProtocol(val interface{})
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	RouteConfig() interface{}
	SetRouteConfig(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	TlsConfig() interface{}
	SetTlsConfig(val interface{})
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	WafConfig() interface{}
	SetWafConfig(val interface{})
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::FC3::CustomDomain`.

func NewRosCustomDomain added in v1.6.0

func NewRosCustomDomain(scope alicloudroscdkcore.Construct, id *string, props *RosCustomDomainProps, enableResourcePropertyConstraint *bool) RosCustomDomain

type RosCustomDomainProps added in v1.6.0

type RosCustomDomainProps struct {
	AuthConfig  interface{} `field:"required" json:"authConfig" yaml:"authConfig"`
	DomainName  interface{} `field:"required" json:"domainName" yaml:"domainName"`
	Protocol    interface{} `field:"required" json:"protocol" yaml:"protocol"`
	CertConfig  interface{} `field:"optional" json:"certConfig" yaml:"certConfig"`
	RouteConfig interface{} `field:"optional" json:"routeConfig" yaml:"routeConfig"`
	TlsConfig   interface{} `field:"optional" json:"tlsConfig" yaml:"tlsConfig"`
	WafConfig   interface{} `field:"optional" json:"wafConfig" yaml:"wafConfig"`
}

Properties for defining a `RosCustomDomain`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-customdomain

type RosCustomDomain_AuthConfigProperty added in v1.6.0

type RosCustomDomain_AuthConfigProperty struct {
	AuthType interface{} `field:"required" json:"authType" yaml:"authType"`
	AuthInfo interface{} `field:"optional" json:"authInfo" yaml:"authInfo"`
}

type RosCustomDomain_CertConfigProperty added in v1.6.0

type RosCustomDomain_CertConfigProperty struct {
	Certificate interface{} `field:"required" json:"certificate" yaml:"certificate"`
	CertName    interface{} `field:"required" json:"certName" yaml:"certName"`
	PrivateKey  interface{} `field:"required" json:"privateKey" yaml:"privateKey"`
}

type RosCustomDomain_EqualRulesProperty added in v1.6.0

type RosCustomDomain_EqualRulesProperty struct {
	Match       interface{} `field:"required" json:"match" yaml:"match"`
	Replacement interface{} `field:"required" json:"replacement" yaml:"replacement"`
}

type RosCustomDomain_RegexRulesProperty added in v1.6.0

type RosCustomDomain_RegexRulesProperty struct {
	Match       interface{} `field:"required" json:"match" yaml:"match"`
	Replacement interface{} `field:"required" json:"replacement" yaml:"replacement"`
}

type RosCustomDomain_RewriteConfigProperty added in v1.6.0

type RosCustomDomain_RewriteConfigProperty struct {
	EqualRules    interface{} `field:"optional" json:"equalRules" yaml:"equalRules"`
	RegexRules    interface{} `field:"optional" json:"regexRules" yaml:"regexRules"`
	WildcardRules interface{} `field:"optional" json:"wildcardRules" yaml:"wildcardRules"`
}

type RosCustomDomain_RouteConfigProperty added in v1.6.0

type RosCustomDomain_RouteConfigProperty struct {
	Routes interface{} `field:"required" json:"routes" yaml:"routes"`
}

type RosCustomDomain_RoutesProperty added in v1.6.0

type RosCustomDomain_RoutesProperty struct {
	FunctionName  interface{} `field:"required" json:"functionName" yaml:"functionName"`
	Path          interface{} `field:"required" json:"path" yaml:"path"`
	Qualifier     interface{} `field:"required" json:"qualifier" yaml:"qualifier"`
	Methods       interface{} `field:"optional" json:"methods" yaml:"methods"`
	RewriteConfig interface{} `field:"optional" json:"rewriteConfig" yaml:"rewriteConfig"`
}

type RosCustomDomain_TlsConfigProperty added in v1.6.0

type RosCustomDomain_TlsConfigProperty struct {
	CipherSuites interface{} `field:"required" json:"cipherSuites" yaml:"cipherSuites"`
	MinVersion   interface{} `field:"required" json:"minVersion" yaml:"minVersion"`
	MaxVersion   interface{} `field:"optional" json:"maxVersion" yaml:"maxVersion"`
}

type RosCustomDomain_WafConfigProperty added in v1.6.0

type RosCustomDomain_WafConfigProperty struct {
	EnableWaf interface{} `field:"optional" json:"enableWaf" yaml:"enableWaf"`
}

type RosCustomDomain_WildcardRulesProperty added in v1.6.0

type RosCustomDomain_WildcardRulesProperty struct {
	Match       interface{} `field:"required" json:"match" yaml:"match"`
	Replacement interface{} `field:"required" json:"replacement" yaml:"replacement"`
}

type RosFunction

type RosFunction interface {
	alicloudroscdkcore.RosResource
	AttrArn() alicloudroscdkcore.IResolvable
	AttrFunctionId() alicloudroscdkcore.IResolvable
	AttrFunctionName() alicloudroscdkcore.IResolvable
	Code() interface{}
	SetCode(val interface{})
	Cpu() interface{}
	SetCpu(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	CustomContainerConfig() interface{}
	SetCustomContainerConfig(val interface{})
	CustomDns() interface{}
	SetCustomDns(val interface{})
	CustomRuntimeConfig() interface{}
	SetCustomRuntimeConfig(val interface{})
	Description() interface{}
	SetDescription(val interface{})
	DiskSize() interface{}
	SetDiskSize(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	EnvironmentVariables() interface{}
	SetEnvironmentVariables(val interface{})
	FunctionName() interface{}
	SetFunctionName(val interface{})
	GpuConfig() interface{}
	SetGpuConfig(val interface{})
	Handler() interface{}
	SetHandler(val interface{})
	InstanceConcurrency() interface{}
	SetInstanceConcurrency(val interface{})
	InstanceLifecycleConfig() interface{}
	SetInstanceLifecycleConfig(val interface{})
	InternetAccess() interface{}
	SetInternetAccess(val interface{})
	Layers() interface{}
	SetLayers(val interface{})
	LogConfig() interface{}
	SetLogConfig(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	MemorySize() interface{}
	SetMemorySize(val interface{})
	NasConfig() interface{}
	SetNasConfig(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	OssMountConfig() interface{}
	SetOssMountConfig(val interface{})
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	Role() interface{}
	SetRole(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	Runtime() interface{}
	SetRuntime(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Timeout() interface{}
	SetTimeout(val interface{})
	TracingConfig() interface{}
	SetTracingConfig(val interface{})
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	VpcConfig() interface{}
	SetVpcConfig(val interface{})
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::FC3::Function`.

func NewRosFunction

func NewRosFunction(scope alicloudroscdkcore.Construct, id *string, props *RosFunctionProps, enableResourcePropertyConstraint *bool) RosFunction

type RosFunctionProps

type RosFunctionProps struct {
	FunctionName            interface{} `field:"required" json:"functionName" yaml:"functionName"`
	Handler                 interface{} `field:"required" json:"handler" yaml:"handler"`
	Runtime                 interface{} `field:"required" json:"runtime" yaml:"runtime"`
	Code                    interface{} `field:"optional" json:"code" yaml:"code"`
	Cpu                     interface{} `field:"optional" json:"cpu" yaml:"cpu"`
	CustomContainerConfig   interface{} `field:"optional" json:"customContainerConfig" yaml:"customContainerConfig"`
	CustomDns               interface{} `field:"optional" json:"customDns" yaml:"customDns"`
	CustomRuntimeConfig     interface{} `field:"optional" json:"customRuntimeConfig" yaml:"customRuntimeConfig"`
	Description             interface{} `field:"optional" json:"description" yaml:"description"`
	DiskSize                interface{} `field:"optional" json:"diskSize" yaml:"diskSize"`
	EnvironmentVariables    interface{} `field:"optional" json:"environmentVariables" yaml:"environmentVariables"`
	GpuConfig               interface{} `field:"optional" json:"gpuConfig" yaml:"gpuConfig"`
	InstanceConcurrency     interface{} `field:"optional" json:"instanceConcurrency" yaml:"instanceConcurrency"`
	InstanceLifecycleConfig interface{} `field:"optional" json:"instanceLifecycleConfig" yaml:"instanceLifecycleConfig"`
	InternetAccess          interface{} `field:"optional" json:"internetAccess" yaml:"internetAccess"`
	Layers                  interface{} `field:"optional" json:"layers" yaml:"layers"`
	LogConfig               interface{} `field:"optional" json:"logConfig" yaml:"logConfig"`
	MemorySize              interface{} `field:"optional" json:"memorySize" yaml:"memorySize"`
	NasConfig               interface{} `field:"optional" json:"nasConfig" yaml:"nasConfig"`
	OssMountConfig          interface{} `field:"optional" json:"ossMountConfig" yaml:"ossMountConfig"`
	Role                    interface{} `field:"optional" json:"role" yaml:"role"`
	Timeout                 interface{} `field:"optional" json:"timeout" yaml:"timeout"`
	TracingConfig           interface{} `field:"optional" json:"tracingConfig" yaml:"tracingConfig"`
	VpcConfig               interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"`
}

Properties for defining a `RosFunction`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-function

type RosFunction_AccelerationInfoProperty

type RosFunction_AccelerationInfoProperty struct {
	Status interface{} `field:"optional" json:"status" yaml:"status"`
}

type RosFunction_AuthConfigProperty added in v1.6.0

type RosFunction_AuthConfigProperty struct {
	Password interface{} `field:"required" json:"password" yaml:"password"`
	UserName interface{} `field:"required" json:"userName" yaml:"userName"`
}

type RosFunction_CertConfigProperty added in v1.6.0

type RosFunction_CertConfigProperty struct {
	Insecure         interface{} `field:"required" json:"insecure" yaml:"insecure"`
	RootCaCertBase64 interface{} `field:"optional" json:"rootCaCertBase64" yaml:"rootCaCertBase64"`
}

type RosFunction_CodeProperty

type RosFunction_CodeProperty struct {
	Checksum      interface{} `field:"optional" json:"checksum" yaml:"checksum"`
	OssBucketName interface{} `field:"optional" json:"ossBucketName" yaml:"ossBucketName"`
	OssObjectName interface{} `field:"optional" json:"ossObjectName" yaml:"ossObjectName"`
	SourceCode    interface{} `field:"optional" json:"sourceCode" yaml:"sourceCode"`
	ZipFile       interface{} `field:"optional" json:"zipFile" yaml:"zipFile"`
}

type RosFunction_CustomContainerConfigProperty

type RosFunction_CustomContainerConfigProperty struct {
	AccelerationInfo  interface{} `field:"optional" json:"accelerationInfo" yaml:"accelerationInfo"`
	AccelerationType  interface{} `field:"optional" json:"accelerationType" yaml:"accelerationType"`
	AcrInstanceId     interface{} `field:"optional" json:"acrInstanceId" yaml:"acrInstanceId"`
	Command           interface{} `field:"optional" json:"command" yaml:"command"`
	Entrypoint        interface{} `field:"optional" json:"entrypoint" yaml:"entrypoint"`
	HealthCheckConfig interface{} `field:"optional" json:"healthCheckConfig" yaml:"healthCheckConfig"`
	Image             interface{} `field:"optional" json:"image" yaml:"image"`
	Port              interface{} `field:"optional" json:"port" yaml:"port"`
	RegistryConfig    interface{} `field:"optional" json:"registryConfig" yaml:"registryConfig"`
	ResolvedImageUri  interface{} `field:"optional" json:"resolvedImageUri" yaml:"resolvedImageUri"`
}

type RosFunction_CustomDnsProperty

type RosFunction_CustomDnsProperty struct {
	DnsOptions  interface{} `field:"optional" json:"dnsOptions" yaml:"dnsOptions"`
	NameServers interface{} `field:"optional" json:"nameServers" yaml:"nameServers"`
	Searches    interface{} `field:"optional" json:"searches" yaml:"searches"`
}

type RosFunction_CustomRuntimeConfigHealthCheckConfigProperty

type RosFunction_CustomRuntimeConfigHealthCheckConfigProperty struct {
	FailureThreshold    interface{} `field:"optional" json:"failureThreshold" yaml:"failureThreshold"`
	HttpGetUrl          interface{} `field:"optional" json:"httpGetUrl" yaml:"httpGetUrl"`
	InitialDelaySeconds interface{} `field:"optional" json:"initialDelaySeconds" yaml:"initialDelaySeconds"`
	PeriodSeconds       interface{} `field:"optional" json:"periodSeconds" yaml:"periodSeconds"`
	SuccessThreshold    interface{} `field:"optional" json:"successThreshold" yaml:"successThreshold"`
	TimeoutSeconds      interface{} `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"`
}

type RosFunction_CustomRuntimeConfigProperty

type RosFunction_CustomRuntimeConfigProperty struct {
	Args              interface{} `field:"optional" json:"args" yaml:"args"`
	Command           interface{} `field:"optional" json:"command" yaml:"command"`
	HealthCheckConfig interface{} `field:"optional" json:"healthCheckConfig" yaml:"healthCheckConfig"`
	Port              interface{} `field:"optional" json:"port" yaml:"port"`
}

type RosFunction_DnsOptionsProperty

type RosFunction_DnsOptionsProperty struct {
	Name  interface{} `field:"optional" json:"name" yaml:"name"`
	Value interface{} `field:"optional" json:"value" yaml:"value"`
}

type RosFunction_GpuConfigProperty

type RosFunction_GpuConfigProperty struct {
	GpuMemorySize interface{} `field:"optional" json:"gpuMemorySize" yaml:"gpuMemorySize"`
	GpuType       interface{} `field:"optional" json:"gpuType" yaml:"gpuType"`
}

type RosFunction_HealthCheckConfigProperty

type RosFunction_HealthCheckConfigProperty struct {
	FailureThreshold    interface{} `field:"optional" json:"failureThreshold" yaml:"failureThreshold"`
	HttpGetUrl          interface{} `field:"optional" json:"httpGetUrl" yaml:"httpGetUrl"`
	InitialDelaySeconds interface{} `field:"optional" json:"initialDelaySeconds" yaml:"initialDelaySeconds"`
	PeriodSeconds       interface{} `field:"optional" json:"periodSeconds" yaml:"periodSeconds"`
	SuccessThreshold    interface{} `field:"optional" json:"successThreshold" yaml:"successThreshold"`
	TimeoutSeconds      interface{} `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"`
}

type RosFunction_InitializerProperty

type RosFunction_InitializerProperty struct {
	Handler interface{} `field:"optional" json:"handler" yaml:"handler"`
	Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"`
}

type RosFunction_InstanceLifecycleConfigProperty

type RosFunction_InstanceLifecycleConfigProperty struct {
	Initializer interface{} `field:"optional" json:"initializer" yaml:"initializer"`
	PreStop     interface{} `field:"optional" json:"preStop" yaml:"preStop"`
}

type RosFunction_LogConfigProperty

type RosFunction_LogConfigProperty struct {
	EnableInstanceMetrics interface{} `field:"optional" json:"enableInstanceMetrics" yaml:"enableInstanceMetrics"`
	EnableRequestMetrics  interface{} `field:"optional" json:"enableRequestMetrics" yaml:"enableRequestMetrics"`
	LogBeginRule          interface{} `field:"optional" json:"logBeginRule" yaml:"logBeginRule"`
	Logstore              interface{} `field:"optional" json:"logstore" yaml:"logstore"`
	Project               interface{} `field:"optional" json:"project" yaml:"project"`
}

type RosFunction_MountPointsProperty

type RosFunction_MountPointsProperty struct {
	EnableTls  interface{} `field:"optional" json:"enableTls" yaml:"enableTls"`
	MountDir   interface{} `field:"optional" json:"mountDir" yaml:"mountDir"`
	ServerAddr interface{} `field:"optional" json:"serverAddr" yaml:"serverAddr"`
}

type RosFunction_NasConfigProperty

type RosFunction_NasConfigProperty struct {
	GroupId     interface{} `field:"optional" json:"groupId" yaml:"groupId"`
	MountPoints interface{} `field:"optional" json:"mountPoints" yaml:"mountPoints"`
	UserId      interface{} `field:"optional" json:"userId" yaml:"userId"`
}

type RosFunction_NetworkConfigProperty added in v1.6.0

type RosFunction_NetworkConfigProperty struct {
	SecurityGroupId interface{} `field:"required" json:"securityGroupId" yaml:"securityGroupId"`
	VpcId           interface{} `field:"required" json:"vpcId" yaml:"vpcId"`
	VSwitchId       interface{} `field:"required" json:"vSwitchId" yaml:"vSwitchId"`
}

type RosFunction_OssMountConfigMountPointsProperty

type RosFunction_OssMountConfigMountPointsProperty struct {
	BucketName interface{} `field:"optional" json:"bucketName" yaml:"bucketName"`
	BucketPath interface{} `field:"optional" json:"bucketPath" yaml:"bucketPath"`
	Endpoint   interface{} `field:"optional" json:"endpoint" yaml:"endpoint"`
	MountDir   interface{} `field:"optional" json:"mountDir" yaml:"mountDir"`
	ReadOnly   interface{} `field:"optional" json:"readOnly" yaml:"readOnly"`
}

type RosFunction_OssMountConfigProperty

type RosFunction_OssMountConfigProperty struct {
	MountPoints interface{} `field:"optional" json:"mountPoints" yaml:"mountPoints"`
}

type RosFunction_PreStopProperty

type RosFunction_PreStopProperty struct {
	Handler interface{} `field:"optional" json:"handler" yaml:"handler"`
	Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"`
}

type RosFunction_RegistryConfigProperty added in v1.6.0

type RosFunction_RegistryConfigProperty struct {
	CertConfig    interface{} `field:"required" json:"certConfig" yaml:"certConfig"`
	AuthConfig    interface{} `field:"optional" json:"authConfig" yaml:"authConfig"`
	NetworkConfig interface{} `field:"optional" json:"networkConfig" yaml:"networkConfig"`
}

type RosFunction_TracingConfigProperty

type RosFunction_TracingConfigProperty struct {
	Params interface{} `field:"optional" json:"params" yaml:"params"`
	Type   interface{} `field:"optional" json:"type" yaml:"type"`
}

type RosFunction_VpcConfigProperty

type RosFunction_VpcConfigProperty struct {
	SecurityGroupId interface{} `field:"optional" json:"securityGroupId" yaml:"securityGroupId"`
	VpcId           interface{} `field:"optional" json:"vpcId" yaml:"vpcId"`
	VSwitchIds      interface{} `field:"optional" json:"vSwitchIds" yaml:"vSwitchIds"`
}

type RosProvisionConfig added in v1.6.0

type RosProvisionConfig interface {
	alicloudroscdkcore.RosResource
	AlwaysAllocateCpu() interface{}
	SetAlwaysAllocateCpu(val interface{})
	AlwaysAllocateGpu() interface{}
	SetAlwaysAllocateGpu(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	DefaultTarget() interface{}
	SetDefaultTarget(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	FunctionName() interface{}
	SetFunctionName(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	Qualifier() interface{}
	SetQualifier(val interface{})
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	ScheduledActions() interface{}
	SetScheduledActions(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	TargetTrackingPolicies() interface{}
	SetTargetTrackingPolicies(val interface{})
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::FC3::ProvisionConfig`.

func NewRosProvisionConfig added in v1.6.0

func NewRosProvisionConfig(scope alicloudroscdkcore.Construct, id *string, props *RosProvisionConfigProps, enableResourcePropertyConstraint *bool) RosProvisionConfig

type RosProvisionConfigProps added in v1.6.0

type RosProvisionConfigProps struct {
	DefaultTarget          interface{} `field:"required" json:"defaultTarget" yaml:"defaultTarget"`
	FunctionName           interface{} `field:"required" json:"functionName" yaml:"functionName"`
	AlwaysAllocateCpu      interface{} `field:"optional" json:"alwaysAllocateCpu" yaml:"alwaysAllocateCpu"`
	AlwaysAllocateGpu      interface{} `field:"optional" json:"alwaysAllocateGpu" yaml:"alwaysAllocateGpu"`
	Qualifier              interface{} `field:"optional" json:"qualifier" yaml:"qualifier"`
	ScheduledActions       interface{} `field:"optional" json:"scheduledActions" yaml:"scheduledActions"`
	TargetTrackingPolicies interface{} `field:"optional" json:"targetTrackingPolicies" yaml:"targetTrackingPolicies"`
}

Properties for defining a `RosProvisionConfig`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-provisionconfig

type RosProvisionConfig_ScheduledActionsProperty added in v1.6.0

type RosProvisionConfig_ScheduledActionsProperty struct {
	Name               interface{} `field:"required" json:"name" yaml:"name"`
	Target             interface{} `field:"required" json:"target" yaml:"target"`
	EndTime            interface{} `field:"optional" json:"endTime" yaml:"endTime"`
	ScheduleExpression interface{} `field:"optional" json:"scheduleExpression" yaml:"scheduleExpression"`
	StartTime          interface{} `field:"optional" json:"startTime" yaml:"startTime"`
	TimeZone           interface{} `field:"optional" json:"timeZone" yaml:"timeZone"`
}

type RosProvisionConfig_TargetTrackingPoliciesProperty added in v1.6.0

type RosProvisionConfig_TargetTrackingPoliciesProperty struct {
	MaxCapacity  interface{} `field:"required" json:"maxCapacity" yaml:"maxCapacity"`
	MetricTarget interface{} `field:"required" json:"metricTarget" yaml:"metricTarget"`
	MetricType   interface{} `field:"required" json:"metricType" yaml:"metricType"`
	MinCapacity  interface{} `field:"required" json:"minCapacity" yaml:"minCapacity"`
	Name         interface{} `field:"required" json:"name" yaml:"name"`
	EndTime      interface{} `field:"optional" json:"endTime" yaml:"endTime"`
	StartTime    interface{} `field:"optional" json:"startTime" yaml:"startTime"`
	TimeZone     interface{} `field:"optional" json:"timeZone" yaml:"timeZone"`
}

type RosTrigger

type RosTrigger interface {
	alicloudroscdkcore.RosResource
	AttrFunctionName() alicloudroscdkcore.IResolvable
	AttrTriggerId() alicloudroscdkcore.IResolvable
	AttrTriggerName() alicloudroscdkcore.IResolvable
	AttrUrlInternet() alicloudroscdkcore.IResolvable
	AttrUrlIntranet() alicloudroscdkcore.IResolvable
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Description() interface{}
	SetDescription(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	FunctionName() interface{}
	SetFunctionName(val interface{})
	InvocationRole() interface{}
	SetInvocationRole(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	Qualifier() interface{}
	SetQualifier(val interface{})
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SourceArn() interface{}
	SetSourceArn(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	TriggerConfig() interface{}
	SetTriggerConfig(val interface{})
	TriggerName() interface{}
	SetTriggerName(val interface{})
	TriggerType() interface{}
	SetTriggerType(val interface{})
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::FC3::Trigger`.

func NewRosTrigger

func NewRosTrigger(scope alicloudroscdkcore.Construct, id *string, props *RosTriggerProps, enableResourcePropertyConstraint *bool) RosTrigger

type RosTriggerProps

type RosTriggerProps struct {
	FunctionName   interface{} `field:"required" json:"functionName" yaml:"functionName"`
	TriggerConfig  interface{} `field:"required" json:"triggerConfig" yaml:"triggerConfig"`
	TriggerName    interface{} `field:"required" json:"triggerName" yaml:"triggerName"`
	TriggerType    interface{} `field:"required" json:"triggerType" yaml:"triggerType"`
	Description    interface{} `field:"optional" json:"description" yaml:"description"`
	InvocationRole interface{} `field:"optional" json:"invocationRole" yaml:"invocationRole"`
	Qualifier      interface{} `field:"optional" json:"qualifier" yaml:"qualifier"`
	SourceArn      interface{} `field:"optional" json:"sourceArn" yaml:"sourceArn"`
}

Properties for defining a `RosTrigger`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-trigger

type Trigger

type Trigger interface {
	alicloudroscdkcore.Resource
	ITrigger
	// Attribute FunctionName: Function name.
	AttrFunctionName() interface{}
	// Attribute TriggerId: The trigger ID.
	AttrTriggerId() interface{}
	// Attribute TriggerName: Trigger name.
	AttrTriggerName() interface{}
	// Attribute UrlInternet: The public domain address.
	//
	// You can access HTTP triggers over the Internet by using HTTP or HTTPS.
	AttrUrlInternet() interface{}
	// Attribute UrlIntranet: The private endpoint.
	//
	// In a VPC, you can access HTTP triggers by using HTTP or HTTPS.
	AttrUrlIntranet() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *TriggerProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::FC3::Trigger`.

func NewTrigger

func NewTrigger(scope alicloudroscdkcore.Construct, id *string, props *TriggerProps, enableResourcePropertyConstraint *bool) Trigger

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type TriggerProps

type TriggerProps struct {
	// Property functionName: The name of the function.
	FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"`
	// Property triggerConfig: Trigger config.
	TriggerConfig interface{} `field:"required" json:"triggerConfig" yaml:"triggerConfig"`
	// Property triggerName: Name of the trigger.
	TriggerName interface{} `field:"required" json:"triggerName" yaml:"triggerName"`
	// Property triggerType: Type of the trigger.
	TriggerType interface{} `field:"required" json:"triggerType" yaml:"triggerType"`
	// Property description: Description of the trigger.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
	// Property invocationRole: Invocation role.
	InvocationRole interface{} `field:"optional" json:"invocationRole" yaml:"invocationRole"`
	// Property qualifier: Qualifier of the trigger.
	Qualifier interface{} `field:"optional" json:"qualifier" yaml:"qualifier"`
	// Property sourceArn: Source ARN of the trigger.
	SourceArn interface{} `field:"optional" json:"sourceArn" yaml:"sourceArn"`
}

Properties for defining a `Trigger`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-trigger

Source Files

Directories

Path Synopsis
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL