CfnReportGroupPropsMixin
- class aws_cdk.mixins_preview.aws_codebuild.mixins.CfnReportGroupPropsMixin(props, *, strategy=None)
Bases:
MixinRepresents a report group.
A report group contains a collection of reports.
- See:
- CloudformationResource:
AWS::CodeBuild::ReportGroup
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_codebuild import mixins as codebuild_mixins cfn_report_group_props_mixin = codebuild_mixins.CfnReportGroupPropsMixin(codebuild_mixins.CfnReportGroupMixinProps( delete_reports=False, export_config=codebuild_mixins.CfnReportGroupPropsMixin.ReportExportConfigProperty( export_config_type="exportConfigType", s3_destination=codebuild_mixins.CfnReportGroupPropsMixin.S3ReportExportConfigProperty( bucket="bucket", bucket_owner="bucketOwner", encryption_disabled=False, encryption_key="encryptionKey", packaging="packaging", path="path" ) ), name="name", tags=[CfnTag( key="key", value="value" )], type="type" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::CodeBuild::ReportGroup.- Parameters:
props (
Union[CfnReportGroupMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['deleteReports', 'exportConfig', 'name', 'tags', 'type']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ReportExportConfigProperty
- class CfnReportGroupPropsMixin.ReportExportConfigProperty(*, export_config_type=None, s3_destination=None)
Bases:
objectInformation about the location where the run of a report is exported.
- Parameters:
export_config_type (
Optional[str]) – The export configuration type. Valid values are:. -S3: The report results are exported to an S3 bucket. -NO_EXPORT: The report results are not exported.s3_destination (
Union[IResolvable,S3ReportExportConfigProperty,Dict[str,Any],None]) – AS3ReportExportConfigobject that contains information about the S3 bucket where the run of a report is exported.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_codebuild import mixins as codebuild_mixins report_export_config_property = codebuild_mixins.CfnReportGroupPropsMixin.ReportExportConfigProperty( export_config_type="exportConfigType", s3_destination=codebuild_mixins.CfnReportGroupPropsMixin.S3ReportExportConfigProperty( bucket="bucket", bucket_owner="bucketOwner", encryption_disabled=False, encryption_key="encryptionKey", packaging="packaging", path="path" ) )
Attributes
- export_config_type
.
S3: The report results are exported to an S3 bucket.NO_EXPORT: The report results are not exported.
- See:
- Type:
The export configuration type. Valid values are
- s3_destination
A
S3ReportExportConfigobject that contains information about the S3 bucket where the run of a report is exported.
S3ReportExportConfigProperty
- class CfnReportGroupPropsMixin.S3ReportExportConfigProperty(*, bucket=None, bucket_owner=None, encryption_disabled=None, encryption_key=None, packaging=None, path=None)
Bases:
objectInformation about the S3 bucket where the raw data of a report are exported.
- Parameters:
bucket (
Optional[str]) – The name of the S3 bucket where the raw data of a report are exported.bucket_owner (
Optional[str]) – The AWS account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.encryption_disabled (
Union[bool,IResolvable,None]) – A boolean value that specifies if the results of a report are encrypted.encryption_key (
Optional[str]) – The encryption key for the report’s encrypted raw data.packaging (
Optional[str]) – The type of build output artifact to create. Valid values include:. -NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified. -ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.path (
Optional[str]) – The path to the exported report’s raw data results.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_codebuild import mixins as codebuild_mixins s3_report_export_config_property = codebuild_mixins.CfnReportGroupPropsMixin.S3ReportExportConfigProperty( bucket="bucket", bucket_owner="bucketOwner", encryption_disabled=False, encryption_key="encryptionKey", packaging="packaging", path="path" )
Attributes
- bucket
The name of the S3 bucket where the raw data of a report are exported.
- bucket_owner
The AWS account identifier of the owner of the Amazon S3 bucket.
This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.
- encryption_disabled
A boolean value that specifies if the results of a report are encrypted.
- encryption_key
The encryption key for the report’s encrypted raw data.
- packaging
.
NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.
- See:
- Type:
The type of build output artifact to create. Valid values include
- path
The path to the exported report’s raw data results.