CfnDefaultHostManagementConfigurationProps Struct
Properties for defining a CfnDefaultHostManagementConfiguration.
| Source |
|---|
Example
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
# 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
// 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();
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"
};
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
customerManagedRoleArnoptionalstringcustomer_managed_role_arnoptionalstrcustomerManagedRoleArnoptionalStringCustomerManagedRoleArnoptionalstringCustomerManagedRoleArnoptional*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.
permissionModelstringpermission_modelstrpermissionModelStringPermissionModelstringPermissionModel*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.