1. Packages
  2. AWS
  3. API Docs
  4. codebuild
  5. ReportGroup
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.codebuild.ReportGroup

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides a CodeBuild Report Groups Resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const current = aws.getCallerIdentity({});
    const example = current.then(current => aws.iam.getPolicyDocument({
        statements: [{
            sid: "Enable IAM User Permissions",
            effect: "Allow",
            principals: [{
                type: "AWS",
                identifiers: [`arn:aws:iam::${current.accountId}:root`],
            }],
            actions: ["kms:*"],
            resources: ["*"],
        }],
    }));
    const exampleKey = new aws.kms.Key("example", {
        description: "my test kms key",
        deletionWindowInDays: 7,
        policy: example.then(example => example.json),
    });
    const exampleBucketV2 = new aws.s3.BucketV2("example", {bucket: "my-test"});
    const exampleReportGroup = new aws.codebuild.ReportGroup("example", {
        name: "my test report group",
        type: "TEST",
        exportConfig: {
            type: "S3",
            s3Destination: {
                bucket: exampleBucketV2.id,
                encryptionDisabled: false,
                encryptionKey: exampleKey.arn,
                packaging: "NONE",
                path: "/some",
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    current = aws.get_caller_identity()
    example = aws.iam.get_policy_document(statements=[{
        "sid": "Enable IAM User Permissions",
        "effect": "Allow",
        "principals": [{
            "type": "AWS",
            "identifiers": [f"arn:aws:iam::{current.account_id}:root"],
        }],
        "actions": ["kms:*"],
        "resources": ["*"],
    }])
    example_key = aws.kms.Key("example",
        description="my test kms key",
        deletion_window_in_days=7,
        policy=example.json)
    example_bucket_v2 = aws.s3.BucketV2("example", bucket="my-test")
    example_report_group = aws.codebuild.ReportGroup("example",
        name="my test report group",
        type="TEST",
        export_config={
            "type": "S3",
            "s3_destination": {
                "bucket": example_bucket_v2.id,
                "encryption_disabled": False,
                "encryption_key": example_key.arn,
                "packaging": "NONE",
                "path": "/some",
            },
        })
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codebuild"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		example, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
    			Statements: []iam.GetPolicyDocumentStatement{
    				{
    					Sid:    pulumi.StringRef("Enable IAM User Permissions"),
    					Effect: pulumi.StringRef("Allow"),
    					Principals: []iam.GetPolicyDocumentStatementPrincipal{
    						{
    							Type: "AWS",
    							Identifiers: []string{
    								fmt.Sprintf("arn:aws:iam::%v:root", current.AccountId),
    							},
    						},
    					},
    					Actions: []string{
    						"kms:*",
    					},
    					Resources: []string{
    						"*",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleKey, err := kms.NewKey(ctx, "example", &kms.KeyArgs{
    			Description:          pulumi.String("my test kms key"),
    			DeletionWindowInDays: pulumi.Int(7),
    			Policy:               pulumi.String(example.Json),
    		})
    		if err != nil {
    			return err
    		}
    		exampleBucketV2, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{
    			Bucket: pulumi.String("my-test"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = codebuild.NewReportGroup(ctx, "example", &codebuild.ReportGroupArgs{
    			Name: pulumi.String("my test report group"),
    			Type: pulumi.String("TEST"),
    			ExportConfig: &codebuild.ReportGroupExportConfigArgs{
    				Type: pulumi.String("S3"),
    				S3Destination: &codebuild.ReportGroupExportConfigS3DestinationArgs{
    					Bucket:             exampleBucketV2.ID(),
    					EncryptionDisabled: pulumi.Bool(false),
    					EncryptionKey:      exampleKey.Arn,
    					Packaging:          pulumi.String("NONE"),
    					Path:               pulumi.String("/some"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var current = Aws.GetCallerIdentity.Invoke();
    
        var example = Aws.Iam.GetPolicyDocument.Invoke(new()
        {
            Statements = new[]
            {
                new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
                {
                    Sid = "Enable IAM User Permissions",
                    Effect = "Allow",
                    Principals = new[]
                    {
                        new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
                        {
                            Type = "AWS",
                            Identifiers = new[]
                            {
                                $"arn:aws:iam::{current.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId)}:root",
                            },
                        },
                    },
                    Actions = new[]
                    {
                        "kms:*",
                    },
                    Resources = new[]
                    {
                        "*",
                    },
                },
            },
        });
    
        var exampleKey = new Aws.Kms.Key("example", new()
        {
            Description = "my test kms key",
            DeletionWindowInDays = 7,
            Policy = example.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
        });
    
        var exampleBucketV2 = new Aws.S3.BucketV2("example", new()
        {
            Bucket = "my-test",
        });
    
        var exampleReportGroup = new Aws.CodeBuild.ReportGroup("example", new()
        {
            Name = "my test report group",
            Type = "TEST",
            ExportConfig = new Aws.CodeBuild.Inputs.ReportGroupExportConfigArgs
            {
                Type = "S3",
                S3Destination = new Aws.CodeBuild.Inputs.ReportGroupExportConfigS3DestinationArgs
                {
                    Bucket = exampleBucketV2.Id,
                    EncryptionDisabled = false,
                    EncryptionKey = exampleKey.Arn,
                    Packaging = "NONE",
                    Path = "/some",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.AwsFunctions;
    import com.pulumi.aws.inputs.GetCallerIdentityArgs;
    import com.pulumi.aws.iam.IamFunctions;
    import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
    import com.pulumi.aws.kms.Key;
    import com.pulumi.aws.kms.KeyArgs;
    import com.pulumi.aws.s3.BucketV2;
    import com.pulumi.aws.s3.BucketV2Args;
    import com.pulumi.aws.codebuild.ReportGroup;
    import com.pulumi.aws.codebuild.ReportGroupArgs;
    import com.pulumi.aws.codebuild.inputs.ReportGroupExportConfigArgs;
    import com.pulumi.aws.codebuild.inputs.ReportGroupExportConfigS3DestinationArgs;
    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) {
            final var current = AwsFunctions.getCallerIdentity();
    
            final var example = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
                .statements(GetPolicyDocumentStatementArgs.builder()
                    .sid("Enable IAM User Permissions")
                    .effect("Allow")
                    .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
                        .type("AWS")
                        .identifiers(String.format("arn:aws:iam::%s:root", current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
                        .build())
                    .actions("kms:*")
                    .resources("*")
                    .build())
                .build());
    
            var exampleKey = new Key("exampleKey", KeyArgs.builder()
                .description("my test kms key")
                .deletionWindowInDays(7)
                .policy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
                .build());
    
            var exampleBucketV2 = new BucketV2("exampleBucketV2", BucketV2Args.builder()
                .bucket("my-test")
                .build());
    
            var exampleReportGroup = new ReportGroup("exampleReportGroup", ReportGroupArgs.builder()
                .name("my test report group")
                .type("TEST")
                .exportConfig(ReportGroupExportConfigArgs.builder()
                    .type("S3")
                    .s3Destination(ReportGroupExportConfigS3DestinationArgs.builder()
                        .bucket(exampleBucketV2.id())
                        .encryptionDisabled(false)
                        .encryptionKey(exampleKey.arn())
                        .packaging("NONE")
                        .path("/some")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleKey:
        type: aws:kms:Key
        name: example
        properties:
          description: my test kms key
          deletionWindowInDays: 7
          policy: ${example.json}
      exampleBucketV2:
        type: aws:s3:BucketV2
        name: example
        properties:
          bucket: my-test
      exampleReportGroup:
        type: aws:codebuild:ReportGroup
        name: example
        properties:
          name: my test report group
          type: TEST
          exportConfig:
            type: S3
            s3Destination:
              bucket: ${exampleBucketV2.id}
              encryptionDisabled: false
              encryptionKey: ${exampleKey.arn}
              packaging: NONE
              path: /some
    variables:
      current:
        fn::invoke:
          Function: aws:getCallerIdentity
          Arguments: {}
      example:
        fn::invoke:
          Function: aws:iam:getPolicyDocument
          Arguments:
            statements:
              - sid: Enable IAM User Permissions
                effect: Allow
                principals:
                  - type: AWS
                    identifiers:
                      - arn:aws:iam::${current.accountId}:root
                actions:
                  - kms:*
                resources:
                  - '*'
    

    Create ReportGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ReportGroup(name: string, args: ReportGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ReportGroup(resource_name: str,
                    args: ReportGroupArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ReportGroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    export_config: Optional[ReportGroupExportConfigArgs] = None,
                    type: Optional[str] = None,
                    delete_reports: Optional[bool] = None,
                    name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
    func NewReportGroup(ctx *Context, name string, args ReportGroupArgs, opts ...ResourceOption) (*ReportGroup, error)
    public ReportGroup(string name, ReportGroupArgs args, CustomResourceOptions? opts = null)
    public ReportGroup(String name, ReportGroupArgs args)
    public ReportGroup(String name, ReportGroupArgs args, CustomResourceOptions options)
    
    type: aws:codebuild:ReportGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ReportGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ReportGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ReportGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReportGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReportGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var reportGroupResource = new Aws.CodeBuild.ReportGroup("reportGroupResource", new()
    {
        ExportConfig = new Aws.CodeBuild.Inputs.ReportGroupExportConfigArgs
        {
            Type = "string",
            S3Destination = new Aws.CodeBuild.Inputs.ReportGroupExportConfigS3DestinationArgs
            {
                Bucket = "string",
                EncryptionKey = "string",
                EncryptionDisabled = false,
                Packaging = "string",
                Path = "string",
            },
        },
        Type = "string",
        DeleteReports = false,
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := codebuild.NewReportGroup(ctx, "reportGroupResource", &codebuild.ReportGroupArgs{
    	ExportConfig: &codebuild.ReportGroupExportConfigArgs{
    		Type: pulumi.String("string"),
    		S3Destination: &codebuild.ReportGroupExportConfigS3DestinationArgs{
    			Bucket:             pulumi.String("string"),
    			EncryptionKey:      pulumi.String("string"),
    			EncryptionDisabled: pulumi.Bool(false),
    			Packaging:          pulumi.String("string"),
    			Path:               pulumi.String("string"),
    		},
    	},
    	Type:          pulumi.String("string"),
    	DeleteReports: pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var reportGroupResource = new ReportGroup("reportGroupResource", ReportGroupArgs.builder()
        .exportConfig(ReportGroupExportConfigArgs.builder()
            .type("string")
            .s3Destination(ReportGroupExportConfigS3DestinationArgs.builder()
                .bucket("string")
                .encryptionKey("string")
                .encryptionDisabled(false)
                .packaging("string")
                .path("string")
                .build())
            .build())
        .type("string")
        .deleteReports(false)
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    report_group_resource = aws.codebuild.ReportGroup("reportGroupResource",
        export_config={
            "type": "string",
            "s3_destination": {
                "bucket": "string",
                "encryption_key": "string",
                "encryption_disabled": False,
                "packaging": "string",
                "path": "string",
            },
        },
        type="string",
        delete_reports=False,
        name="string",
        tags={
            "string": "string",
        })
    
    const reportGroupResource = new aws.codebuild.ReportGroup("reportGroupResource", {
        exportConfig: {
            type: "string",
            s3Destination: {
                bucket: "string",
                encryptionKey: "string",
                encryptionDisabled: false,
                packaging: "string",
                path: "string",
            },
        },
        type: "string",
        deleteReports: false,
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:codebuild:ReportGroup
    properties:
        deleteReports: false
        exportConfig:
            s3Destination:
                bucket: string
                encryptionDisabled: false
                encryptionKey: string
                packaging: string
                path: string
            type: string
        name: string
        tags:
            string: string
        type: string
    

    ReportGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ReportGroup resource accepts the following input properties:

    ExportConfig ReportGroupExportConfig
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    Type string
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    DeleteReports bool
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    Name string
    The name of a Report Group.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    ExportConfig ReportGroupExportConfigArgs
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    Type string
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    DeleteReports bool
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    Name string
    The name of a Report Group.
    Tags map[string]string
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    exportConfig ReportGroupExportConfig
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    type String
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    deleteReports Boolean
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    name String
    The name of a Report Group.
    tags Map<String,String>
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    exportConfig ReportGroupExportConfig
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    type string
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    deleteReports boolean
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    name string
    The name of a Report Group.
    tags {[key: string]: string}
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    export_config ReportGroupExportConfigArgs
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    type str
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    delete_reports bool
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    name str
    The name of a Report Group.
    tags Mapping[str, str]
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    exportConfig Property Map
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    type String
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    deleteReports Boolean
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    name String
    The name of a Report Group.
    tags Map<String>
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ReportGroup resource produces the following output properties:

    Arn string
    The ARN of Report Group.
    Created string
    The date and time this Report Group was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    The ARN of Report Group.
    Created string
    The date and time this Report Group was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The ARN of Report Group.
    created String
    The date and time this Report Group was created.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    The ARN of Report Group.
    created string
    The date and time this Report Group was created.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    The ARN of Report Group.
    created str
    The date and time this Report Group was created.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The ARN of Report Group.
    created String
    The date and time this Report Group was created.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing ReportGroup Resource

    Get an existing ReportGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ReportGroupState, opts?: CustomResourceOptions): ReportGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            created: Optional[str] = None,
            delete_reports: Optional[bool] = None,
            export_config: Optional[ReportGroupExportConfigArgs] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            type: Optional[str] = None) -> ReportGroup
    func GetReportGroup(ctx *Context, name string, id IDInput, state *ReportGroupState, opts ...ResourceOption) (*ReportGroup, error)
    public static ReportGroup Get(string name, Input<string> id, ReportGroupState? state, CustomResourceOptions? opts = null)
    public static ReportGroup get(String name, Output<String> id, ReportGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    The ARN of Report Group.
    Created string
    The date and time this Report Group was created.
    DeleteReports bool
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    ExportConfig ReportGroupExportConfig
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    Name string
    The name of a Report Group.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    Arn string
    The ARN of Report Group.
    Created string
    The date and time this Report Group was created.
    DeleteReports bool
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    ExportConfig ReportGroupExportConfigArgs
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    Name string
    The name of a Report Group.
    Tags map[string]string
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    arn String
    The ARN of Report Group.
    created String
    The date and time this Report Group was created.
    deleteReports Boolean
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    exportConfig ReportGroupExportConfig
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    name String
    The name of a Report Group.
    tags Map<String,String>
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    arn string
    The ARN of Report Group.
    created string
    The date and time this Report Group was created.
    deleteReports boolean
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    exportConfig ReportGroupExportConfig
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    name string
    The name of a Report Group.
    tags {[key: string]: string}
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type string
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    arn str
    The ARN of Report Group.
    created str
    The date and time this Report Group was created.
    delete_reports bool
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    export_config ReportGroupExportConfigArgs
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    name str
    The name of a Report Group.
    tags Mapping[str, str]
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type str
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.
    arn String
    The ARN of Report Group.
    created String
    The date and time this Report Group was created.
    deleteReports Boolean
    If true, deletes any reports that belong to a report group before deleting the report group. If false, you must delete any reports in the report group before deleting it. Default value is false.
    exportConfig Property Map
    Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
    name String
    The name of a Report Group.
    tags Map<String>
    Key-value mapping of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    The type of the Report Group. Valid value are TEST and CODE_COVERAGE.

    Supporting Types

    ReportGroupExportConfig, ReportGroupExportConfigArgs

    Type string
    The export configuration type. Valid values are S3 and NO_EXPORT.
    S3Destination ReportGroupExportConfigS3Destination
    contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
    Type string
    The export configuration type. Valid values are S3 and NO_EXPORT.
    S3Destination ReportGroupExportConfigS3Destination
    contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
    type String
    The export configuration type. Valid values are S3 and NO_EXPORT.
    s3Destination ReportGroupExportConfigS3Destination
    contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
    type string
    The export configuration type. Valid values are S3 and NO_EXPORT.
    s3Destination ReportGroupExportConfigS3Destination
    contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
    type str
    The export configuration type. Valid values are S3 and NO_EXPORT.
    s3_destination ReportGroupExportConfigS3Destination
    contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
    type String
    The export configuration type. Valid values are S3 and NO_EXPORT.
    s3Destination Property Map
    contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.

    ReportGroupExportConfigS3Destination, ReportGroupExportConfigS3DestinationArgs

    Bucket string
    The name of the S3 bucket where the raw data of a report are exported.
    EncryptionKey string
    The encryption key for the report's encrypted raw data. The KMS key ARN.
    EncryptionDisabled bool
    A boolean value that specifies if the results of a report are encrypted. Note: the API does not currently allow setting encryption as disabled
    Packaging string
    The type of build output artifact to create. Valid values are: NONE (default) and ZIP.
    Path string
    The path to the exported report's raw data results.
    Bucket string
    The name of the S3 bucket where the raw data of a report are exported.
    EncryptionKey string
    The encryption key for the report's encrypted raw data. The KMS key ARN.
    EncryptionDisabled bool
    A boolean value that specifies if the results of a report are encrypted. Note: the API does not currently allow setting encryption as disabled
    Packaging string
    The type of build output artifact to create. Valid values are: NONE (default) and ZIP.
    Path string
    The path to the exported report's raw data results.
    bucket String
    The name of the S3 bucket where the raw data of a report are exported.
    encryptionKey String
    The encryption key for the report's encrypted raw data. The KMS key ARN.
    encryptionDisabled Boolean
    A boolean value that specifies if the results of a report are encrypted. Note: the API does not currently allow setting encryption as disabled
    packaging String
    The type of build output artifact to create. Valid values are: NONE (default) and ZIP.
    path String
    The path to the exported report's raw data results.
    bucket string
    The name of the S3 bucket where the raw data of a report are exported.
    encryptionKey string
    The encryption key for the report's encrypted raw data. The KMS key ARN.
    encryptionDisabled boolean
    A boolean value that specifies if the results of a report are encrypted. Note: the API does not currently allow setting encryption as disabled
    packaging string
    The type of build output artifact to create. Valid values are: NONE (default) and ZIP.
    path string
    The path to the exported report's raw data results.
    bucket str
    The name of the S3 bucket where the raw data of a report are exported.
    encryption_key str
    The encryption key for the report's encrypted raw data. The KMS key ARN.
    encryption_disabled bool
    A boolean value that specifies if the results of a report are encrypted. Note: the API does not currently allow setting encryption as disabled
    packaging str
    The type of build output artifact to create. Valid values are: NONE (default) and ZIP.
    path str
    The path to the exported report's raw data results.
    bucket String
    The name of the S3 bucket where the raw data of a report are exported.
    encryptionKey String
    The encryption key for the report's encrypted raw data. The KMS key ARN.
    encryptionDisabled Boolean
    A boolean value that specifies if the results of a report are encrypted. Note: the API does not currently allow setting encryption as disabled
    packaging String
    The type of build output artifact to create. Valid values are: NONE (default) and ZIP.
    path String
    The path to the exported report's raw data results.

    Import

    Using pulumi import, import CodeBuild Report Group using the CodeBuild Report Group arn. For example:

    $ pulumi import aws:codebuild/reportGroup:ReportGroup example arn:aws:codebuild:us-west-2:123456789:report-group/report-group-name
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi