HttpMethods

class aws_cdk.aws_stepfunctions_tasks.HttpMethods(value)

Bases: Enum

Method type of a EKS call.

ExampleMetadata:

infused

Example:

import aws_cdk.aws_eks as eks


my_eks_cluster = eks.Cluster(self, "my sample cluster",
    version=eks.KubernetesVersion.V1_18,
    cluster_name="myEksCluster"
)

tasks.EksCall(self, "Call a EKS Endpoint",
    cluster=my_eks_cluster,
    http_method=tasks.HttpMethods.GET,
    http_path="/api/v1/namespaces/default/pods"
)

Attributes

DELETE

Delete the resource at the specified endpoint.

GET

Retrieve data from a server at the specified resource.

HEAD

Retrieve data from a server at the specified resource without the response body.

PATCH

Apply partial modifications to the resource.

POST

Send data to the API endpoint to create or update a resource.

PUT

Send data to the API endpoint to update or create a resource.