Skip to content

Latest commit

 

History

History
162 lines (90 loc) · 4.33 KB

File metadata and controls

162 lines (90 loc) · 4.33 KB

API Reference

Constructs

ManagedInstanceRole

Initializers

import { ManagedInstanceRole } from '@renovosolutions/cdk-library-managed-instance-role'

new ManagedInstanceRole(scope: Construct, id: string, props: ManagedInstanceRoleProps)
scopeRequired

idRequired
  • Type: string

propsRequired

Properties

arnRequired
public readonly arn: string;
  • Type: string

The role arn.


nameRequired
public readonly name: string;
  • Type: string

The role name.


roleRequired
public readonly role: Role;

The role.


instanceProfileOptional
public readonly instanceProfile: CfnInstanceProfile;

The CfnInstanceProfile automatically created for this role.


Structs

ManagedInstanceRoleProps

Initializer

import { ManagedInstanceRoleProps } from '@renovosolutions/cdk-library-managed-instance-role'

const managedInstanceRoleProps: ManagedInstanceRoleProps = { ... }
createInstanceProfileOptional
public readonly createInstanceProfile: boolean;
  • Type: boolean
  • Default: true

Whether or not to associate the role with an instance profile.


domainJoinEnabledOptional
public readonly domainJoinEnabled: boolean;
  • Type: boolean

Should the role include directory service access with SSM.


managedPoliciesOptional
public readonly managedPolicies: ManagedPolicy[];

The managed policies to apply to the role in addition to the default policies.


retentionPolicyOptional
public readonly retentionPolicy: boolean;
  • Type: boolean

The retention policy for this role.


ssmManagementEnabledOptional
public readonly ssmManagementEnabled: boolean;
  • Type: boolean

Should the role include SSM management.

By default if domainJoinEnabled is true then this role is always included.