ServicePrincipalOpts

class aws_cdk.aws_iam.ServicePrincipalOpts(*, conditions=None, region=None)

Bases: object

__init__(*, conditions=None, region=None)

Options for a service principal.

Parameters
  • conditions (Optional[Mapping[str, Any]]) – Additional conditions to add to the Service Principal. Default: - No conditions

  • region (Optional[str]) – The region in which the service is operating. Default: the current Stack’s region.

Return type

None

Attributes

conditions

Additional conditions to add to the Service Principal.

default :default: - No conditions

Return type

Optional[Mapping[str, Any]]

region

The region in which the service is operating.

default :default: the current Stack’s region.

Return type

Optional[str]