SourceCredential constructor

SourceCredential(
  1. String name, {
  2. SourceCredentialArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new SourceCredential. name The Pulumi resource name. args Arguments used to configure this SourceCredential. The set of arguments for SourceCredential. options Resource options controlling this resource's behavior.

Implementation

SourceCredential(
  String name, {
  SourceCredentialArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:codebuild/sourceCredential:SourceCredential',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
        additionalSecretOutputs: const ['token'],
      ) {
  arn = registerOutput<String>('arn');
  authType = registerOutput<String>('authType');
  region = registerOutput<String>('region');
  serverType = registerOutput<String>('serverType');
  token = registerOutput<String>('token', isSecret: true);
  userName = registerOutput<String?>('userName');
}