Documentation ¶
Index ¶
- Constants
- func AccountIdFromARN(input string) (string, error)
- func Convert[T any, R any](slice []T, f func(in T) R) []R
- func GrantID(entitlement *v2.Entitlement, principalId *v2.ResourceId) string
- func IsValidRoleARN(input string) error
- func MembershipEntitlementID(resource *v2.ResourceId) string
- func ResourceWithoutPath(resourceType string, input string) (string, error)
- func SsoUserResource(ctx context.Context, user awsIdentityStoreTypes.User, region string, ...) (*v2.Resource, error)
- type AWS
- func (c *AWS) Asset(ctx context.Context, asset *v2.AssetRef) (string, io.ReadCloser, error)
- func (c *AWS) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)
- func (c *AWS) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
- func (c *AWS) Validate(ctx context.Context) (annotations.Annotations, error)
- type Config
- type PermissionSetBinding
Constants ¶
View Source
const GrantIDTemplate = "grant:%s:%s:%s"
The format of grant IDs follows: 'grant:principal-type:principal-id:entitlement'.
View Source
const MembershipEntitlementIDTemplate = "%s:%s:member"
Variables ¶
This section is empty.
Functions ¶
func AccountIdFromARN ¶
func GrantID ¶
func GrantID(entitlement *v2.Entitlement, principalId *v2.ResourceId) string
func IsValidRoleARN ¶
func MembershipEntitlementID ¶
func MembershipEntitlementID(resource *v2.ResourceId) string
func ResourceWithoutPath ¶
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (*AWS) ResourceSyncers ¶
func (c *AWS) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
func (*AWS) Validate ¶
func (c *AWS) Validate(ctx context.Context) (annotations.Annotations, error)
type PermissionSetBinding ¶
func (*PermissionSetBinding) String ¶
func (psm *PermissionSetBinding) String() string
func (*PermissionSetBinding) UnmarshalText ¶
func (psm *PermissionSetBinding) UnmarshalText(data []byte) error
Click to show internal directories.
Click to hide internal directories.