Class Default
Provides default values for certain regional information points.
Inheritance
Namespace: Amazon.CDK.RegionInfo
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Default : DeputyBase
Syntax (vb)
Public Class Default
Inherits DeputyBase
Synopsis
Constructors
Default(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Default(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
VPC_ENDPOINT_SERVICE_NAME_PREFIX | The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is |
Methods
ServicePrincipal(String, String, String) | Computes a "standard" AWS Service principal for a given service, region and suffix. |
Constructors
Default(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Default(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Default(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Default(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
VPC_ENDPOINT_SERVICE_NAME_PREFIX
The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is { "Ref": "AWS::Region" }
).
public static string VPC_ENDPOINT_SERVICE_NAME_PREFIX { get; }
Property Value
System.String
Methods
ServicePrincipal(String, String, String)
Computes a "standard" AWS Service principal for a given service, region and suffix.
public static string ServicePrincipal(string serviceFqn, string region, string urlSuffix)
Parameters
- serviceFqn System.String
the name of the service (s3, s3.amazonaws.com, ...).
- region System.String
the region in which the service principal is needed.
- urlSuffix System.String
deprecated and ignored.
Returns
System.String
Remarks
This is useful for example when
you need to compute a service principal name, but you do not have a synthesize-time region literal available (so
all you have is { "Ref": "AWS::Region" }
). This way you get the same defaulting behavior that is normally used
for built-in data.