You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeStar::Types::CreateProjectRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateProjectRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "ProjectName", # required
  id: "ProjectId", # required
  description: "ProjectDescription",
  client_request_token: "ClientRequestToken",
  source_code: [
    {
      source: { # required
        s3: { # required
          bucket_name: "BucketName",
          bucket_key: "BucketKey",
        },
      },
      destination: { # required
        code_commit: {
          name: "RepositoryName", # required
        },
        git_hub: {
          name: "RepositoryName", # required
          description: "RepositoryDescription",
          type: "RepositoryType", # required
          owner: "RepositoryOwner", # required
          private_repository: false, # required
          issues_enabled: false, # required
          token: "GitHubPersonalToken", # required
        },
      },
    },
  ],
  toolchain: {
    source: { # required
      s3: { # required
        bucket_name: "BucketName",
        bucket_key: "BucketKey",
      },
    },
    role_arn: "RoleArn",
    stack_parameters: {
      "TemplateParameterKey" => "TemplateParameterValue",
    },
  },
  tags: {
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

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

Returns:

  • (String)

    A user- or system-generated token that identifies the entity that requested project creation.

#descriptionString

The description of the project, if any.

Returns:

  • (String)

    The description of the project, if any.

#idString

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

Returns:

  • (String)

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

#nameString

The display name for the project to be created in AWS CodeStar.

Returns:

  • (String)

    The display name for the project to be created in AWS CodeStar.

#source_codeArray<Types::Code>

A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.

Returns:

  • (Array<Types::Code>)

    A list of the Code objects submitted with the project request.

#tagsHash<String,String>

The tags created for the project.

Returns:

  • (Hash<String,String>)

    The tags created for the project.

#toolchainTypes::Toolchain

The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.

Returns:

  • (Types::Toolchain)

    The name of the toolchain template file submitted with the project request.