Interface CfnApiMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.959Z")
@Stability(Stable)
public interface CfnApiMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnApiPropsMixin.
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.*;
CfnApiMixinProps cfnApiMixinProps = CfnApiMixinProps.builder()
.eventConfig(EventConfigProperty.builder()
.authProviders(List.of(AuthProviderProperty.builder()
.authType("authType")
.cognitoConfig(CognitoConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.userPoolId("userPoolId")
.build())
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.build()))
.connectionAuthModes(List.of(AuthModeProperty.builder()
.authType("authType")
.build()))
.defaultPublishAuthModes(List.of(AuthModeProperty.builder()
.authType("authType")
.build()))
.defaultSubscribeAuthModes(List.of(AuthModeProperty.builder()
.authType("authType")
.build()))
.logConfig(EventLogConfigProperty.builder()
.cloudWatchLogsRoleArn("cloudWatchLogsRoleArn")
.logLevel("logLevel")
.build())
.build())
.name("name")
.ownerContact("ownerContact")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiMixinPropsstatic final classAn implementation forCfnApiMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApiMixinProps.Builderbuilder()default ObjectDescribes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.default StringgetName()The name of theApi.default StringThe owner contact information for an API resource.getTags()A set of tags (key-value pairs) for this API.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventConfig
Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.Returns union: either
IResolvableorCfnApiPropsMixin.EventConfigProperty- See Also:
-
getName
The name of theApi.- See Also:
-
getOwnerContact
The owner contact information for an API resource.This field accepts any string input with a length of 0 - 256 characters.
- See Also:
-
getTags
A set of tags (key-value pairs) for this API.- See Also:
-
builder
- Returns:
- a
CfnApiMixinProps.BuilderofCfnApiMixinProps
-