Class ApiGatewayMethodResponse

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:50.216Z")
    @Stability(Stable)
    public class ApiGatewayMethodResponse
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_response aws_api_gateway_method_response}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • ApiGatewayMethodResponse

        protected ApiGatewayMethodResponse​(software.amazon.jsii.JsiiObjectRef objRef)
      • ApiGatewayMethodResponse

        protected ApiGatewayMethodResponse​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ApiGatewayMethodResponse

        @Stability(Stable)
        public ApiGatewayMethodResponse​(@NotNull
                                        software.constructs.Construct scope,
                                        @NotNull
                                        String id,
                                        @NotNull
                                        ApiGatewayMethodResponseConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_response aws_api_gateway_method_response} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • resetId

        @Stability(Stable)
        public void resetId()
      • resetResponseModels

        @Stability(Stable)
        public void resetResponseModels()
      • resetResponseParameters

        @Stability(Stable)
        public void resetResponseParameters()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getHttpMethodInput

        @Stability(Stable)
        @Nullable
        public String getHttpMethodInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getResourceIdInput

        @Stability(Stable)
        @Nullable
        public String getResourceIdInput()
      • getResponseModelsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getResponseModelsInput()
      • getResponseParametersInput

        @Stability(Stable)
        @Nullable
        public Map<String,​Object> getResponseParametersInput()
      • getRestApiIdInput

        @Stability(Stable)
        @Nullable
        public String getRestApiIdInput()
      • getStatusCodeInput

        @Stability(Stable)
        @Nullable
        public String getStatusCodeInput()
      • getHttpMethod

        @Stability(Stable)
        @NotNull
        public String getHttpMethod()
      • setHttpMethod

        @Stability(Stable)
        public void setHttpMethod​(@NotNull
                                  String value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getResourceId

        @Stability(Stable)
        @NotNull
        public String getResourceId()
      • setResourceId

        @Stability(Stable)
        public void setResourceId​(@NotNull
                                  String value)
      • getResponseModels

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getResponseModels()
      • setResponseModels

        @Stability(Stable)
        public void setResponseModels​(@NotNull
                                      Map<String,​String> value)
      • getResponseParameters

        @Stability(Stable)
        @NotNull
        public Map<String,​Object> getResponseParameters()
      • setResponseParameters

        @Stability(Stable)
        public void setResponseParameters​(@NotNull
                                          Map<String,​Object> value)
      • getRestApiId

        @Stability(Stable)
        @NotNull
        public String getRestApiId()
      • setRestApiId

        @Stability(Stable)
        public void setRestApiId​(@NotNull
                                 String value)
      • getStatusCode

        @Stability(Stable)
        @NotNull
        public String getStatusCode()
      • setStatusCode

        @Stability(Stable)
        public void setStatusCode​(@NotNull
                                  String value)