Interface CfnDocumentationPartProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDocumentationPartProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.402Z")
@Stability(Stable)
public interface CfnDocumentationPartProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDocumentationPart.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
CfnDocumentationPartProps cfnDocumentationPartProps = CfnDocumentationPartProps.builder()
.location(LocationProperty.builder()
.method("method")
.name("name")
.path("path")
.statusCode("statusCode")
.type("type")
.build())
.properties("properties")
.restApiId("restApiId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDocumentationPartPropsstatic final classAn implementation forCfnDocumentationPartProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The location of the targeted API entity of the to-be-created documentation part.The new documentation content map of the targeted API entity.The string identifier of the associated RestApi.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocation
The location of the targeted API entity of the to-be-created documentation part.Returns union: either
IResolvableorCfnDocumentationPart.LocationProperty- See Also:
-
getProperties
The new documentation content map of the targeted API entity.Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- See Also:
-
getRestApiId
The string identifier of the associated RestApi.- See Also:
-
builder
- Returns:
- a
CfnDocumentationPartProps.BuilderofCfnDocumentationPartProps
-