Class EnvironmentUtils
Inheritance
System.Object
EnvironmentUtils
Namespace: Amazon.CDK.CXAPI
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EnvironmentUtils : DeputyBase
Syntax (vb)
Public Class EnvironmentUtils
Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CXAPI;
var environmentUtils = new EnvironmentUtils();
Synopsis
Constructors
EnvironmentUtils() | |
EnvironmentUtils(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EnvironmentUtils(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Format(String, String) | Format an environment string from an account and region. |
Make(String, String) | Build an environment object from an account and region. |
Parse(String) |
Constructors
EnvironmentUtils()
public EnvironmentUtils()
EnvironmentUtils(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EnvironmentUtils(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EnvironmentUtils(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EnvironmentUtils(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Format(String, String)
Format an environment string from an account and region.
public static string Format(string account, string region)
Parameters
- account System.String
- region System.String
Returns
System.String
Make(String, String)
Build an environment object from an account and region.
public static IEnvironment Make(string account, string region)
Parameters
- account System.String
- region System.String
Returns
Parse(String)
public static IEnvironment Parse(string environment)
Parameters
- environment System.String
Returns