# RepositoryCredentialsProperty

The repository credentials for private registry authentication.

- Source: Generated at build time
- Type last changed: v2.129.0 · 21 Feb 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const repositoryCredentialsProperty: batch.CfnJobDefinition.RepositoryCredentialsProperty = {
  credentialsParameter: 'credentialsParameter',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

repository_credentials_property = batch.CfnJobDefinition.RepositoryCredentialsProperty(
    credentials_parameter="credentialsParameter"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;

RepositoryCredentialsProperty repositoryCredentialsProperty = RepositoryCredentialsProperty.builder()
        .credentialsParameter("credentialsParameter")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;

var repositoryCredentialsProperty = new RepositoryCredentialsProperty {
    CredentialsParameter = "credentialsParameter"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

repositoryCredentialsProperty := &RepositoryCredentialsProperty{
	CredentialsParameter: jsii.String("credentialsParameter"),
}
```

## Properties

- `credentialsParameter`: string (required) — The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
