ServicePrincipalOpts

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

Bases: object

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.

Attributes

conditions

Additional conditions to add to the Service Principal.

Default
  • No conditions

Return type

Optional[Mapping[str, Any]]

region

The region in which the service is operating.

Default

the current Stack’s region.

Return type

Optional[str]