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 ¶
- func Alias_IsConstruct(x interface{}) *bool
- func CustomDomain_IsConstruct(x interface{}) *bool
- func FunctionInvoker_IsConstruct(x interface{}) *bool
- func Function_IsConstruct(x interface{}) *bool
- func Layer_IsConstruct(x interface{}) *bool
- func NewAlias_Override(a Alias, scope alicloudroscdkcore.Construct, id *string, props *AliasProps, ...)
- func NewCustomDomain_Override(c CustomDomain, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewFunctionInvoker_Override(f FunctionInvoker, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewFunction_Override(f Function, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewLayer_Override(l Layer, scope alicloudroscdkcore.Construct, id *string, props *LayerProps, ...)
- func NewProvisionConfig_Override(p ProvisionConfig, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAlias_Override(r RosAlias, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosCustomDomain_Override(r RosCustomDomain, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosFunctionInvoker_Override(r RosFunctionInvoker, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosFunction_Override(r RosFunction, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLayer_Override(r RosLayer, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosProvisionConfig_Override(r RosProvisionConfig, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosService_Override(r RosService, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosTrigger_Override(r RosTrigger, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosVersion_Override(r RosVersion, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewService_Override(s Service, scope alicloudroscdkcore.Construct, id *string, props *ServiceProps, ...)
- func NewTrigger_Override(t Trigger, scope alicloudroscdkcore.Construct, id *string, props *TriggerProps, ...)
- func NewVersion_Override(v Version, scope alicloudroscdkcore.Construct, id *string, props *VersionProps, ...)
- func ProvisionConfig_IsConstruct(x interface{}) *bool
- func RosAlias_IsConstruct(x interface{}) *bool
- func RosAlias_IsRosElement(x interface{}) *bool
- func RosAlias_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAlias_ROS_RESOURCE_TYPE_NAME() *string
- func RosCustomDomain_IsConstruct(x interface{}) *bool
- func RosCustomDomain_IsRosElement(x interface{}) *bool
- func RosCustomDomain_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosCustomDomain_ROS_RESOURCE_TYPE_NAME() *string
- func RosFunctionInvoker_IsConstruct(x interface{}) *bool
- func RosFunctionInvoker_IsRosElement(x interface{}) *bool
- func RosFunctionInvoker_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosFunctionInvoker_ROS_RESOURCE_TYPE_NAME() *string
- func RosFunction_IsConstruct(x interface{}) *bool
- func RosFunction_IsRosElement(x interface{}) *bool
- func RosFunction_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosFunction_ROS_RESOURCE_TYPE_NAME() *string
- func RosLayer_IsConstruct(x interface{}) *bool
- func RosLayer_IsRosElement(x interface{}) *bool
- func RosLayer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLayer_ROS_RESOURCE_TYPE_NAME() *string
- func RosProvisionConfig_IsConstruct(x interface{}) *bool
- func RosProvisionConfig_IsRosElement(x interface{}) *bool
- func RosProvisionConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosProvisionConfig_ROS_RESOURCE_TYPE_NAME() *string
- func RosService_IsConstruct(x interface{}) *bool
- func RosService_IsRosElement(x interface{}) *bool
- func RosService_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosService_ROS_RESOURCE_TYPE_NAME() *string
- func RosTrigger_IsConstruct(x interface{}) *bool
- func RosTrigger_IsRosElement(x interface{}) *bool
- func RosTrigger_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosTrigger_ROS_RESOURCE_TYPE_NAME() *string
- func RosVersion_IsConstruct(x interface{}) *bool
- func RosVersion_IsRosElement(x interface{}) *bool
- func RosVersion_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVersion_ROS_RESOURCE_TYPE_NAME() *string
- func Service_IsConstruct(x interface{}) *bool
- func Trigger_IsConstruct(x interface{}) *bool
- func Version_IsConstruct(x interface{}) *bool
- type Alias
- type AliasProps
- type CustomDomain
- type CustomDomainProps
- type Function
- type FunctionInvoker
- type FunctionInvokerProps
- type FunctionProps
- type IAlias
- type ICustomDomain
- type IFunction
- type IFunctionInvoker
- type ILayer
- type IProvisionConfig
- type IService
- type ITrigger
- type IVersion
- type Layer
- type LayerProps
- type ProvisionConfig
- type ProvisionConfigProps
- type RosAlias
- type RosAliasProps
- type RosCustomDomain
- type RosCustomDomainProps
- type RosCustomDomain_CertConfigProperty
- type RosCustomDomain_RouteConfigProperty
- type RosCustomDomain_RoutesProperty
- type RosFunction
- type RosFunctionInvoker
- type RosFunctionInvokerProps
- type RosFunctionProps
- type RosFunction_AsyncConfigurationProperty
- type RosFunction_CodeProperty
- type RosFunction_CustomContainerConfigProperty
- type RosFunction_CustomDNSProperty
- type RosFunction_CustomHealthCheckConfigProperty
- type RosFunction_CustomRuntimeConfigProperty
- type RosFunction_DestinationProperty
- type RosFunction_DnsOptionsProperty
- type RosFunction_InstanceLifecycleConfigProperty
- type RosFunction_PreFreezeProperty
- type RosFunction_PreStopProperty
- type RosLayer
- type RosLayerProps
- type RosLayer_CodeProperty
- type RosProvisionConfig
- type RosProvisionConfigProps
- type RosService
- type RosServiceProps
- type RosService_LogConfigProperty
- type RosService_MountPointsProperty
- type RosService_NasConfigProperty
- type RosService_OssMountConfigMountPointsProperty
- type RosService_OssMountConfigProperty
- type RosService_TagsProperty
- type RosService_TracingConfigProperty
- type RosService_VpcConfigProperty
- type RosTrigger
- type RosTriggerProps
- type RosVersion
- type RosVersionProps
- type Service
- type ServiceProps
- type Trigger
- type TriggerProps
- type Version
- type VersionProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alias_IsConstruct ¶
func Alias_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func CustomDomain_IsConstruct ¶
func CustomDomain_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func FunctionInvoker_IsConstruct ¶
func FunctionInvoker_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 Layer_IsConstruct ¶
func Layer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewAlias_Override ¶
func NewAlias_Override(a Alias, scope alicloudroscdkcore.Construct, id *string, props *AliasProps, 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 ¶
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 NewFunctionInvoker_Override ¶
func NewFunctionInvoker_Override(f FunctionInvoker, scope alicloudroscdkcore.Construct, id *string, props *FunctionInvokerProps, 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 NewLayer_Override ¶
func NewLayer_Override(l Layer, scope alicloudroscdkcore.Construct, id *string, props *LayerProps, 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 ¶
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 NewRosAlias_Override ¶
func NewRosAlias_Override(r RosAlias, scope alicloudroscdkcore.Construct, id *string, props *RosAliasProps, enableResourcePropertyConstraint *bool)
func NewRosCustomDomain_Override ¶
func NewRosCustomDomain_Override(r RosCustomDomain, scope alicloudroscdkcore.Construct, id *string, props *RosCustomDomainProps, enableResourcePropertyConstraint *bool)
func NewRosFunctionInvoker_Override ¶
func NewRosFunctionInvoker_Override(r RosFunctionInvoker, scope alicloudroscdkcore.Construct, id *string, props *RosFunctionInvokerProps, enableResourcePropertyConstraint *bool)
func NewRosFunction_Override ¶
func NewRosFunction_Override(r RosFunction, scope alicloudroscdkcore.Construct, id *string, props *RosFunctionProps, enableResourcePropertyConstraint *bool)
func NewRosLayer_Override ¶
func NewRosLayer_Override(r RosLayer, scope alicloudroscdkcore.Construct, id *string, props *RosLayerProps, enableResourcePropertyConstraint *bool)
func NewRosProvisionConfig_Override ¶
func NewRosProvisionConfig_Override(r RosProvisionConfig, scope alicloudroscdkcore.Construct, id *string, props *RosProvisionConfigProps, enableResourcePropertyConstraint *bool)
func NewRosService_Override ¶
func NewRosService_Override(r RosService, scope alicloudroscdkcore.Construct, id *string, props *RosServiceProps, enableResourcePropertyConstraint *bool)
func NewRosTrigger_Override ¶
func NewRosTrigger_Override(r RosTrigger, scope alicloudroscdkcore.Construct, id *string, props *RosTriggerProps, enableResourcePropertyConstraint *bool)
func NewRosVersion_Override ¶
func NewRosVersion_Override(r RosVersion, scope alicloudroscdkcore.Construct, id *string, props *RosVersionProps, enableResourcePropertyConstraint *bool)
func NewService_Override ¶
func NewService_Override(s Service, scope alicloudroscdkcore.Construct, id *string, props *ServiceProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
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 NewVersion_Override ¶
func NewVersion_Override(v Version, scope alicloudroscdkcore.Construct, id *string, props *VersionProps, 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 ¶
func ProvisionConfig_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAlias_IsConstruct ¶
func RosAlias_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAlias_IsRosElement ¶
func RosAlias_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 RosAlias_IsRosResource ¶
func RosAlias_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAlias_ROS_RESOURCE_TYPE_NAME ¶
func RosAlias_ROS_RESOURCE_TYPE_NAME() *string
func RosCustomDomain_IsConstruct ¶
func RosCustomDomain_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosCustomDomain_IsRosElement ¶
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 ¶
func RosCustomDomain_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosCustomDomain_ROS_RESOURCE_TYPE_NAME ¶
func RosCustomDomain_ROS_RESOURCE_TYPE_NAME() *string
func RosFunctionInvoker_IsConstruct ¶
func RosFunctionInvoker_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosFunctionInvoker_IsRosElement ¶
func RosFunctionInvoker_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 RosFunctionInvoker_IsRosResource ¶
func RosFunctionInvoker_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosFunctionInvoker_ROS_RESOURCE_TYPE_NAME ¶
func RosFunctionInvoker_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 RosLayer_IsConstruct ¶
func RosLayer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLayer_IsRosElement ¶
func RosLayer_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 RosLayer_IsRosResource ¶
func RosLayer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLayer_ROS_RESOURCE_TYPE_NAME ¶
func RosLayer_ROS_RESOURCE_TYPE_NAME() *string
func RosProvisionConfig_IsConstruct ¶
func RosProvisionConfig_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosProvisionConfig_IsRosElement ¶
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 ¶
func RosProvisionConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosProvisionConfig_ROS_RESOURCE_TYPE_NAME ¶
func RosProvisionConfig_ROS_RESOURCE_TYPE_NAME() *string
func RosService_IsConstruct ¶
func RosService_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosService_IsRosElement ¶
func RosService_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 RosService_IsRosResource ¶
func RosService_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosService_ROS_RESOURCE_TYPE_NAME ¶
func RosService_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 RosVersion_IsConstruct ¶
func RosVersion_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVersion_IsRosElement ¶
func RosVersion_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 RosVersion_IsRosResource ¶
func RosVersion_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVersion_ROS_RESOURCE_TYPE_NAME ¶
func RosVersion_ROS_RESOURCE_TYPE_NAME() *string
func Service_IsConstruct ¶
func Service_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Trigger_IsConstruct ¶
func Trigger_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Version_IsConstruct ¶
func Version_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
Types ¶
type Alias ¶
type Alias interface { alicloudroscdkcore.Resource IAlias // Attribute AliasName: The alias name. AttrAliasName() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute VersionId: The version ID. AttrVersionId() 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() *AliasProps 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::FC::Alias`, which is used to create an Alias.
func NewAlias ¶
func NewAlias(scope alicloudroscdkcore.Construct, id *string, props *AliasProps, enableResourcePropertyConstraint *bool) Alias
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AliasProps ¶
type AliasProps struct { // Property aliasName: Alias name. AliasName interface{} `field:"required" json:"aliasName" yaml:"aliasName"` // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property additionalVersion: Additional version. AdditionalVersion interface{} `field:"optional" json:"additionalVersion" yaml:"additionalVersion"` // Property additionalWeight: Traffic weight of additional version. // // From 0 to 100. AdditionalWeight interface{} `field:"optional" json:"additionalWeight" yaml:"additionalWeight"` // Property description: Version description. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property versionId: Version ID. VersionId interface{} `field:"optional" json:"versionId" yaml:"versionId"` }
Properties for defining a `Alias`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-alias
type CustomDomain ¶
type CustomDomain interface { alicloudroscdkcore.Resource ICustomDomain // Attribute Domain: The domain with protocol. AttrDomain() interface{} // 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::FC::CustomDomain`, which is used to create a custom domain name.
func NewCustomDomain ¶
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 ¶
type CustomDomainProps struct { // Property domainName: domain name. DomainName interface{} `field:"required" json:"domainName" yaml:"domainName"` // Property protocol: HTTP or HTTP,HTTPS. Protocol interface{} `field:"required" json:"protocol" yaml:"protocol"` // Property apiVersion: api version. ApiVersion interface{} `field:"optional" json:"apiVersion" yaml:"apiVersion"` // Property certConfig: certificate info. 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"` }
Properties for defining a `CustomDomain`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-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{} // Attribute ServiceId: The service ID. AttrServiceId() interface{} // Attribute ServiceName: The service name. AttrServiceName() 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) // Loads the fcFunction code from a local disk path. CodeFromAsset(path *string) // Function handler code as an OSS object. CodeFromBucket(bucket alicloudroscdkoss.Bucket, key *string) // Inline code for FC fcFunction handler. CodeFromInline(code *string) 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::FC::Function`, which is used to create a function.
A function must belong to a service. All functions of a service share the same attributes as the service, such as the service authorization and log configurations.
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 FunctionInvoker ¶
type FunctionInvoker interface { alicloudroscdkcore.Resource IFunctionInvoker // Attribute Result: Depends on result type: NoResult: Async invoke has no result. // // Success: The response of the function. The response should be utf-8 encoded string, otherwise ROS will report an error. If the response is binary, encode it via base64 before it is returned. // Failure: Error Message. AttrResult() interface{} // Attribute ResultType: Result type: NoResult: Async invoke has no result. // // Success: Sync invoke succeeds. // Failure: Sync invoke fails. AttrResultType() 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() *FunctionInvokerProps 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::FC::FunctionInvoker`, which is used to invoke a function.
func NewFunctionInvoker ¶
func NewFunctionInvoker(scope alicloudroscdkcore.Construct, id *string, props *FunctionInvokerProps, enableResourcePropertyConstraint *bool) FunctionInvoker
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type FunctionInvokerProps ¶
type FunctionInvokerProps struct { // Property functionName: Function name. FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property async: Invocation type, Sync or Async. // // Defaults to Sync. Async interface{} `field:"optional" json:"async" yaml:"async"` // Property checkError: Whether check error for function invocation result. // // If set true and function invocation result has error, the resource creation will be regard as failed. // Default is false. CheckError interface{} `field:"optional" json:"checkError" yaml:"checkError"` // Property event: This value is passed to function as utf-8 encoded string.It’s function’s responsibility to interpret the value. If the value needs to be binary, encode it via base64 before passing to this property. Event interface{} `field:"optional" json:"event" yaml:"event"` // Property executeVersion: If the property is not specified for creation and update, the function will not be invoked. // // The change of the property leads to the invoke of the function. ExecuteVersion interface{} `field:"optional" json:"executeVersion" yaml:"executeVersion"` // Property qualifier: service version, can be versionId or aliasName. Qualifier interface{} `field:"optional" json:"qualifier" yaml:"qualifier"` // Property serviceRegionId: Which region service belongs to. ServiceRegionId interface{} `field:"optional" json:"serviceRegionId" yaml:"serviceRegionId"` }
Properties for defining a `FunctionInvoker`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-functioninvoker
type FunctionProps ¶
type FunctionProps struct { // Property functionName: Function name. FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` // Property handler: The function execution entry point. Handler interface{} `field:"required" json:"handler" yaml:"handler"` // Property runtime: The function runtime environment. // // Supporting nodejs16、nodejs14、nodejs12、nodejs10、nodejs8、nodejs6、nodejs4.4、python3.10、python3.9、python3、python2.7、java11、java8、go1、php7.2、dotnetcore3.1、dotnetcore2.1、custom.debian10、custom和custom-container and so on Runtime interface{} `field:"required" json:"runtime" yaml:"runtime"` // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property asyncConfiguration: Configuration of asynchronous function calls. AsyncConfiguration interface{} `field:"optional" json:"asyncConfiguration" yaml:"asyncConfiguration"` // Property caPort: Custom runtime and custom container runtime dedicated fields, which represent the port that the started custom http server listens to. // // The default value is 9000. CaPort interface{} `field:"optional" json:"caPort" yaml:"caPort"` // Property code: The code that contains the function implementation. Code interface{} `field:"optional" json:"code" yaml:"code"` // Property cpu: The number of vCPUs of the function. // // The value must be a multiple of 0.05. Cpu interface{} `field:"optional" json:"cpu" yaml:"cpu"` // Property customContainerConfig: Custom container runtime related configuration. // // After configuration, the function can be replaced with a custom container to execute the function. CustomContainerConfig interface{} `field:"optional" json:"customContainerConfig" yaml:"customContainerConfig"` // Property customDns: The custom DNS configurations of the function. CustomDns interface{} `field:"optional" json:"customDns" yaml:"customDns"` // Property customHealthCheckConfig: The health check configurations for the custom runtime and custom container. CustomHealthCheckConfig interface{} `field:"optional" json:"customHealthCheckConfig" yaml:"customHealthCheckConfig"` // Property customRuntimeConfig: Custom runtime related 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. // // Unit: MB. Valid values: 512 and 10240. DiskSize interface{} `field:"optional" json:"diskSize" yaml:"diskSize"` // Property environmentVariables: The environment variable set for the function, you can get the value of the environment variable in the function. EnvironmentVariables interface{} `field:"optional" json:"environmentVariables" yaml:"environmentVariables"` // Property gpuMemorySize: The GPU memory capacity for the function. // // Unit: MB. The value must be a multiple of 1,024. GpuMemorySize interface{} `field:"optional" json:"gpuMemorySize" yaml:"gpuMemorySize"` // Property initializationTimeout: the max execution time of the initializer, in second. InitializationTimeout interface{} `field:"optional" json:"initializationTimeout" yaml:"initializationTimeout"` // Property initializer: the entry point of the initializer. Initializer interface{} `field:"optional" json:"initializer" yaml:"initializer"` // Property instanceConcurrency: Function instance concurrency. // // Value can be between 1 to 100. InstanceConcurrency interface{} `field:"optional" json:"instanceConcurrency" yaml:"instanceConcurrency"` // Property instanceLifecycleConfig: The configuration of the instance lifecycle function. InstanceLifecycleConfig interface{} `field:"optional" json:"instanceLifecycleConfig" yaml:"instanceLifecycleConfig"` // Property instanceSoftConcurrency: The soft concurrency of the instance. // // You can use this parameter to implement graceful scale-up of instances. If the number of concurrent requests on an instance is greater than the value of soft concurrency, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.The value must be less than or equal to that of the instanceConcurrency parameter. InstanceSoftConcurrency interface{} `field:"optional" json:"instanceSoftConcurrency" yaml:"instanceSoftConcurrency"` // Property instanceType: Instance type. // // Value:e1: flexible instance. Memory size between 128 and 3072c1: performance instance. Memory size allow values are 4096, 8192, 16384 and 32768 InstanceType interface{} `field:"optional" json:"instanceType" yaml:"instanceType"` // Property memorySize: The amount of memory that’s used to run function, in MB. // // Function Compute uses this value to allocate CPU resources proportionally. Defaults to 128 MB. It can be multiple of 64 MB and between 128 MB and 3072 MB. MemorySize interface{} `field:"optional" json:"memorySize" yaml:"memorySize"` // Property timeout: The maximum time duration a function can run, in seconds. // // After which Function Compute terminates the execution. Defaults to 3 seconds, and can be between 1 to 86400 seconds. Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"` }
Properties for defining a `Function`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-function
type IAlias ¶ added in v1.6.0
type IAlias interface { alicloudroscdkcore.IResource // Attribute AliasName: The alias name. AttrAliasName() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute VersionId: The version ID. AttrVersionId() interface{} Props() *AliasProps }
Represents a `Alias`.
type ICustomDomain ¶ added in v1.6.0
type ICustomDomain interface { alicloudroscdkcore.IResource // Attribute Domain: The domain with protocol. AttrDomain() interface{} // 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{} // Attribute ServiceId: The service ID. AttrServiceId() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} Props() *FunctionProps }
Represents a `Function`.
type IFunctionInvoker ¶ added in v1.6.0
type IFunctionInvoker interface { alicloudroscdkcore.IResource // Attribute Result: Depends on result type: NoResult: Async invoke has no result. // // Success: The response of the function. The response should be utf-8 encoded string, otherwise ROS will report an error. If the response is binary, encode it via base64 before it is returned. // Failure: Error Message. AttrResult() interface{} // Attribute ResultType: Result type: NoResult: Async invoke has no result. // // Success: Sync invoke succeeds. // Failure: Sync invoke fails. AttrResultType() interface{} Props() *FunctionInvokerProps }
Represents a `FunctionInvoker`.
type ILayer ¶ added in v1.6.0
type ILayer interface { alicloudroscdkcore.IResource // Attribute Arn: The name of the layer resource. AttrArn() interface{} // Attribute LayerName: The name of layer. AttrLayerName() interface{} // Attribute Version: The version of the layer resource. AttrVersion() interface{} Props() *LayerProps }
Represents a `Layer`.
type IProvisionConfig ¶ added in v1.6.0
type IProvisionConfig interface { alicloudroscdkcore.IResource // Attribute FunctionName: The function name. AttrFunctionName() interface{} // Attribute Qualifier: The service alias. AttrQualifier() interface{} // Attribute Resource: The resource. AttrResource() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute Target: Number of provision. AttrTarget() interface{} Props() *ProvisionConfigProps }
Represents a `ProvisionConfig`.
type IService ¶ added in v1.6.0
type IService interface { alicloudroscdkcore.IResource // Attribute InternetAccess: Whether enable Internet access. AttrInternetAccess() interface{} // Attribute LogProject: Log project of service. AttrLogProject() interface{} // Attribute Logstore: Log store of service. AttrLogstore() interface{} // Attribute Role: Role of service. AttrRole() interface{} // Attribute ServiceId: The service ID. AttrServiceId() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute Tags: Tags of service. AttrTags() interface{} // Attribute VpcId: VPC ID. AttrVpcId() interface{} Props() *ServiceProps }
Represents a `Service`.
type ITrigger ¶ added in v1.6.0
type ITrigger interface { alicloudroscdkcore.IResource // Attribute FunctionName: Function name. AttrFunctionName() interface{} // Attribute ServiceName: Service name. AttrServiceName() 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 IVersion ¶ added in v1.6.0
type IVersion interface { alicloudroscdkcore.IResource // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute VersionId: The version ID. AttrVersionId() interface{} Props() *VersionProps }
Represents a `Version`.
type Layer ¶
type Layer interface { alicloudroscdkcore.Resource ILayer // Attribute Arn: The name of the layer resource. AttrArn() interface{} // Attribute LayerName: The name of layer. AttrLayerName() interface{} // Attribute Version: The version of the layer resource. AttrVersion() 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() *LayerProps 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::FC::Layer`, which is used to release a layer version.
func NewLayer ¶
func NewLayer(scope alicloudroscdkcore.Construct, id *string, props *LayerProps, enableResourcePropertyConstraint *bool) Layer
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type LayerProps ¶
type LayerProps struct { // Property code: The code of layer. Code interface{} `field:"required" json:"code" yaml:"code"` // Property compatibleRuntime: The runtime environment supported by the layer. // // For example:nodejs12, nodejs10, nodejs8, nodejs6, python3, and python2.7 CompatibleRuntime interface{} `field:"required" json:"compatibleRuntime" yaml:"compatibleRuntime"` // Property layerName: The name of layer. LayerName interface{} `field:"required" json:"layerName" yaml:"layerName"` // Property description: The description of the layer. Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `Layer`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-layer
type ProvisionConfig ¶
type ProvisionConfig interface { alicloudroscdkcore.Resource IProvisionConfig // Attribute FunctionName: The function name. AttrFunctionName() interface{} // Attribute Qualifier: The service alias. AttrQualifier() interface{} // Attribute Resource: The resource. AttrResource() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute Target: Number of provision. AttrTarget() 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() *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::FC::ProvisionConfig`, which is used to create provisioned instances in Function Compute.
func NewProvisionConfig ¶
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 ¶
type ProvisionConfigProps struct { // Property functionName: Function name. FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` // Property qualifier: Service's alias. // // Example : "LATEST". Qualifier interface{} `field:"required" json:"qualifier" yaml:"qualifier"` // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property target: Number of provision. Target interface{} `field:"required" json:"target" yaml:"target"` }
Properties for defining a `ProvisionConfig`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-provisionconfig
type RosAlias ¶
type RosAlias interface { alicloudroscdkcore.RosResource AdditionalVersion() interface{} SetAdditionalVersion(val interface{}) AdditionalWeight() interface{} SetAdditionalWeight(val interface{}) AliasName() interface{} SetAliasName(val interface{}) AttrAliasName() alicloudroscdkcore.IResolvable AttrServiceName() alicloudroscdkcore.IResolvable AttrVersionId() 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) // 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 // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string ServiceName() interface{} SetServiceName(val interface{}) // 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{} VersionId() interface{} SetVersionId(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::FC::Alias`, which is used to create an Alias.
func NewRosAlias ¶
func NewRosAlias(scope alicloudroscdkcore.Construct, id *string, props *RosAliasProps, enableResourcePropertyConstraint *bool) RosAlias
type RosAliasProps ¶
type RosAliasProps struct { AliasName interface{} `field:"required" json:"aliasName" yaml:"aliasName"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` AdditionalVersion interface{} `field:"optional" json:"additionalVersion" yaml:"additionalVersion"` AdditionalWeight interface{} `field:"optional" json:"additionalWeight" yaml:"additionalWeight"` Description interface{} `field:"optional" json:"description" yaml:"description"` VersionId interface{} `field:"optional" json:"versionId" yaml:"versionId"` }
Properties for defining a `RosAlias`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-alias
type RosCustomDomain ¶
type RosCustomDomain interface { alicloudroscdkcore.RosResource ApiVersion() interface{} SetApiVersion(val interface{}) AttrDomain() alicloudroscdkcore.IResolvable AttrDomainName() alicloudroscdkcore.IResolvable 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 // 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::FC::CustomDomain`, which is used to create a custom domain name.
func NewRosCustomDomain ¶
func NewRosCustomDomain(scope alicloudroscdkcore.Construct, id *string, props *RosCustomDomainProps, enableResourcePropertyConstraint *bool) RosCustomDomain
type RosCustomDomainProps ¶
type RosCustomDomainProps struct { DomainName interface{} `field:"required" json:"domainName" yaml:"domainName"` Protocol interface{} `field:"required" json:"protocol" yaml:"protocol"` ApiVersion interface{} `field:"optional" json:"apiVersion" yaml:"apiVersion"` CertConfig interface{} `field:"optional" json:"certConfig" yaml:"certConfig"` RouteConfig interface{} `field:"optional" json:"routeConfig" yaml:"routeConfig"` }
Properties for defining a `RosCustomDomain`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-customdomain
type RosCustomDomain_CertConfigProperty ¶
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_RouteConfigProperty ¶
type RosCustomDomain_RouteConfigProperty struct {
Routes interface{} `field:"required" json:"routes" yaml:"routes"`
}
type RosCustomDomain_RoutesProperty ¶
type RosCustomDomain_RoutesProperty struct { FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` Path interface{} `field:"required" json:"path" yaml:"path"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` Qualifier interface{} `field:"optional" json:"qualifier" yaml:"qualifier"` }
type RosFunction ¶
type RosFunction interface { alicloudroscdkcore.RosResource AsyncConfiguration() interface{} SetAsyncConfiguration(val interface{}) AttrArn() alicloudroscdkcore.IResolvable AttrFunctionId() alicloudroscdkcore.IResolvable AttrFunctionName() alicloudroscdkcore.IResolvable AttrServiceId() alicloudroscdkcore.IResolvable AttrServiceName() alicloudroscdkcore.IResolvable CaPort() interface{} SetCaPort(val interface{}) 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{}) CustomHealthCheckConfig() interface{} SetCustomHealthCheckConfig(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{}) GpuMemorySize() interface{} SetGpuMemorySize(val interface{}) Handler() interface{} SetHandler(val interface{}) InitializationTimeout() interface{} SetInitializationTimeout(val interface{}) Initializer() interface{} SetInitializer(val interface{}) InstanceConcurrency() interface{} SetInstanceConcurrency(val interface{}) InstanceLifecycleConfig() interface{} SetInstanceLifecycleConfig(val interface{}) InstanceSoftConcurrency() interface{} SetInstanceSoftConcurrency(val interface{}) InstanceType() interface{} SetInstanceType(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{}) // 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 // 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{}) ServiceName() interface{} SetServiceName(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{}) // 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::FC::Function`, which is used to create a function.
A function must belong to a service. All functions of a service share the same attributes as the service, such as the service authorization and log configurations.
func NewRosFunction ¶
func NewRosFunction(scope alicloudroscdkcore.Construct, id *string, props *RosFunctionProps, enableResourcePropertyConstraint *bool) RosFunction
type RosFunctionInvoker ¶
type RosFunctionInvoker interface { alicloudroscdkcore.RosResource Async() interface{} SetAsync(val interface{}) AttrResult() alicloudroscdkcore.IResolvable AttrResultType() alicloudroscdkcore.IResolvable CheckError() interface{} SetCheckError(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 EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) Event() interface{} SetEvent(val interface{}) ExecuteVersion() interface{} SetExecuteVersion(val interface{}) 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 ServiceName() interface{} SetServiceName(val interface{}) ServiceRegionId() interface{} SetServiceRegionId(val interface{}) // 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::FC::FunctionInvoker`, which is used to invoke a function.
func NewRosFunctionInvoker ¶
func NewRosFunctionInvoker(scope alicloudroscdkcore.Construct, id *string, props *RosFunctionInvokerProps, enableResourcePropertyConstraint *bool) RosFunctionInvoker
type RosFunctionInvokerProps ¶
type RosFunctionInvokerProps struct { FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` Async interface{} `field:"optional" json:"async" yaml:"async"` CheckError interface{} `field:"optional" json:"checkError" yaml:"checkError"` Event interface{} `field:"optional" json:"event" yaml:"event"` ExecuteVersion interface{} `field:"optional" json:"executeVersion" yaml:"executeVersion"` Qualifier interface{} `field:"optional" json:"qualifier" yaml:"qualifier"` ServiceRegionId interface{} `field:"optional" json:"serviceRegionId" yaml:"serviceRegionId"` }
Properties for defining a `RosFunctionInvoker`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-functioninvoker
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"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` AsyncConfiguration interface{} `field:"optional" json:"asyncConfiguration" yaml:"asyncConfiguration"` CaPort interface{} `field:"optional" json:"caPort" yaml:"caPort"` 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"` CustomHealthCheckConfig interface{} `field:"optional" json:"customHealthCheckConfig" yaml:"customHealthCheckConfig"` 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"` GpuMemorySize interface{} `field:"optional" json:"gpuMemorySize" yaml:"gpuMemorySize"` InitializationTimeout interface{} `field:"optional" json:"initializationTimeout" yaml:"initializationTimeout"` Initializer interface{} `field:"optional" json:"initializer" yaml:"initializer"` InstanceConcurrency interface{} `field:"optional" json:"instanceConcurrency" yaml:"instanceConcurrency"` InstanceLifecycleConfig interface{} `field:"optional" json:"instanceLifecycleConfig" yaml:"instanceLifecycleConfig"` InstanceSoftConcurrency interface{} `field:"optional" json:"instanceSoftConcurrency" yaml:"instanceSoftConcurrency"` InstanceType interface{} `field:"optional" json:"instanceType" yaml:"instanceType"` MemorySize interface{} `field:"optional" json:"memorySize" yaml:"memorySize"` Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"` }
Properties for defining a `RosFunction`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-function
type RosFunction_AsyncConfigurationProperty ¶
type RosFunction_AsyncConfigurationProperty struct { Destination interface{} `field:"optional" json:"destination" yaml:"destination"` MaxAsyncEventAgeInSeconds interface{} `field:"optional" json:"maxAsyncEventAgeInSeconds" yaml:"maxAsyncEventAgeInSeconds"` MaxAsyncRetryAttempts interface{} `field:"optional" json:"maxAsyncRetryAttempts" yaml:"maxAsyncRetryAttempts"` StatefulInvocation interface{} `field:"optional" json:"statefulInvocation" yaml:"statefulInvocation"` }
type RosFunction_CodeProperty ¶
type RosFunction_CodeProperty struct { 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 { Image interface{} `field:"required" json:"image" yaml:"image"` AccelerationType interface{} `field:"optional" json:"accelerationType" yaml:"accelerationType"` Args interface{} `field:"optional" json:"args" yaml:"args"` Command interface{} `field:"optional" json:"command" yaml:"command"` InstanceId interface{} `field:"optional" json:"instanceId" yaml:"instanceId"` WebServerMode interface{} `field:"optional" json:"webServerMode" yaml:"webServerMode"` }
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_CustomHealthCheckConfigProperty ¶
type RosFunction_CustomHealthCheckConfigProperty 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"` }
type RosFunction_DestinationProperty ¶
type RosFunction_DestinationProperty struct { OnFailure interface{} `field:"optional" json:"onFailure" yaml:"onFailure"` OnSuccess interface{} `field:"optional" json:"onSuccess" yaml:"onSuccess"` }
type RosFunction_DnsOptionsProperty ¶
type RosFunction_DnsOptionsProperty struct { Name interface{} `field:"required" json:"name" yaml:"name"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
type RosFunction_InstanceLifecycleConfigProperty ¶
type RosFunction_InstanceLifecycleConfigProperty struct { PreFreeze interface{} `field:"optional" json:"preFreeze" yaml:"preFreeze"` PreStop interface{} `field:"optional" json:"preStop" yaml:"preStop"` }
type RosFunction_PreFreezeProperty ¶
type RosFunction_PreFreezeProperty struct { Handler interface{} `field:"optional" json:"handler" yaml:"handler"` Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"` }
type RosFunction_PreStopProperty ¶
type RosFunction_PreStopProperty struct { Handler interface{} `field:"optional" json:"handler" yaml:"handler"` Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"` }
type RosLayer ¶
type RosLayer interface { alicloudroscdkcore.RosResource AttrArn() alicloudroscdkcore.IResolvable AttrLayerName() alicloudroscdkcore.IResolvable AttrVersion() alicloudroscdkcore.IResolvable Code() interface{} SetCode(val interface{}) CompatibleRuntime() interface{} SetCompatibleRuntime(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 Description() interface{} SetDescription(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) LayerName() interface{} SetLayerName(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 // 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::FC::Layer`, which is used to release a layer version.
func NewRosLayer ¶
func NewRosLayer(scope alicloudroscdkcore.Construct, id *string, props *RosLayerProps, enableResourcePropertyConstraint *bool) RosLayer
type RosLayerProps ¶
type RosLayerProps struct { Code interface{} `field:"required" json:"code" yaml:"code"` CompatibleRuntime interface{} `field:"required" json:"compatibleRuntime" yaml:"compatibleRuntime"` LayerName interface{} `field:"required" json:"layerName" yaml:"layerName"` Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `RosLayer`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-layer
type RosLayer_CodeProperty ¶
type RosLayer_CodeProperty struct { OssBucketName interface{} `field:"optional" json:"ossBucketName" yaml:"ossBucketName"` OssObjectName interface{} `field:"optional" json:"ossObjectName" yaml:"ossObjectName"` ZipFile interface{} `field:"optional" json:"zipFile" yaml:"zipFile"` }
type RosProvisionConfig ¶
type RosProvisionConfig interface { alicloudroscdkcore.RosResource AttrFunctionName() alicloudroscdkcore.IResolvable AttrQualifier() alicloudroscdkcore.IResolvable AttrResource() alicloudroscdkcore.IResolvable AttrServiceName() alicloudroscdkcore.IResolvable AttrTarget() 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 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 ServiceName() interface{} SetServiceName(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Target() interface{} SetTarget(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::FC::ProvisionConfig`, which is used to create provisioned instances in Function Compute.
func NewRosProvisionConfig ¶
func NewRosProvisionConfig(scope alicloudroscdkcore.Construct, id *string, props *RosProvisionConfigProps, enableResourcePropertyConstraint *bool) RosProvisionConfig
type RosProvisionConfigProps ¶
type RosProvisionConfigProps struct { FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` Qualifier interface{} `field:"required" json:"qualifier" yaml:"qualifier"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` Target interface{} `field:"required" json:"target" yaml:"target"` }
Properties for defining a `RosProvisionConfig`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-provisionconfig
type RosService ¶
type RosService interface { alicloudroscdkcore.RosResource AttrInternetAccess() alicloudroscdkcore.IResolvable AttrLogProject() alicloudroscdkcore.IResolvable AttrLogstore() alicloudroscdkcore.IResolvable AttrRole() alicloudroscdkcore.IResolvable AttrServiceId() alicloudroscdkcore.IResolvable AttrServiceName() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable AttrVpcId() 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 DeletionForce() interface{} SetDeletionForce(val interface{}) Description() interface{} SetDescription(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) InternetAccess() interface{} SetInternetAccess(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 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 ServiceName() interface{} SetServiceName(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Tags() *[]*RosService_TagsProperty SetTags(val *[]*RosService_TagsProperty) 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{} VpcBindings() interface{} SetVpcBindings(val 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::FC::Service`, which is used to create a service in Function Compute.
func NewRosService ¶
func NewRosService(scope alicloudroscdkcore.Construct, id *string, props *RosServiceProps, enableResourcePropertyConstraint *bool) RosService
type RosServiceProps ¶
type RosServiceProps struct { ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` DeletionForce interface{} `field:"optional" json:"deletionForce" yaml:"deletionForce"` Description interface{} `field:"optional" json:"description" yaml:"description"` InternetAccess interface{} `field:"optional" json:"internetAccess" yaml:"internetAccess"` LogConfig interface{} `field:"optional" json:"logConfig" yaml:"logConfig"` NasConfig interface{} `field:"optional" json:"nasConfig" yaml:"nasConfig"` OssMountConfig interface{} `field:"optional" json:"ossMountConfig" yaml:"ossMountConfig"` Role interface{} `field:"optional" json:"role" yaml:"role"` Tags *[]*RosService_TagsProperty `field:"optional" json:"tags" yaml:"tags"` TracingConfig interface{} `field:"optional" json:"tracingConfig" yaml:"tracingConfig"` VpcBindings interface{} `field:"optional" json:"vpcBindings" yaml:"vpcBindings"` VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"` }
Properties for defining a `RosService`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-service
type RosService_LogConfigProperty ¶
type RosService_LogConfigProperty struct { 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 RosService_MountPointsProperty ¶
type RosService_MountPointsProperty struct { MountDir interface{} `field:"required" json:"mountDir" yaml:"mountDir"` ServerAddr interface{} `field:"required" json:"serverAddr" yaml:"serverAddr"` }
type RosService_NasConfigProperty ¶
type RosService_NasConfigProperty struct { GroupId interface{} `field:"required" json:"groupId" yaml:"groupId"` MountPoints interface{} `field:"required" json:"mountPoints" yaml:"mountPoints"` UserId interface{} `field:"required" json:"userId" yaml:"userId"` }
type RosService_OssMountConfigMountPointsProperty ¶
type RosService_OssMountConfigMountPointsProperty struct { BucketName interface{} `field:"required" json:"bucketName" yaml:"bucketName"` BucketPath interface{} `field:"required" json:"bucketPath" yaml:"bucketPath"` EndPoint interface{} `field:"required" json:"endPoint" yaml:"endPoint"` MountDir interface{} `field:"required" json:"mountDir" yaml:"mountDir"` ReadOnly interface{} `field:"required" json:"readOnly" yaml:"readOnly"` }
type RosService_OssMountConfigProperty ¶
type RosService_OssMountConfigProperty struct {
MountPoints interface{} `field:"required" json:"mountPoints" yaml:"mountPoints"`
}
type RosService_TagsProperty ¶
type RosService_TagsProperty struct { Key interface{} `field:"required" json:"key" yaml:"key"` Value interface{} `field:"optional" json:"value" yaml:"value"` }
type RosService_TracingConfigProperty ¶
type RosService_TracingConfigProperty struct { Params interface{} `field:"optional" json:"params" yaml:"params"` Type interface{} `field:"optional" json:"type" yaml:"type"` }
type RosService_VpcConfigProperty ¶
type RosService_VpcConfigProperty struct { SecurityGroupId interface{} `field:"required" json:"securityGroupId" yaml:"securityGroupId"` VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"` VSwitchIds interface{} `field:"required" json:"vSwitchIds" yaml:"vSwitchIds"` ZoneId interface{} `field:"optional" json:"zoneId" yaml:"zoneId"` }
type RosTrigger ¶
type RosTrigger interface { alicloudroscdkcore.RosResource AttrFunctionName() alicloudroscdkcore.IResolvable AttrServiceName() 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 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 ServiceName() interface{} SetServiceName(val interface{}) 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::FC::Trigger`, which is used to trigger the invocation of a function.
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"` ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` TriggerConfig interface{} `field:"required" json:"triggerConfig" yaml:"triggerConfig"` TriggerName interface{} `field:"required" json:"triggerName" yaml:"triggerName"` TriggerType interface{} `field:"required" json:"triggerType" yaml:"triggerType"` 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-fc-trigger
type RosVersion ¶
type RosVersion interface { alicloudroscdkcore.RosResource AttrServiceName() alicloudroscdkcore.IResolvable AttrVersionId() 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) // 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 // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string ServiceName() interface{} SetServiceName(val interface{}) // 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::FC::Version`, which is used to release a Version.
func NewRosVersion ¶
func NewRosVersion(scope alicloudroscdkcore.Construct, id *string, props *RosVersionProps, enableResourcePropertyConstraint *bool) RosVersion
type RosVersionProps ¶
type RosVersionProps struct { ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `RosVersion`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-version
type Service ¶
type Service interface { alicloudroscdkcore.Resource IService // Attribute InternetAccess: Whether enable Internet access. AttrInternetAccess() interface{} // Attribute LogProject: Log project of service. AttrLogProject() interface{} // Attribute Logstore: Log store of service. AttrLogstore() interface{} // Attribute Role: Role of service. AttrRole() interface{} // Attribute ServiceId: The service ID. AttrServiceId() interface{} // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute Tags: Tags of service. AttrTags() interface{} // Attribute VpcId: VPC ID. AttrVpcId() 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() *ServiceProps 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::FC::Service`, which is used to create a service in Function Compute.
func NewService ¶
func NewService(scope alicloudroscdkcore.Construct, id *string, props *ServiceProps, enableResourcePropertyConstraint *bool) Service
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ServiceProps ¶
type ServiceProps struct { // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property deletionForce: Whether force delete the service without waiting for network interfaces to be cleaned up if VpcConfig is specified. // // Default value is false. DeletionForce interface{} `field:"optional" json:"deletionForce" yaml:"deletionForce"` // Property description: Service description. Description interface{} `field:"optional" json:"description" yaml:"description"` // Property internetAccess: Set it to true to enable Internet access. InternetAccess interface{} `field:"optional" json:"internetAccess" yaml:"internetAccess"` // Property logConfig: Log configuration. // // Function Compute pushes function execution logs to the configured log store. LogConfig interface{} `field:"optional" json:"logConfig" yaml:"logConfig"` // Property nasConfig: NAS configuration. // // Function Compute uses a specified NAS configured on the service. NasConfig interface{} `field:"optional" json:"nasConfig" yaml:"nasConfig"` // Property ossMountConfig: The OSS mount configurations. OssMountConfig interface{} `field:"optional" json:"ossMountConfig" yaml:"ossMountConfig"` // Property role: The role grants Function Compute the permission to access user’s cloud resources, such as pushing logs to user’s log store. // // The temporary STS token generated from this role can be retrieved from function context and used to access cloud resources. Role interface{} `field:"optional" json:"role" yaml:"role"` // Property tags: Tags to attach to service. // // Max support 20 tags to add during create service. Each tag with two properties Key and Value, and Key is required. Tags *[]*RosService_TagsProperty `field:"optional" json:"tags" yaml:"tags"` // Property tracingConfig: The Tracing Analysis configuration. // // After Function Compute integrates with Tracing Analysis, you can record the stay time of a request in Function Compute, view the cold start time for a function, and record the execution time of a function. TracingConfig interface{} `field:"optional" json:"tracingConfig" yaml:"tracingConfig"` // Property vpcBindings: Function Invocation only by Specified VPCs. // // By default, you can invoke the function by using the Internet endpoint and internal endpoint after a function is created. If you want the function to be invoked only by using specified VPCs, but not the Internet endpoint or internal endpoint, you must bind the specified VPCs to the service. VpcBindings interface{} `field:"optional" json:"vpcBindings" yaml:"vpcBindings"` // Property vpcConfig: VPC configuration. // // Function Compute uses the config to setup ENI in the specific VPC. VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"` }
Properties for defining a `Service`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-service
type Trigger ¶
type Trigger interface { alicloudroscdkcore.Resource ITrigger // Attribute FunctionName: Function name. AttrFunctionName() interface{} // Attribute ServiceName: Service name. AttrServiceName() 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::FC::Trigger`, which is used to trigger the invocation of a function.
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: Function name. FunctionName interface{} `field:"required" json:"functionName" yaml:"functionName"` // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property triggerConfig: Event source specific trigger configuration. // // The value is different according to trigger type. TriggerConfig interface{} `field:"required" json:"triggerConfig" yaml:"triggerConfig"` // Property triggerName: Trigger name. // // Example : "image_resize". TriggerName interface{} `field:"required" json:"triggerName" yaml:"triggerName"` // Property triggerType: Trigger type, e.g. oss, timer, logs. This determines how the trigger config is interpreted. Example : "oss". TriggerType interface{} `field:"required" json:"triggerType" yaml:"triggerType"` // Property invocationRole: The role grants event source the permission to run function on behalf of user. // // This is optional for some triggers. // Example : "acs:ram::1234567890:role\/fc-test". InvocationRole interface{} `field:"optional" json:"invocationRole" yaml:"invocationRole"` // Property qualifier: service version or alias. // // Example : "LATEST". Qualifier interface{} `field:"optional" json:"qualifier" yaml:"qualifier"` // Property sourceArn: The Aliyun Resource Name (ARN) of event source. // // This is optional for some triggers. // Example : "acs:oss:cn-shanghai:12345:mybucket". SourceArn interface{} `field:"optional" json:"sourceArn" yaml:"sourceArn"` }
Properties for defining a `Trigger`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-trigger
type Version ¶
type Version interface { alicloudroscdkcore.Resource IVersion // Attribute ServiceName: The service name. AttrServiceName() interface{} // Attribute VersionId: The version ID. AttrVersionId() 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() *VersionProps 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::FC::Version`, which is used to release a Version.
func NewVersion ¶
func NewVersion(scope alicloudroscdkcore.Construct, id *string, props *VersionProps, enableResourcePropertyConstraint *bool) Version
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type VersionProps ¶
type VersionProps struct { // Property serviceName: Service name. ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"` // Property description: Version description. Description interface{} `field:"optional" json:"description" yaml:"description"` }
Properties for defining a `Version`.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-version
Source Files ¶
- Alias.go
- AliasProps.go
- Alias__checks.go
- CustomDomain.go
- CustomDomainProps.go
- CustomDomain__checks.go
- Function.go
- FunctionInvoker.go
- FunctionInvokerProps.go
- FunctionInvoker__checks.go
- FunctionProps.go
- Function__checks.go
- IAlias.go
- ICustomDomain.go
- IFunction.go
- IFunctionInvoker.go
- ILayer.go
- IProvisionConfig.go
- IService.go
- ITrigger.go
- IVersion.go
- Layer.go
- LayerProps.go
- Layer__checks.go
- ProvisionConfig.go
- ProvisionConfigProps.go
- ProvisionConfig__checks.go
- RosAlias.go
- RosAliasProps.go
- RosAlias__checks.go
- RosCustomDomain.go
- RosCustomDomainProps.go
- RosCustomDomain_CertConfigProperty.go
- RosCustomDomain_RouteConfigProperty.go
- RosCustomDomain_RoutesProperty.go
- RosCustomDomain__checks.go
- RosFunction.go
- RosFunctionInvoker.go
- RosFunctionInvokerProps.go
- RosFunctionInvoker__checks.go
- RosFunctionProps.go
- RosFunction_AsyncConfigurationProperty.go
- RosFunction_CodeProperty.go
- RosFunction_CustomContainerConfigProperty.go
- RosFunction_CustomDNSProperty.go
- RosFunction_CustomHealthCheckConfigProperty.go
- RosFunction_CustomRuntimeConfigProperty.go
- RosFunction_DestinationProperty.go
- RosFunction_DnsOptionsProperty.go
- RosFunction_InstanceLifecycleConfigProperty.go
- RosFunction_PreFreezeProperty.go
- RosFunction_PreStopProperty.go
- RosFunction__checks.go
- RosLayer.go
- RosLayerProps.go
- RosLayer_CodeProperty.go
- RosLayer__checks.go
- RosProvisionConfig.go
- RosProvisionConfigProps.go
- RosProvisionConfig__checks.go
- RosService.go
- RosServiceProps.go
- RosService_LogConfigProperty.go
- RosService_MountPointsProperty.go
- RosService_NasConfigProperty.go
- RosService_OssMountConfigMountPointsProperty.go
- RosService_OssMountConfigProperty.go
- RosService_TagsProperty.go
- RosService_TracingConfigProperty.go
- RosService_VpcConfigProperty.go
- RosService__checks.go
- RosTrigger.go
- RosTriggerProps.go
- RosTrigger__checks.go
- RosVersion.go
- RosVersionProps.go
- RosVersion__checks.go
- Service.go
- ServiceProps.go
- Service__checks.go
- Trigger.go
- TriggerProps.go
- Trigger__checks.go
- Version.go
- VersionProps.go
- Version__checks.go
- main.go
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. |