Skip to content

CloudFront

Bases: DuploTenantResourceV3

apply

Apply a service.

create

Create a CloudFront distribution.

Parameters:

Name Type Description Default
body dict

The body of the request.

required

delete

Delete a CloudFront distribution.

Parameters:

Name Type Description Default
distribution_id str

The ID of the distribution to delete.

required

disable

Disable a CloudFront distribution.

Parameters:

Name Type Description Default
distribution_id str

The ID of the distribution to disable.

required

find

Find CloudFront resources by name.

cli usage
duploctl cloudfront find <name>

Parameters:

Name Type Description Default
name NAME

The name of the CloudFront resource to find.

required

Returns:

Name Type Description
resource dict

The CloudFront object.

Raises:

Type Description
DuploError

If the {{kind}} could not be found.

list

List CloudFront distributions.

update

Update a V3 resource by name.

Parameters:

Name Type Description Default
body str

The resource to update.

required

Returns: Success message. Raises: DuploError: If the resource could not be created.