DocumentationPart constructor
DocumentationPart(
- String name, {
- DocumentationPartArgs? args,
- CustomResourceOptions? options,
Creates a new DocumentationPart.
name The Pulumi resource name.
args Arguments used to configure this DocumentationPart. The set of arguments for DocumentationPart.
options Resource options controlling this resource's behavior.
Implementation
DocumentationPart(
String name, {
DocumentationPartArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:apigateway/documentationPart:DocumentationPart',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
documentationPartId = registerOutput<String>('documentationPartId');
location = registerOutput<DocumentationPartLocation>('location', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DocumentationPartLocation.fromMap((guardedValue as Map).cast<String, dynamic>()); });
properties = registerOutput<String>('properties');
region = registerOutput<String>('region');
restApiId = registerOutput<String>('restApiId');
}