Class ViaServicePrincipal

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.PrincipalBase
software.amazon.awscdk.services.kms.ViaServicePrincipal
All Implemented Interfaces:
IAssumeRolePrincipal, IComparablePrincipal, IGrantable, IPrincipal, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:03.880Z") @Stability(Stable) public class ViaServicePrincipal extends PrincipalBase
A principal to allow access to a key if it's being used through another AWS service.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iam.*;
 import software.amazon.awscdk.services.kms.*;
 IPrincipal principal;
 ViaServicePrincipal viaServicePrincipal = new ViaServicePrincipal("serviceName", principal);
 
  • Constructor Details

    • ViaServicePrincipal

      protected ViaServicePrincipal(software.amazon.jsii.JsiiObjectRef objRef)
    • ViaServicePrincipal

      protected ViaServicePrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ViaServicePrincipal

      @Stability(Stable) public ViaServicePrincipal(@NotNull String serviceName, @Nullable IPrincipal basePrincipal)
      Parameters:
      serviceName - This parameter is required.
      basePrincipal -
    • ViaServicePrincipal

      @Stability(Stable) public ViaServicePrincipal(@NotNull String serviceName)
      Parameters:
      serviceName - This parameter is required.
  • Method Details