RosServiceMesh
This class is a base encapsulation around the ROS resource type ALIYUN::ASM::ServiceMesh, which is used to create a Service Mesh (ASM) instance.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkasm"
alicloudroscdkasm.NewRosServiceMesh(scope Construct, id *string, props RosServiceMeshProps, enableResourcePropertyConstraint *bool) RosServiceMesh
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | - scope in which this resource is defined. |
id | *string | - scoped id of the resource. |
props | RosServiceMeshProps | - resource properties. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
scope in which this resource is defined.
idRequired
- Type: *string
scoped id of the resource.
propsRequired
- Type: RosServiceMeshProps
resource properties.
enableResourcePropertyConstraintRequired
- Type: *bool
Methods
| Name | Description |
|---|---|
ToString | Returns a string representation of this construct. |
Synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. |
OverrideLogicalId | Overrides the auto-generated logical ID with a specific ID. |
AddCondition | No description. |
AddCount | No description. |
AddDeletionOverride | Syntactic sugar for addOverride(path, undefined). |
AddDependsOn | Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
AddDesc | No description. |
AddMetaData | No description. |
AddOverride | Adds an override to the synthesized ROS resource. |
AddPropertyDeletionOverride | Adds an override that deletes the value of a property from the resource definition. |
AddPropertyOverride | Adds an override to a resource property. |
AddRosDependency | No description. |
ApplyRemovalPolicy | Sets the deletion policy of the resource based on the removal policy specified. |
FetchCondition | No description. |
FetchDesc | No description. |
FetchRosDependency | No description. |
GetAtt | Returns a token for an runtime attribute of this resource. |
ToString
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
OverrideLogicalId
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
AddCondition
func AddCondition(con RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDeletionOverride
func AddDeletionOverride(path *string)
Syntactic sugar for addOverride(path, undefined).
- Type: *string
The path of the value to delete.
AddDependsOn
func AddDependsOn(target RosResource)
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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AddDesc
func AddDesc(desc *string)
- Type: *string
AddMetaData
func AddMetaData(key *string, value interface{})
- Type: *string
- Type: interface{}
AddOverride
func AddOverride(path *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,
addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
would add the overrides
"Properties": {
"GlobalSecondaryIndexes": [
{
"Projection": {
"NonKeyAttributes": [ "myattribute" ]
...
}
...
},
{
"ProjectionType": "INCLUDE"
...
},
]
...
}
- Type: *string
The path of the property, you can use dot notation to override values in complex types.
Any intermdediate keys will be created as needed.
- Type: interface{}
The value.
Could be primitive or complex.
AddPropertyDeletionOverride
func AddPropertyDeletionOverride(propertyPath *string)
Adds an override that deletes the value of a property from the resource definition.
- Type: *string
The path to the property.
AddPropertyOverride
func AddPropertyOverride(propertyPath *string, value interface{})
Adds an override to a resource property.
Syntactic sugar for addOverride("Properties.<...>", value).
- Type: *string
The path of the property.
- Type: interface{}
The value.
AddRosDependency
func AddRosDependency(target *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy, options RemovalPolicyOptions)
Sets the deletion policy of the resource based on the removal policy specified.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicyOptions
FetchCondition
func FetchCondition() RosCondition
FetchDesc
func FetchDesc() *string
FetchRosDependency
func FetchRosDependency() *[]*string
GetAtt
func GetAtt(attributeName *string) Reference
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.
- Type: *string
The name of the attribute.
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsRosElement | Returns true if a construct is a stack element (i.e. part of the synthesized template). |
IsRosResource | Check whether the given construct is a RosResource. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkasm"
alicloudroscdkasm.RosServiceMesh_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
IsRosElement
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkasm"
alicloudroscdkasm.RosServiceMesh_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.
- Type: interface{}
IsRosResource
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkasm"
alicloudroscdkasm.RosServiceMesh_IsRosResource(construct IConstruct) *bool
Check whether the given construct is a RosResource.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IConstruct
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
CreationStack | []string | No description. |
LogicalId | *string | The logical ID for this stack element. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this element is defined. |
Ref | *string | Return a string that will be resolved to a RosTemplate { Ref } for this element. |
RosOptions | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IRosResourceOptions | Options for this resource, such as condition, update policy etc. |
RosResourceType | *string | ROS resource type. |
AttrServiceMeshId | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable | No description. |
EnableResourcePropertyConstraint | *bool | No description. |
VpcId | interface{} | No description. |
VSwitches | interface{} | No description. |
AccessLogEnabled | interface{} | No description. |
AccessLogFile | interface{} | No description. |
AccessLogFormat | interface{} | No description. |
AccessLogProject | interface{} | No description. |
AccessLogServiceEnabled | interface{} | No description. |
AccessLogServiceHost | interface{} | No description. |
AccessLogServicePort | interface{} | No description. |
ApiServerLoadBalancerSpec | interface{} | No description. |
ApiServerPublicEip | interface{} | No description. |
AuditProject | interface{} | No description. |
AutoRenew | interface{} | No description. |
AutoRenewPeriod | interface{} | No description. |
CertChain | interface{} | No description. |
ChargeType | interface{} | No description. |
ClusterSpec | interface{} | No description. |
ConfigSourceEnabled | interface{} | No description. |
ConfigSourceNacosId | interface{} | No description. |
ControlPlaneLogEnabled | interface{} | No description. |
ControlPlaneLogProject | interface{} | No description. |
CrAggregationEnabled | interface{} | No description. |
CustomizedPrometheus | interface{} | No description. |
CustomizedZipkin | interface{} | No description. |
DnsProxyingEnabled | interface{} | No description. |
DubboFilterEnabled | interface{} | No description. |
Edition | interface{} | No description. |
EnableAcmg | interface{} | No description. |
EnableAmbient | interface{} | No description. |
EnableAudit | interface{} | No description. |
EnableCrHistory | interface{} | No description. |
EnableSdsServer | interface{} | No description. |
ExcludeInboundPorts | interface{} | No description. |
ExcludeIpRanges | interface{} | No description. |
ExcludeOutboundPorts | interface{} | No description. |
ExistingCaCert | interface{} | No description. |
ExistingCaKey | interface{} | No description. |
ExistingCaType | interface{} | No description. |
ExistingRootCaCert | interface{} | No description. |
ExistingRootCaKey | interface{} | No description. |
FilterGatewayClusterConfig | interface{} | No description. |
GatewayApiEnabled | interface{} | No description. |
GuestCluster | interface{} | No description. |
IncludeIpRanges | interface{} | No description. |
IstioVersion | interface{} | No description. |
KialiEnabled | interface{} | No description. |
LocalityLbConf | interface{} | No description. |
LocalityLoadBalancing | interface{} | No description. |
MseEnabled | interface{} | No description. |
MultiBufferEnabled | interface{} | No description. |
MultiBufferPollDelay | interface{} | No description. |
MysqlFilterEnabled | interface{} | No description. |
Name | interface{} | No description. |
Opa | interface{} | No description. |
OpaEnabled | interface{} | No description. |
OutboundTrafficPolicy | interface{} | No description. |
Period | interface{} | No description. |
PilotLoadBalancerSpec | interface{} | No description. |
PilotPublicEip | interface{} | No description. |
PlaygroundScene | interface{} | No description. |
PrometheusUrl | interface{} | No description. |
Proxy | interface{} | No description. |
Telemetry | interface{} | No description. |
TraceSampling | interface{} | No description. |
Tracing | interface{} | No description. |
UseExistingCa | interface{} | No description. |
WebAssemblyFilterEnabled | interface{} | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
CreationStackRequired
func CreationStack() *[]*string
- Type: []string
LogicalIdRequired
func LogicalId() *string
- Type: *string
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).
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this element is defined.
RosElements must be defined within a stack scope (directly or indirectly).
RefRequired
func Ref() *string
- Type: *string
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 }).
RosOptionsRequired
func RosOptions() IRosResourceOptions
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IRosResourceOptions
Options for this resource, such as condition, update policy etc.
RosResourceTypeRequired
func RosResourceType() *string
- Type: *string
ROS resource type.
AttrServiceMeshIdRequired
func AttrServiceMeshId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
EnableResourcePropertyConstraintRequired
func EnableResourcePropertyConstraint() *bool
- Type: *bool
VpcIdRequired
func VpcId() interface{}
- Type: interface{}
VSwitchesRequired
func VSwitches() interface{}
- Type: interface{}
AccessLogEnabledOptional
func AccessLogEnabled() interface{}
- Type: interface{}
AccessLogFileOptional
func AccessLogFile() interface{}
- Type: interface{}
AccessLogFormatOptional
func AccessLogFormat() interface{}
- Type: interface{}
AccessLogProjectOptional
func AccessLogProject() interface{}
- Type: interface{}
AccessLogServiceEnabledOptional
func AccessLogServiceEnabled() interface{}
- Type: interface{}
AccessLogServiceHostOptional
func AccessLogServiceHost() interface{}
- Type: interface{}
AccessLogServicePortOptional
func AccessLogServicePort() interface{}
- Type: interface{}
ApiServerLoadBalancerSpecOptional
func ApiServerLoadBalancerSpec() interface{}
- Type: interface{}
ApiServerPublicEipOptional
func ApiServerPublicEip() interface{}
- Type: interface{}
AuditProjectOptional
func AuditProject() interface{}
- Type: interface{}
AutoRenewOptional
func AutoRenew() interface{}
- Type: interface{}
AutoRenewPeriodOptional
func AutoRenewPeriod() interface{}
- Type: interface{}
CertChainOptional
func CertChain() interface{}
- Type: interface{}
ChargeTypeOptional
func ChargeType() interface{}
- Type: interface{}
ClusterSpecOptional
func ClusterSpec() interface{}
- Type: interface{}
ConfigSourceEnabledOptional
func ConfigSourceEnabled() interface{}
- Type: interface{}
ConfigSourceNacosIdOptional
func ConfigSourceNacosId() interface{}
- Type: interface{}
ControlPlaneLogEnabledOptional
func ControlPlaneLogEnabled() interface{}
- Type: interface{}
ControlPlaneLogProjectOptional
func ControlPlaneLogProject() interface{}
- Type: interface{}
CrAggregationEnabledOptional
func CrAggregationEnabled() interface{}
- Type: interface{}
CustomizedPrometheusOptional
func CustomizedPrometheus() interface{}
- Type: interface{}
CustomizedZipkinOptional
func CustomizedZipkin() interface{}
- Type: interface{}
DnsProxyingEnabledOptional
func DnsProxyingEnabled() interface{}
- Type: interface{}
DubboFilterEnabledOptional
func DubboFilterEnabled() interface{}
- Type: interface{}
EditionOptional
func Edition() interface{}
- Type: interface{}
EnableAcmgOptional
func EnableAcmg() interface{}
- Type: interface{}
EnableAmbientOptional
func EnableAmbient() interface{}
- Type: interface{}
EnableAuditOptional
func EnableAudit() interface{}
- Type: interface{}
EnableCrHistoryOptional
func EnableCrHistory() interface{}
- Type: interface{}
EnableSdsServerOptional
func EnableSdsServer() interface{}
- Type: interface{}
ExcludeInboundPortsOptional
func ExcludeInboundPorts() interface{}
- Type: interface{}
ExcludeIpRangesOptional
func ExcludeIpRanges() interface{}
- Type: interface{}
ExcludeOutboundPortsOptional
func ExcludeOutboundPorts() interface{}
- Type: interface{}
ExistingCaCertOptional
func ExistingCaCert() interface{}
- Type: interface{}
ExistingCaKeyOptional
func ExistingCaKey() interface{}
- Type: interface{}
ExistingCaTypeOptional
func ExistingCaType() interface{}
- Type: interface{}
ExistingRootCaCertOptional
func ExistingRootCaCert() interface{}
- Type: interface{}
ExistingRootCaKeyOptional
func ExistingRootCaKey() interface{}
- Type: interface{}
FilterGatewayClusterConfigOptional
func FilterGatewayClusterConfig() interface{}
- Type: interface{}
GatewayApiEnabledOptional
func GatewayApiEnabled() interface{}
- Type: interface{}
GuestClusterOptional
func GuestCluster() interface{}
- Type: interface{}
IncludeIpRangesOptional
func IncludeIpRanges() interface{}
- Type: interface{}
IstioVersionOptional
func IstioVersion() interface{}
- Type: interface{}
KialiEnabledOptional
func KialiEnabled() interface{}
- Type: interface{}
LocalityLbConfOptional
func LocalityLbConf() interface{}
- Type: interface{}
LocalityLoadBalancingOptional
func LocalityLoadBalancing() interface{}
- Type: interface{}
MseEnabledOptional
func MseEnabled() interface{}
- Type: interface{}
MultiBufferEnabledOptional
func MultiBufferEnabled() interface{}
- Type: interface{}
MultiBufferPollDelayOptional
func MultiBufferPollDelay() interface{}
- Type: interface{}
MysqlFilterEnabledOptional
func MysqlFilterEnabled() interface{}
- Type: interface{}
NameOptional
func Name() interface{}
- Type: interface{}
OpaOptional
func Opa() interface{}
- Type: interface{}
OpaEnabledOptional
func OpaEnabled() interface{}
- Type: interface{}
OutboundTrafficPolicyOptional
func OutboundTrafficPolicy() interface{}
- Type: interface{}
PeriodOptional
func Period() interface{}
- Type: interface{}
PilotLoadBalancerSpecOptional
func PilotLoadBalancerSpec() interface{}
- Type: interface{}
PilotPublicEipOptional
func PilotPublicEip() interface{}
- Type: interface{}
PlaygroundSceneOptional
func PlaygroundScene() interface{}
- Type: interface{}
PrometheusUrlOptional
func PrometheusUrl() interface{}
- Type: interface{}
ProxyOptional
func Proxy() interface{}
- Type: interface{}
TelemetryOptional
func Telemetry() interface{}
- Type: interface{}
TraceSamplingOptional
func TraceSampling() interface{}
- Type: interface{}
TracingOptional
func Tracing() interface{}
- Type: interface{}
UseExistingCaOptional
func UseExistingCa() interface{}
- Type: interface{}
WebAssemblyFilterEnabledOptional
func WebAssemblyFilterEnabled() interface{}
- Type: interface{}
Constants
| Name | Type | Description |
|---|---|---|
RosResourceTypeName | *string | The resource type name for this resource class. |
RosResourceTypeNameRequired
func RosResourceTypeName() *string
- Type: *string
The resource type name for this resource class.