@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:02.334Z") @Stability(value=Stable) public class CfnMethod extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html| 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$ProxyIConstruct.Jsii$Default| 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(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)
(experimental) 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, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, 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
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=Experimental)
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()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-httpmethod@Stability(value=Stable)
public void setHttpMethod(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-httpmethod@Stability(value=Stable) @NotNull public String getResourceId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-resourceid@Stability(value=Stable)
public void setResourceId(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-resourceid@Stability(value=Stable) @NotNull public String getRestApiId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-restapiid@Stability(value=Stable)
public void setRestApiId(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-restapiid@Stability(value=Stable) @Nullable public Object getApiKeyRequired()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-apikeyrequired@Stability(value=Stable)
public void setApiKeyRequired(@Nullable
Boolean value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-apikeyrequired@Stability(value=Stable)
public void setApiKeyRequired(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-apikeyrequired@Stability(value=Stable) @Nullable public List<String> getAuthorizationScopes()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationscopes@Stability(value=Stable)
public void setAuthorizationScopes(@Nullable
List<String> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationscopes@Stability(value=Stable) @Nullable public String getAuthorizationType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationtype@Stability(value=Stable)
public void setAuthorizationType(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationtype@Stability(value=Stable) @Nullable public String getAuthorizerId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizerid@Stability(value=Stable)
public void setAuthorizerId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizerid@Stability(value=Stable) @Nullable public Object getIntegration()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-integration@Stability(value=Stable)
public void setIntegration(@Nullable
CfnMethod.IntegrationProperty value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-integration@Stability(value=Stable)
public void setIntegration(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-integration@Stability(value=Stable) @Nullable public Object getMethodResponses()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-methodresponses@Stability(value=Stable)
public void setMethodResponses(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-methodresponses@Stability(value=Stable)
public void setMethodResponses(@Nullable
List<Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-methodresponses@Stability(value=Stable) @Nullable public String getOperationName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-operationname@Stability(value=Stable)
public void setOperationName(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-operationname@Stability(value=Stable) @Nullable public Object getRequestModels()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestmodels@Stability(value=Stable)
public void setRequestModels(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestmodels@Stability(value=Stable)
public void setRequestModels(@Nullable
Map<String,String> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestmodels@Stability(value=Stable) @Nullable public Object getRequestParameters()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestparameters@Stability(value=Stable)
public void setRequestParameters(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestparameters@Stability(value=Stable)
public void setRequestParameters(@Nullable
Map<String,Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestparameters@Stability(value=Stable) @Nullable public String getRequestValidatorId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestvalidatorid@Stability(value=Stable)
public void setRequestValidatorId(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestvalidatoridCopyright © 2020. All rights reserved.