PluginContextQuery Struct
Query input for plugins.
This alternate branch is necessary because it needs to be able to escape all type checking we do on on the cloud assembly -- we cannot know the properties that will be used a priori.
| Source | lib/cloud-assembly/context-queries.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const pluginContextQuery: cloud_assembly_schema.PluginContextQuery = {
pluginName: 'pluginName',
};
python
from aws_cdk.cloud_assembly_schema import PluginContextQuery
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import cloud_assembly_schema
plugin_context_query = PluginContextQuery(
plugin_name="pluginName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;
PluginContextQuery pluginContextQuery = PluginContextQuery.builder()
.pluginName("pluginName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Cloud_assembly_schema;
var pluginContextQuery = new PluginContextQuery {
PluginName = "pluginName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
pluginContextQuery := &PluginContextQuery{
PluginName: jsii.String("pluginName"),
}
Properties
The name of the plugin.