@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.905Z") @Stability(value=Stable) public class CfnApi extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnApi.BodyS3LocationProperty |
static class |
CfnApi.Builder
A fluent builder for
CfnApi. |
static interface |
CfnApi.CorsProperty |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnApi(software.constructs.Construct scope,
String id)
Create a new `AWS::ApiGatewayV2::Api`.
|
|
CfnApi(software.constructs.Construct scope,
String id,
CfnApiProps props)
Create a new `AWS::ApiGatewayV2::Api`.
|
protected |
CfnApi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApi(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKeySelectionExpression()
`AWS::ApiGatewayV2::Api.ApiKeySelectionExpression`.
|
String |
getAttrApiEndpoint() |
String |
getBasePath()
`AWS::ApiGatewayV2::Api.BasePath`.
|
Object |
getBody()
`AWS::ApiGatewayV2::Api.Body`.
|
Object |
getBodyS3Location()
`AWS::ApiGatewayV2::Api.BodyS3Location`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCorsConfiguration()
`AWS::ApiGatewayV2::Api.CorsConfiguration`.
|
String |
getCredentialsArn()
`AWS::ApiGatewayV2::Api.CredentialsArn`.
|
String |
getDescription()
`AWS::ApiGatewayV2::Api.Description`.
|
Object |
getDisableExecuteApiEndpoint()
`AWS::ApiGatewayV2::Api.DisableExecuteApiEndpoint`.
|
Object |
getDisableSchemaValidation()
`AWS::ApiGatewayV2::Api.DisableSchemaValidation`.
|
Object |
getFailOnWarnings()
`AWS::ApiGatewayV2::Api.FailOnWarnings`.
|
String |
getName()
`AWS::ApiGatewayV2::Api.Name`.
|
String |
getProtocolType()
`AWS::ApiGatewayV2::Api.ProtocolType`.
|
String |
getRouteKey()
`AWS::ApiGatewayV2::Api.RouteKey`.
|
String |
getRouteSelectionExpression()
`AWS::ApiGatewayV2::Api.RouteSelectionExpression`.
|
TagManager |
getTags()
`AWS::ApiGatewayV2::Api.Tags`.
|
String |
getTarget()
`AWS::ApiGatewayV2::Api.Target`.
|
String |
getVersion()
`AWS::ApiGatewayV2::Api.Version`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApiKeySelectionExpression(String value)
`AWS::ApiGatewayV2::Api.ApiKeySelectionExpression`.
|
void |
setBasePath(String value)
`AWS::ApiGatewayV2::Api.BasePath`.
|
void |
setBody(Object value)
`AWS::ApiGatewayV2::Api.Body`.
|
void |
setBodyS3Location(CfnApi.BodyS3LocationProperty value)
`AWS::ApiGatewayV2::Api.BodyS3Location`.
|
void |
setBodyS3Location(IResolvable value)
`AWS::ApiGatewayV2::Api.BodyS3Location`.
|
void |
setCorsConfiguration(CfnApi.CorsProperty value)
`AWS::ApiGatewayV2::Api.CorsConfiguration`.
|
void |
setCorsConfiguration(IResolvable value)
`AWS::ApiGatewayV2::Api.CorsConfiguration`.
|
void |
setCredentialsArn(String value)
`AWS::ApiGatewayV2::Api.CredentialsArn`.
|
void |
setDescription(String value)
`AWS::ApiGatewayV2::Api.Description`.
|
void |
setDisableExecuteApiEndpoint(Boolean value)
`AWS::ApiGatewayV2::Api.DisableExecuteApiEndpoint`.
|
void |
setDisableExecuteApiEndpoint(IResolvable value)
`AWS::ApiGatewayV2::Api.DisableExecuteApiEndpoint`.
|
void |
setDisableSchemaValidation(Boolean value)
`AWS::ApiGatewayV2::Api.DisableSchemaValidation`.
|
void |
setDisableSchemaValidation(IResolvable value)
`AWS::ApiGatewayV2::Api.DisableSchemaValidation`.
|
void |
setFailOnWarnings(Boolean value)
`AWS::ApiGatewayV2::Api.FailOnWarnings`.
|
void |
setFailOnWarnings(IResolvable value)
`AWS::ApiGatewayV2::Api.FailOnWarnings`.
|
void |
setName(String value)
`AWS::ApiGatewayV2::Api.Name`.
|
void |
setProtocolType(String value)
`AWS::ApiGatewayV2::Api.ProtocolType`.
|
void |
setRouteKey(String value)
`AWS::ApiGatewayV2::Api.RouteKey`.
|
void |
setRouteSelectionExpression(String value)
`AWS::ApiGatewayV2::Api.RouteSelectionExpression`.
|
void |
setTarget(String value)
`AWS::ApiGatewayV2::Api.Target`.
|
void |
setVersion(String value)
`AWS::ApiGatewayV2::Api.Version`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnApi(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApi(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnApiProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnApi(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrApiEndpoint()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getBody()
@Stability(value=Stable)
public void setBody(@NotNull
Object value)
@Stability(value=Stable) @Nullable public String getApiKeySelectionExpression()
@Stability(value=Stable)
public void setApiKeySelectionExpression(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getBasePath()
@Stability(value=Stable)
public void setBasePath(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getBodyS3Location()
@Stability(value=Stable)
public void setBodyS3Location(@Nullable
CfnApi.BodyS3LocationProperty value)
@Stability(value=Stable)
public void setBodyS3Location(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getCorsConfiguration()
@Stability(value=Stable)
public void setCorsConfiguration(@Nullable
CfnApi.CorsProperty value)
@Stability(value=Stable)
public void setCorsConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getCredentialsArn()
@Stability(value=Stable)
public void setCredentialsArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getDisableExecuteApiEndpoint()
@Stability(value=Stable)
public void setDisableExecuteApiEndpoint(@Nullable
Boolean value)
@Stability(value=Stable)
public void setDisableExecuteApiEndpoint(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getDisableSchemaValidation()
@Stability(value=Stable)
public void setDisableSchemaValidation(@Nullable
Boolean value)
@Stability(value=Stable)
public void setDisableSchemaValidation(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getFailOnWarnings()
@Stability(value=Stable)
public void setFailOnWarnings(@Nullable
Boolean value)
@Stability(value=Stable)
public void setFailOnWarnings(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getProtocolType()
@Stability(value=Stable)
public void setProtocolType(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRouteKey()
@Stability(value=Stable)
public void setRouteKey(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRouteSelectionExpression()
@Stability(value=Stable)
public void setRouteSelectionExpression(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getTarget()
@Stability(value=Stable)
public void setTarget(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getVersion()
@Stability(value=Stable)
public void setVersion(@Nullable
String value)
Copyright © 2021. All rights reserved.