Experimental
@aws-cdk/app-staging-synthesizer-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
UsingAppStagingSynthesizer
This is a dummy construct meant to signify that a stack is utilizing the AppStagingSynthesizer.
It does not do anything, and is not meant to be created on its own. This construct will be a part of the construct tree only and not the Cfn template. The construct tree is then encoded in the AWS::CDK::Metadata resource of the stack and injested in our metrics like every other construct.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as app_staging_synthesizer_alpha from '@aws-cdk/app-staging-synthesizer-alpha';
const usingAppStagingSynthesizer = new app_staging_synthesizer_alpha.UsingAppStagingSynthesizer(this, 'MyUsingAppStagingSynthesizer');
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.app_staging_synthesizer_alpha as app_staging_synthesizer_alpha
using_app_staging_synthesizer = app_staging_synthesizer_alpha.UsingAppStagingSynthesizer(self, "MyUsingAppStagingSynthesizer")
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.app.staging.synthesizer.alpha.*;
UsingAppStagingSynthesizer usingAppStagingSynthesizer = new UsingAppStagingSynthesizer(this, "MyUsingAppStagingSynthesizer");
// Install: dotnet add package Amazon.CDK.AppStagingSynthesizer.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AppStagingSynthesizer.Alpha;
var usingAppStagingSynthesizer = new UsingAppStagingSynthesizer(this, "MyUsingAppStagingSynthesizer");
// Install: go get github.com/aws/aws-cdk-go/appstagingsynthesizeralpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import app_staging_synthesizer_alpha "github.com/aws/aws-cdk-go/appstagingsynthesizeralpha"
usingAppStagingSynthesizer := app_staging_synthesizer_alpha.NewUsingAppStagingSynthesizer(this, jsii.String("MyUsingAppStagingSynthesizer"))
Initializer
new UsingAppStagingSynthesizer(scope: Construct, id: string)
UsingAppStagingSynthesizer(scope: Construct, id: str)
new UsingAppStagingSynthesizer(Construct scope, String id)
new UsingAppStagingSynthesizer(Construct scope, string id)
NewUsingAppStagingSynthesizer(Scope Construct, Id *string)
Properties
Methods
isConstruct(x: any): boolean@staticmethod def is_construct(x: Any) -> boolpublic static Boolean isConstruct(Object x)public static bool IsConstruct(object x)func IsConstruct(X interface{}) *boolstatic#notes · 1 parameter · returns
Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Construct.
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string#with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct#Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited. Use multiple with() calls if subsequent mixins should apply to added constructs.
1 parameter · returns
Parameters
mixinsmixinsmixinsmixinsMixins— The mixins to apply.
Returns: This construct for chaining