Class: Aws::CodeStar::Types::DeleteProjectRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb

Overview

Note:

When making an API call, you may pass DeleteProjectRequest data as a hash:

{
  id: "ProjectId", # required
  client_request_token: "ClientRequestToken",
  delete_stack: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.

Returns:

  • (String)


468
469
470
471
472
473
474
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 468

class DeleteProjectRequest < Struct.new(
  :id,
  :client_request_token,
  :delete_stack)
  SENSITIVE = []
  include Aws::Structure
end

#delete_stackBoolean

Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.

Returns:

  • (Boolean)


468
469
470
471
472
473
474
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 468

class DeleteProjectRequest < Struct.new(
  :id,
  :client_request_token,
  :delete_stack)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the project to be deleted in AWS CodeStar.

Returns:

  • (String)


468
469
470
471
472
473
474
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 468

class DeleteProjectRequest < Struct.new(
  :id,
  :client_request_token,
  :delete_stack)
  SENSITIVE = []
  include Aws::Structure
end