Code Build Source Credentials Info Args
data class CodeBuildSourceCredentialsInfoArgs(val location: Output<String>? = null, val name: Output<String>? = null, val properties: Output<CodeBuildSourceCredentialsInfoPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CodeBuildSourceCredentialsInfoArgs>
A Microsoft.AwsConnector resource Uses Azure REST API version 2024-12-01. In version 2.x of the Azure Native provider, it used API version 2024-12-01.
Example Usage
CodeBuildSourceCredentialsInfos_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var codeBuildSourceCredentialsInfo = new AzureNative.AwsConnector.CodeBuildSourceCredentialsInfo("codeBuildSourceCredentialsInfo", new()
{
Location = "ckmgfv",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.CodeBuildSourceCredentialsInfoPropertiesArgs
{
Arn = "wdxdkxuukdnrlpqgkmmvfagzrwom",
AwsAccountId = "bgwhzakphzjipkxqwy",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsCodeBuildSourceCredentialsInfoPropertiesArgs
{
Arn = "ewe",
AuthType = new AzureNative.AwsConnector.Inputs.AuthTypeEnumValueArgs
{
Value = AzureNative.AwsConnector.AuthType.BASIC_AUTH,
},
Resource = "cnzfvgfcneqgffgfclggx",
ServerType = new AzureNative.AwsConnector.Inputs.ServerTypeEnumValueArgs
{
Value = AzureNative.AwsConnector.ServerType.BITBUCKET,
},
},
AwsRegion = "vywlxfetnso",
AwsSourceSchema = "rhibtnvrfkidnqhyynub",
AwsTags =
{
{ "key3224", "eky" },
},
PublicCloudConnectorsResourceId = "cidijgvkoos",
PublicCloudResourceName = "uazcojlwlavznbfsrjzbtthat",
},
ResourceGroupName = "rgcodeBuildSourceCredentialsInfo",
Tags =
{
{ "key9473", "osnuolokdgmmhzpdajuqnguse" },
},
});
});
Content copied to clipboard
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewCodeBuildSourceCredentialsInfo(ctx, "codeBuildSourceCredentialsInfo", &awsconnector.CodeBuildSourceCredentialsInfoArgs{
Location: pulumi.String("ckmgfv"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.CodeBuildSourceCredentialsInfoPropertiesArgs{
Arn: pulumi.String("wdxdkxuukdnrlpqgkmmvfagzrwom"),
AwsAccountId: pulumi.String("bgwhzakphzjipkxqwy"),
AwsProperties: &awsconnector.AwsCodeBuildSourceCredentialsInfoPropertiesArgs{
Arn: pulumi.String("ewe"),
AuthType: &awsconnector.AuthTypeEnumValueArgs{
Value: pulumi.String(awsconnector.AuthType_BASIC_AUTH),
},
Resource: pulumi.String("cnzfvgfcneqgffgfclggx"),
ServerType: &awsconnector.ServerTypeEnumValueArgs{
Value: pulumi.String(awsconnector.ServerTypeBITBUCKET),
},
},
AwsRegion: pulumi.String("vywlxfetnso"),
AwsSourceSchema: pulumi.String("rhibtnvrfkidnqhyynub"),
AwsTags: pulumi.StringMap{
"key3224": pulumi.String("eky"),
},
PublicCloudConnectorsResourceId: pulumi.String("cidijgvkoos"),
PublicCloudResourceName: pulumi.String("uazcojlwlavznbfsrjzbtthat"),
},
ResourceGroupName: pulumi.String("rgcodeBuildSourceCredentialsInfo"),
Tags: pulumi.StringMap{
"key9473": pulumi.String("osnuolokdgmmhzpdajuqnguse"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.CodeBuildSourceCredentialsInfo;
import com.pulumi.azurenative.awsconnector.CodeBuildSourceCredentialsInfoArgs;
import com.pulumi.azurenative.awsconnector.inputs.CodeBuildSourceCredentialsInfoPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsCodeBuildSourceCredentialsInfoPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AuthTypeEnumValueArgs;
import com.pulumi.azurenative.awsconnector.inputs.ServerTypeEnumValueArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var codeBuildSourceCredentialsInfo = new CodeBuildSourceCredentialsInfo("codeBuildSourceCredentialsInfo", CodeBuildSourceCredentialsInfoArgs.builder()
.location("ckmgfv")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(CodeBuildSourceCredentialsInfoPropertiesArgs.builder()
.arn("wdxdkxuukdnrlpqgkmmvfagzrwom")
.awsAccountId("bgwhzakphzjipkxqwy")
.awsProperties(AwsCodeBuildSourceCredentialsInfoPropertiesArgs.builder()
.arn("ewe")
.authType(AuthTypeEnumValueArgs.builder()
.value("BASIC_AUTH")
.build())
.resource("cnzfvgfcneqgffgfclggx")
.serverType(ServerTypeEnumValueArgs.builder()
.value("BITBUCKET")
.build())
.build())
.awsRegion("vywlxfetnso")
.awsSourceSchema("rhibtnvrfkidnqhyynub")
.awsTags(Map.of("key3224", "eky"))
.publicCloudConnectorsResourceId("cidijgvkoos")
.publicCloudResourceName("uazcojlwlavznbfsrjzbtthat")
.build())
.resourceGroupName("rgcodeBuildSourceCredentialsInfo")
.tags(Map.of("key9473", "osnuolokdgmmhzpdajuqnguse"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:CodeBuildSourceCredentialsInfo abybajjjrfhfmlcj /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/codeBuildSourceCredentialsInfos/{name}
Content copied to clipboard