@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.825Z") @Stability(value=Stable) public class CfnMethod extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnMethod.Builder
A fluent builder for
CfnMethod. |
static interface |
CfnMethod.IntegrationProperty |
static interface |
CfnMethod.IntegrationResponseProperty |
static interface |
CfnMethod.MethodResponseProperty |
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 |
|---|---|
|
CfnMethod(software.constructs.Construct scope,
String id,
CfnMethodProps props)
Create a new `AWS::ApiGateway::Method`.
|
protected |
CfnMethod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMethod(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getApiKeyRequired()
`AWS::ApiGateway::Method.ApiKeyRequired`.
|
List<String> |
getAuthorizationScopes()
`AWS::ApiGateway::Method.AuthorizationScopes`.
|
String |
getAuthorizationType()
`AWS::ApiGateway::Method.AuthorizationType`.
|
String |
getAuthorizerId()
`AWS::ApiGateway::Method.AuthorizerId`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getHttpMethod()
`AWS::ApiGateway::Method.HttpMethod`.
|
Object |
getIntegration()
`AWS::ApiGateway::Method.Integration`.
|
Object |
getMethodResponses()
`AWS::ApiGateway::Method.MethodResponses`.
|
String |
getOperationName()
`AWS::ApiGateway::Method.OperationName`.
|
Object |
getRequestModels()
`AWS::ApiGateway::Method.RequestModels`.
|
Object |
getRequestParameters()
`AWS::ApiGateway::Method.RequestParameters`.
|
String |
getRequestValidatorId()
`AWS::ApiGateway::Method.RequestValidatorId`.
|
String |
getResourceId()
`AWS::ApiGateway::Method.ResourceId`.
|
String |
getRestApiId()
`AWS::ApiGateway::Method.RestApiId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApiKeyRequired(Boolean value)
`AWS::ApiGateway::Method.ApiKeyRequired`.
|
void |
setApiKeyRequired(IResolvable value)
`AWS::ApiGateway::Method.ApiKeyRequired`.
|
void |
setAuthorizationScopes(List<String> value)
`AWS::ApiGateway::Method.AuthorizationScopes`.
|
void |
setAuthorizationType(String value)
`AWS::ApiGateway::Method.AuthorizationType`.
|
void |
setAuthorizerId(String value)
`AWS::ApiGateway::Method.AuthorizerId`.
|
void |
setHttpMethod(String value)
`AWS::ApiGateway::Method.HttpMethod`.
|
void |
setIntegration(CfnMethod.IntegrationProperty value)
`AWS::ApiGateway::Method.Integration`.
|
void |
setIntegration(IResolvable value)
`AWS::ApiGateway::Method.Integration`.
|
void |
setMethodResponses(IResolvable value)
`AWS::ApiGateway::Method.MethodResponses`.
|
void |
setMethodResponses(List<Object> value)
`AWS::ApiGateway::Method.MethodResponses`.
|
void |
setOperationName(String value)
`AWS::ApiGateway::Method.OperationName`.
|
void |
setRequestModels(IResolvable value)
`AWS::ApiGateway::Method.RequestModels`.
|
void |
setRequestModels(Map<String,String> value)
`AWS::ApiGateway::Method.RequestModels`.
|
void |
setRequestParameters(IResolvable value)
`AWS::ApiGateway::Method.RequestParameters`.
|
void |
setRequestParameters(Map<String,Object> value)
`AWS::ApiGateway::Method.RequestParameters`.
|
void |
setRequestValidatorId(String value)
`AWS::ApiGateway::Method.RequestValidatorId`.
|
void |
setResourceId(String value)
`AWS::ApiGateway::Method.ResourceId`.
|
void |
setRestApiId(String value)
`AWS::ApiGateway::Method.RestApiId`.
|
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 CfnMethod(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMethod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnMethod(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnMethodProps 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. 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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getHttpMethod()
@Stability(value=Stable)
public void setHttpMethod(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getResourceId()
@Stability(value=Stable)
public void setResourceId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRestApiId()
@Stability(value=Stable)
public void setRestApiId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getApiKeyRequired()
@Stability(value=Stable)
public void setApiKeyRequired(@Nullable
Boolean value)
@Stability(value=Stable)
public void setApiKeyRequired(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<String> getAuthorizationScopes()
@Stability(value=Stable)
public void setAuthorizationScopes(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getAuthorizationType()
@Stability(value=Stable)
public void setAuthorizationType(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getAuthorizerId()
@Stability(value=Stable)
public void setAuthorizerId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getIntegration()
@Stability(value=Stable)
public void setIntegration(@Nullable
CfnMethod.IntegrationProperty value)
@Stability(value=Stable)
public void setIntegration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getMethodResponses()
@Stability(value=Stable)
public void setMethodResponses(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setMethodResponses(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getOperationName()
@Stability(value=Stable)
public void setOperationName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRequestModels()
@Stability(value=Stable)
public void setRequestModels(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setRequestModels(@Nullable
Map<String,String> value)
@Stability(value=Stable) @Nullable public Object getRequestParameters()
@Stability(value=Stable)
public void setRequestParameters(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setRequestParameters(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @Nullable public String getRequestValidatorId()
@Stability(value=Stable)
public void setRequestValidatorId(@Nullable
String value)
Copyright © 2021. All rights reserved.