Class CfnGraphQLApiPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnGraphQLApiPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.982Z")
@Stability(Stable)
public class CfnGraphQLApiPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::AppSync::GraphQLApi resource creates a new AWS AppSync GraphQL API.
This is the top-level construct for your application. For more information, see Quick Start in the AWS AppSync Developer Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appsync.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnGraphQLApiPropsMixin cfnGraphQLApiPropsMixin = CfnGraphQLApiPropsMixin.Builder.create(CfnGraphQLApiMixinProps.builder()
.additionalAuthenticationProviders(List.of(AdditionalAuthenticationProviderProperty.builder()
.authenticationType("authenticationType")
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.userPoolConfig(CognitoUserPoolConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.userPoolId("userPoolId")
.build())
.build()))
.apiType("apiType")
.authenticationType("authenticationType")
.enhancedMetricsConfig(EnhancedMetricsConfigProperty.builder()
.dataSourceLevelMetricsBehavior("dataSourceLevelMetricsBehavior")
.operationLevelMetricsConfig("operationLevelMetricsConfig")
.resolverLevelMetricsBehavior("resolverLevelMetricsBehavior")
.build())
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.introspectionConfig("introspectionConfig")
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.logConfig(LogConfigProperty.builder()
.cloudWatchLogsRoleArn("cloudWatchLogsRoleArn")
.excludeVerboseContent(false)
.fieldLogLevel("fieldLogLevel")
.build())
.mergedApiExecutionRoleArn("mergedApiExecutionRoleArn")
.name("name")
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.ownerContact("ownerContact")
.queryDepthLimit(123)
.resolverCountLimit(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userPoolConfig(UserPoolConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.defaultAction("defaultAction")
.userPoolId("userPoolId")
.build())
.visibility("visibility")
.xrayEnabled(false)
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes an additional authentication provider.static final classA fluent builder forCfnGraphQLApiPropsMixin.static interfaceDescribes an Amazon Cognito user pool configuration.static interfaceDescribes an enhanced metrics configuration.static interfaceConfiguration for AWS Lambda function authorization.static interfaceTheLogConfigproperty type specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API.static interfaceTheOpenIDConnectConfigproperty type specifies the optional authorization configuration for using an OpenID Connect compliant service with your GraphQL endpoint for an AWS AppSync GraphQL API.static interfaceTheUserPoolConfigproperty type specifies the optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint for an AWS AppSync GraphQL API.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::AppSync::GraphQLApi.CfnGraphQLApiPropsMixin(CfnGraphQLApiMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::AppSync::GraphQLApi.protectedCfnGraphQLApiPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGraphQLApiPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnGraphQLApiMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnGraphQLApiPropsMixin
protected CfnGraphQLApiPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnGraphQLApiPropsMixin
protected CfnGraphQLApiPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnGraphQLApiPropsMixin
@Stability(Stable) public CfnGraphQLApiPropsMixin(@NotNull CfnGraphQLApiMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::AppSync::GraphQLApi.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnGraphQLApiPropsMixin
Create a mixin to apply properties toAWS::AppSync::GraphQLApi.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-