# CfnModelPackageGroupProps

Properties for defining a `CfnModelPackageGroup`.

Used as props by: [CfnModelPackageGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelPackageGroup.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';

declare const modelPackageGroupPolicy: any;
const cfnModelPackageGroupProps: sagemaker.CfnModelPackageGroupProps = {
  modelPackageGroupName: 'modelPackageGroupName',

  // the properties below are optional
  modelPackageGroupDescription: 'modelPackageGroupDescription',
  modelPackageGroupPolicy: modelPackageGroupPolicy,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

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

# model_package_group_policy: Any

cfn_model_package_group_props = sagemaker.CfnModelPackageGroupProps(
    model_package_group_name="modelPackageGroupName",

    # the properties below are optional
    model_package_group_description="modelPackageGroupDescription",
    model_package_group_policy=model_package_group_policy,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.sagemaker.*;

Object modelPackageGroupPolicy;

CfnModelPackageGroupProps cfnModelPackageGroupProps = CfnModelPackageGroupProps.builder()
        .modelPackageGroupName("modelPackageGroupName")

        // the properties below are optional
        .modelPackageGroupDescription("modelPackageGroupDescription")
        .modelPackageGroupPolicy(modelPackageGroupPolicy)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.Sagemaker;

var modelPackageGroupPolicy;

var cfnModelPackageGroupProps = new CfnModelPackageGroupProps {
    ModelPackageGroupName = "modelPackageGroupName",

    // the properties below are optional
    ModelPackageGroupDescription = "modelPackageGroupDescription",
    ModelPackageGroupPolicy = modelPackageGroupPolicy,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

var modelPackageGroupPolicy interface{}

cfnModelPackageGroupProps := &CfnModelPackageGroupProps{
	ModelPackageGroupName: jsii.String("modelPackageGroupName"),

	// the properties below are optional
	ModelPackageGroupDescription: jsii.String("modelPackageGroupDescription"),
	ModelPackageGroupPolicy: modelPackageGroupPolicy,
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `modelPackageGroupDescription`: string — The description for the model group.

- `modelPackageGroupName`: string (required) — The name of the model group.

- `modelPackageGroupPolicy`: any — A resouce policy to control access to a model group.

  For information about resoure policies, see [Identity-based policies and resource-based policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) in the *AWS Identity and Access Management User Guide.* .

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
