Skip to content

EnvironmentPlaceholders

Placeholders which can be used manifests.

These can occur both in the Asset Manifest as well as the general Cloud Assembly manifest.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.NewEnvironmentPlaceholders() EnvironmentPlaceholders
Name Type Description

Static Functions

Name Description
Replace Replace the environment placeholders in all strings found in a complex object.
ReplaceAsync Like 'replace', but asynchronous.

Replace

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.EnvironmentPlaceholders_Replace(object interface{}, values EnvironmentPlaceholderValues) interface{}

Replace the environment placeholders in all strings found in a complex object.

objectRequired

  • Type: interface{}

valuesRequired


ReplaceAsync

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.EnvironmentPlaceholders_ReplaceAsync(object interface{}, provider IEnvironmentPlaceholderProvider) interface{}

Like 'replace', but asynchronous.

objectRequired

  • Type: interface{}

providerRequired


Constants

Name Type Description
CurrentAccount *string Insert this into the destination fields to be replaced with the current account.
CurrentRegion *string Insert this into the destination fields to be replaced with the current region.

CurrentAccountRequired

func CurrentAccount() *string
  • Type: *string

Insert this into the destination fields to be replaced with the current account.


CurrentRegionRequired

func CurrentRegion() *string
  • Type: *string

Insert this into the destination fields to be replaced with the current region.