jetbrains.buildServer.configs.kotlin.v2017_2.projectFeatures / DockerECRConnection

DockerECRConnection

open class DockerECRConnection : ProjectFeature

This connection is used in Docker Support build feature.

See Also

DockerSupportFeature

dockerECRRegistry

Types

CredentialsProvider

sealed class CredentialsProvider : CompoundParam<CredentialsProvider>

CredentialsType

sealed class CredentialsType : CompoundParam<CredentialsType>

Constructors

<init>

DockerECRConnection(init: DockerECRConnection.() -> Unit)DockerECRConnection()

This connection is used in Docker Support build feature.

Properties

credentialsProvider

var credentialsProvider: CredentialsProvider?

credentialsType

var credentialsType: CredentialsType?

AWS Credentials Type

displayName

var displayName: String?

ECR connection display name

regionCode

var regionCode: String?

AWS region code. For example, us-east-1

registryId

var registryId: String?

Registry ID (equals to Amazon Account ID) - a 12-digit number, such as 123456789012

Inherited Properties

id

var id: String?

Project feature id, if not specified will be generated

type

var type: String

Project feature type

Functions

accessKey

fun accessKey(init: AccessKey.() -> Unit = {}): AccessKey

accessKeys

fun accessKeys(): AccessKeys

defaultCredentialsProvider

fun defaultCredentialsProvider(): DefaultCredentialsProvider

Use Default Credentials Provider Chain

tempCredentials

fun tempCredentials(init: TempCredentials.() -> Unit = {}): TempCredentials

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

open fun create(): ProjectFeature

Creates an instance of this project feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

toString

open fun toString(): String