# CfnDefaultHostManagementConfigurationProps

Properties for defining a `CfnDefaultHostManagementConfiguration`.

Used as props by: [CfnDefaultHostManagementConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ssm.CfnDefaultHostManagementConfiguration.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_ssm as ssm } from 'aws-cdk-lib';
const cfnDefaultHostManagementConfigurationProps: ssm.CfnDefaultHostManagementConfigurationProps = {
  permissionModel: 'permissionModel',

  // the properties below are optional
  customerManagedRoleArn: 'customerManagedRoleArn',
};
```

Python:

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

cfn_default_host_management_configuration_props = ssm.CfnDefaultHostManagementConfigurationProps(
    permission_model="permissionModel",

    # the properties below are optional
    customer_managed_role_arn="customerManagedRoleArn"
)
```

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

CfnDefaultHostManagementConfigurationProps cfnDefaultHostManagementConfigurationProps = CfnDefaultHostManagementConfigurationProps.builder()
        .permissionModel("permissionModel")

        // the properties below are optional
        .customerManagedRoleArn("customerManagedRoleArn")
        .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.SSM;

var cfnDefaultHostManagementConfigurationProps = new CfnDefaultHostManagementConfigurationProps {
    PermissionModel = "permissionModel",

    // the properties below are optional
    CustomerManagedRoleArn = "customerManagedRoleArn"
};
```

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"

cfnDefaultHostManagementConfigurationProps := &CfnDefaultHostManagementConfigurationProps{
	PermissionModel: jsii.String("permissionModel"),

	// the properties below are optional
	CustomerManagedRoleArn: jsii.String("customerManagedRoleArn"),
}
```

## Properties

- `customerManagedRoleArn`: string — The ARN of the customer-provided IAM role to register for DHMC.

  Required when PermissionModel is SELF_MANAGED and must not be set when PermissionModel is SERVICE_MANAGED.

- `permissionModel`: string (required) — The permission model used to enable DHMC.

  SERVICE_MANAGED lets SSM create and manage the DHMC IAM role on your behalf. SELF_MANAGED registers an IAM role that you provide.
