verifiedpermissions

package
v0.111.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PolicyStoreValidationModeOff    = PolicyStoreValidationMode("OFF")
	PolicyStoreValidationModeStrict = PolicyStoreValidationMode("STRICT")
)
View Source
const (
	PolicyTypeStatic         = PolicyType("STATIC")
	PolicyTypeTemplateLinked = PolicyType("TEMPLATE_LINKED")
)
View Source
const (
	IdentitySourceOpenIdIssuerCognito = IdentitySourceOpenIdIssuer("COGNITO")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentitySource

type IdentitySource struct {
	pulumi.CustomResourceState

	// Contains configuration information used when creating a new identity source.
	Configuration pulumi.AnyOutput            `pulumi:"configuration"`
	Details       IdentitySourceDetailsOutput `pulumi:"details"`
	// The unique ID of the new or updated identity store.
	IdentitySourceId pulumi.StringOutput `pulumi:"identitySourceId"`
	// Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
	PolicyStoreId pulumi.StringOutput `pulumi:"policyStoreId"`
	// Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
	PrincipalEntityType pulumi.StringPtrOutput `pulumi:"principalEntityType"`
}

Definition of AWS::VerifiedPermissions::IdentitySource Resource Type

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/verifiedpermissions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		policyStoreId := cfg.Require("policyStoreId")
		userPoolArn := cfg.Require("userPoolArn")
		clientIds := cfg.Require("clientIds")
		principalEntityType := cfg.Require("principalEntityType")
		identitySource, err := verifiedpermissions.NewIdentitySource(ctx, "identitySource", &verifiedpermissions.IdentitySourceArgs{
			PolicyStoreId: pulumi.String(policyStoreId),
			Configuration: &verifiedpermissions.IdentitySourceConfiguration0PropertiesArgs{
				CognitoUserPoolConfiguration: &verifiedpermissions.IdentitySourceCognitoUserPoolConfigurationArgs{
					UserPoolArn: pulumi.String(userPoolArn),
					ClientIds:   clientIds,
				},
			},
			PrincipalEntityType: pulumi.String(principalEntityType),
		})
		if err != nil {
			return err
		}
		ctx.Export("identitySourceId", identitySource.IdentitySourceId)
		return nil
	})
}

```

func GetIdentitySource

func GetIdentitySource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IdentitySourceState, opts ...pulumi.ResourceOption) (*IdentitySource, error)

GetIdentitySource gets an existing IdentitySource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIdentitySource

func NewIdentitySource(ctx *pulumi.Context,
	name string, args *IdentitySourceArgs, opts ...pulumi.ResourceOption) (*IdentitySource, error)

NewIdentitySource registers a new resource with the given unique name, arguments, and options.

func (*IdentitySource) ElementType

func (*IdentitySource) ElementType() reflect.Type

func (*IdentitySource) ToIdentitySourceOutput

func (i *IdentitySource) ToIdentitySourceOutput() IdentitySourceOutput

func (*IdentitySource) ToIdentitySourceOutputWithContext

func (i *IdentitySource) ToIdentitySourceOutputWithContext(ctx context.Context) IdentitySourceOutput

type IdentitySourceArgs

type IdentitySourceArgs struct {
	// Contains configuration information used when creating a new identity source.
	Configuration pulumi.Input
	// Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
	PolicyStoreId pulumi.StringInput
	// Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
	PrincipalEntityType pulumi.StringPtrInput
}

The set of arguments for constructing a IdentitySource resource.

func (IdentitySourceArgs) ElementType

func (IdentitySourceArgs) ElementType() reflect.Type

type IdentitySourceCognitoGroupConfiguration added in v0.101.0

type IdentitySourceCognitoGroupConfiguration struct {
	GroupEntityType string `pulumi:"groupEntityType"`
}

type IdentitySourceCognitoGroupConfigurationArgs added in v0.101.0

type IdentitySourceCognitoGroupConfigurationArgs struct {
	GroupEntityType pulumi.StringInput `pulumi:"groupEntityType"`
}

func (IdentitySourceCognitoGroupConfigurationArgs) ElementType added in v0.101.0

func (IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationOutput added in v0.101.0

func (i IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationOutput() IdentitySourceCognitoGroupConfigurationOutput

func (IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationOutputWithContext added in v0.101.0

func (i IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationOutputWithContext(ctx context.Context) IdentitySourceCognitoGroupConfigurationOutput

func (IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationPtrOutput added in v0.101.0

func (i IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationPtrOutput() IdentitySourceCognitoGroupConfigurationPtrOutput

func (IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext added in v0.101.0

func (i IdentitySourceCognitoGroupConfigurationArgs) ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceCognitoGroupConfigurationPtrOutput

type IdentitySourceCognitoGroupConfigurationInput added in v0.101.0

type IdentitySourceCognitoGroupConfigurationInput interface {
	pulumi.Input

	ToIdentitySourceCognitoGroupConfigurationOutput() IdentitySourceCognitoGroupConfigurationOutput
	ToIdentitySourceCognitoGroupConfigurationOutputWithContext(context.Context) IdentitySourceCognitoGroupConfigurationOutput
}

IdentitySourceCognitoGroupConfigurationInput is an input type that accepts IdentitySourceCognitoGroupConfigurationArgs and IdentitySourceCognitoGroupConfigurationOutput values. You can construct a concrete instance of `IdentitySourceCognitoGroupConfigurationInput` via:

IdentitySourceCognitoGroupConfigurationArgs{...}

type IdentitySourceCognitoGroupConfigurationOutput added in v0.101.0

type IdentitySourceCognitoGroupConfigurationOutput struct{ *pulumi.OutputState }

func (IdentitySourceCognitoGroupConfigurationOutput) ElementType added in v0.101.0

func (IdentitySourceCognitoGroupConfigurationOutput) GroupEntityType added in v0.101.0

func (IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationOutput added in v0.101.0

func (o IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationOutput() IdentitySourceCognitoGroupConfigurationOutput

func (IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationOutputWithContext added in v0.101.0

func (o IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationOutputWithContext(ctx context.Context) IdentitySourceCognitoGroupConfigurationOutput

func (IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutput added in v0.101.0

func (o IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutput() IdentitySourceCognitoGroupConfigurationPtrOutput

func (IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext added in v0.101.0

func (o IdentitySourceCognitoGroupConfigurationOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceCognitoGroupConfigurationPtrOutput

type IdentitySourceCognitoGroupConfigurationPtrInput added in v0.101.0

type IdentitySourceCognitoGroupConfigurationPtrInput interface {
	pulumi.Input

	ToIdentitySourceCognitoGroupConfigurationPtrOutput() IdentitySourceCognitoGroupConfigurationPtrOutput
	ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext(context.Context) IdentitySourceCognitoGroupConfigurationPtrOutput
}

IdentitySourceCognitoGroupConfigurationPtrInput is an input type that accepts IdentitySourceCognitoGroupConfigurationArgs, IdentitySourceCognitoGroupConfigurationPtr and IdentitySourceCognitoGroupConfigurationPtrOutput values. You can construct a concrete instance of `IdentitySourceCognitoGroupConfigurationPtrInput` via:

        IdentitySourceCognitoGroupConfigurationArgs{...}

or:

        nil

type IdentitySourceCognitoGroupConfigurationPtrOutput added in v0.101.0

type IdentitySourceCognitoGroupConfigurationPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceCognitoGroupConfigurationPtrOutput) Elem added in v0.101.0

func (IdentitySourceCognitoGroupConfigurationPtrOutput) ElementType added in v0.101.0

func (IdentitySourceCognitoGroupConfigurationPtrOutput) GroupEntityType added in v0.101.0

func (IdentitySourceCognitoGroupConfigurationPtrOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutput added in v0.101.0

func (o IdentitySourceCognitoGroupConfigurationPtrOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutput() IdentitySourceCognitoGroupConfigurationPtrOutput

func (IdentitySourceCognitoGroupConfigurationPtrOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext added in v0.101.0

func (o IdentitySourceCognitoGroupConfigurationPtrOutput) ToIdentitySourceCognitoGroupConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceCognitoGroupConfigurationPtrOutput

type IdentitySourceCognitoUserPoolConfiguration

type IdentitySourceCognitoUserPoolConfiguration struct {
	ClientIds          []string                                 `pulumi:"clientIds"`
	GroupConfiguration *IdentitySourceCognitoGroupConfiguration `pulumi:"groupConfiguration"`
	UserPoolArn        string                                   `pulumi:"userPoolArn"`
}

type IdentitySourceCognitoUserPoolConfigurationArgs

type IdentitySourceCognitoUserPoolConfigurationArgs struct {
	ClientIds          pulumi.StringArrayInput                         `pulumi:"clientIds"`
	GroupConfiguration IdentitySourceCognitoGroupConfigurationPtrInput `pulumi:"groupConfiguration"`
	UserPoolArn        pulumi.StringInput                              `pulumi:"userPoolArn"`
}

func (IdentitySourceCognitoUserPoolConfigurationArgs) ElementType

func (IdentitySourceCognitoUserPoolConfigurationArgs) ToIdentitySourceCognitoUserPoolConfigurationOutput

func (i IdentitySourceCognitoUserPoolConfigurationArgs) ToIdentitySourceCognitoUserPoolConfigurationOutput() IdentitySourceCognitoUserPoolConfigurationOutput

func (IdentitySourceCognitoUserPoolConfigurationArgs) ToIdentitySourceCognitoUserPoolConfigurationOutputWithContext

func (i IdentitySourceCognitoUserPoolConfigurationArgs) ToIdentitySourceCognitoUserPoolConfigurationOutputWithContext(ctx context.Context) IdentitySourceCognitoUserPoolConfigurationOutput

type IdentitySourceCognitoUserPoolConfigurationInput

type IdentitySourceCognitoUserPoolConfigurationInput interface {
	pulumi.Input

	ToIdentitySourceCognitoUserPoolConfigurationOutput() IdentitySourceCognitoUserPoolConfigurationOutput
	ToIdentitySourceCognitoUserPoolConfigurationOutputWithContext(context.Context) IdentitySourceCognitoUserPoolConfigurationOutput
}

IdentitySourceCognitoUserPoolConfigurationInput is an input type that accepts IdentitySourceCognitoUserPoolConfigurationArgs and IdentitySourceCognitoUserPoolConfigurationOutput values. You can construct a concrete instance of `IdentitySourceCognitoUserPoolConfigurationInput` via:

IdentitySourceCognitoUserPoolConfigurationArgs{...}

type IdentitySourceCognitoUserPoolConfigurationOutput

type IdentitySourceCognitoUserPoolConfigurationOutput struct{ *pulumi.OutputState }

func (IdentitySourceCognitoUserPoolConfigurationOutput) ClientIds

func (IdentitySourceCognitoUserPoolConfigurationOutput) ElementType

func (IdentitySourceCognitoUserPoolConfigurationOutput) GroupConfiguration added in v0.101.0

func (IdentitySourceCognitoUserPoolConfigurationOutput) ToIdentitySourceCognitoUserPoolConfigurationOutput

func (o IdentitySourceCognitoUserPoolConfigurationOutput) ToIdentitySourceCognitoUserPoolConfigurationOutput() IdentitySourceCognitoUserPoolConfigurationOutput

func (IdentitySourceCognitoUserPoolConfigurationOutput) ToIdentitySourceCognitoUserPoolConfigurationOutputWithContext

func (o IdentitySourceCognitoUserPoolConfigurationOutput) ToIdentitySourceCognitoUserPoolConfigurationOutputWithContext(ctx context.Context) IdentitySourceCognitoUserPoolConfigurationOutput

func (IdentitySourceCognitoUserPoolConfigurationOutput) UserPoolArn

type IdentitySourceCognitoUserPoolConfigurationPtrOutput

type IdentitySourceCognitoUserPoolConfigurationPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) ClientIds

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) Elem

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) ElementType

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) GroupConfiguration added in v0.101.0

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) ToIdentitySourceCognitoUserPoolConfigurationPtrOutput

func (o IdentitySourceCognitoUserPoolConfigurationPtrOutput) ToIdentitySourceCognitoUserPoolConfigurationPtrOutput() IdentitySourceCognitoUserPoolConfigurationPtrOutput

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) ToIdentitySourceCognitoUserPoolConfigurationPtrOutputWithContext

func (o IdentitySourceCognitoUserPoolConfigurationPtrOutput) ToIdentitySourceCognitoUserPoolConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceCognitoUserPoolConfigurationPtrOutput

func (IdentitySourceCognitoUserPoolConfigurationPtrOutput) UserPoolArn

type IdentitySourceConfiguration0Properties added in v0.106.0

type IdentitySourceConfiguration0Properties struct {
	CognitoUserPoolConfiguration IdentitySourceCognitoUserPoolConfiguration `pulumi:"cognitoUserPoolConfiguration"`
}

type IdentitySourceConfiguration0PropertiesArgs added in v0.109.0

type IdentitySourceConfiguration0PropertiesArgs struct {
	CognitoUserPoolConfiguration IdentitySourceCognitoUserPoolConfigurationInput `pulumi:"cognitoUserPoolConfiguration"`
}

func (IdentitySourceConfiguration0PropertiesArgs) ElementType added in v0.109.0

func (IdentitySourceConfiguration0PropertiesArgs) ToIdentitySourceConfiguration0PropertiesOutput added in v0.109.0

func (i IdentitySourceConfiguration0PropertiesArgs) ToIdentitySourceConfiguration0PropertiesOutput() IdentitySourceConfiguration0PropertiesOutput

func (IdentitySourceConfiguration0PropertiesArgs) ToIdentitySourceConfiguration0PropertiesOutputWithContext added in v0.109.0

func (i IdentitySourceConfiguration0PropertiesArgs) ToIdentitySourceConfiguration0PropertiesOutputWithContext(ctx context.Context) IdentitySourceConfiguration0PropertiesOutput

type IdentitySourceConfiguration0PropertiesInput added in v0.109.0

type IdentitySourceConfiguration0PropertiesInput interface {
	pulumi.Input

	ToIdentitySourceConfiguration0PropertiesOutput() IdentitySourceConfiguration0PropertiesOutput
	ToIdentitySourceConfiguration0PropertiesOutputWithContext(context.Context) IdentitySourceConfiguration0PropertiesOutput
}

IdentitySourceConfiguration0PropertiesInput is an input type that accepts IdentitySourceConfiguration0PropertiesArgs and IdentitySourceConfiguration0PropertiesOutput values. You can construct a concrete instance of `IdentitySourceConfiguration0PropertiesInput` via:

IdentitySourceConfiguration0PropertiesArgs{...}

type IdentitySourceConfiguration0PropertiesOutput added in v0.109.0

type IdentitySourceConfiguration0PropertiesOutput struct{ *pulumi.OutputState }

func (IdentitySourceConfiguration0PropertiesOutput) CognitoUserPoolConfiguration added in v0.109.0

func (IdentitySourceConfiguration0PropertiesOutput) ElementType added in v0.109.0

func (IdentitySourceConfiguration0PropertiesOutput) ToIdentitySourceConfiguration0PropertiesOutput added in v0.109.0

func (o IdentitySourceConfiguration0PropertiesOutput) ToIdentitySourceConfiguration0PropertiesOutput() IdentitySourceConfiguration0PropertiesOutput

func (IdentitySourceConfiguration0PropertiesOutput) ToIdentitySourceConfiguration0PropertiesOutputWithContext added in v0.109.0

func (o IdentitySourceConfiguration0PropertiesOutput) ToIdentitySourceConfiguration0PropertiesOutputWithContext(ctx context.Context) IdentitySourceConfiguration0PropertiesOutput

type IdentitySourceConfiguration0PropertiesPtrOutput added in v0.109.0

type IdentitySourceConfiguration0PropertiesPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceConfiguration0PropertiesPtrOutput) CognitoUserPoolConfiguration added in v0.109.0

func (IdentitySourceConfiguration0PropertiesPtrOutput) Elem added in v0.109.0

func (IdentitySourceConfiguration0PropertiesPtrOutput) ElementType added in v0.109.0

func (IdentitySourceConfiguration0PropertiesPtrOutput) ToIdentitySourceConfiguration0PropertiesPtrOutput added in v0.109.0

func (o IdentitySourceConfiguration0PropertiesPtrOutput) ToIdentitySourceConfiguration0PropertiesPtrOutput() IdentitySourceConfiguration0PropertiesPtrOutput

func (IdentitySourceConfiguration0PropertiesPtrOutput) ToIdentitySourceConfiguration0PropertiesPtrOutputWithContext added in v0.109.0

func (o IdentitySourceConfiguration0PropertiesPtrOutput) ToIdentitySourceConfiguration0PropertiesPtrOutputWithContext(ctx context.Context) IdentitySourceConfiguration0PropertiesPtrOutput

type IdentitySourceConfiguration1Properties added in v0.109.0

type IdentitySourceConfiguration1Properties struct {
	OpenIdConnectConfiguration IdentitySourceOpenIdConnectConfiguration `pulumi:"openIdConnectConfiguration"`
}

type IdentitySourceConfiguration1PropertiesArgs added in v0.109.0

type IdentitySourceConfiguration1PropertiesArgs struct {
	OpenIdConnectConfiguration IdentitySourceOpenIdConnectConfigurationInput `pulumi:"openIdConnectConfiguration"`
}

func (IdentitySourceConfiguration1PropertiesArgs) ElementType added in v0.109.0

func (IdentitySourceConfiguration1PropertiesArgs) ToIdentitySourceConfiguration1PropertiesOutput added in v0.109.0

func (i IdentitySourceConfiguration1PropertiesArgs) ToIdentitySourceConfiguration1PropertiesOutput() IdentitySourceConfiguration1PropertiesOutput

func (IdentitySourceConfiguration1PropertiesArgs) ToIdentitySourceConfiguration1PropertiesOutputWithContext added in v0.109.0

func (i IdentitySourceConfiguration1PropertiesArgs) ToIdentitySourceConfiguration1PropertiesOutputWithContext(ctx context.Context) IdentitySourceConfiguration1PropertiesOutput

type IdentitySourceConfiguration1PropertiesInput added in v0.109.0

type IdentitySourceConfiguration1PropertiesInput interface {
	pulumi.Input

	ToIdentitySourceConfiguration1PropertiesOutput() IdentitySourceConfiguration1PropertiesOutput
	ToIdentitySourceConfiguration1PropertiesOutputWithContext(context.Context) IdentitySourceConfiguration1PropertiesOutput
}

IdentitySourceConfiguration1PropertiesInput is an input type that accepts IdentitySourceConfiguration1PropertiesArgs and IdentitySourceConfiguration1PropertiesOutput values. You can construct a concrete instance of `IdentitySourceConfiguration1PropertiesInput` via:

IdentitySourceConfiguration1PropertiesArgs{...}

type IdentitySourceConfiguration1PropertiesOutput added in v0.109.0

type IdentitySourceConfiguration1PropertiesOutput struct{ *pulumi.OutputState }

func (IdentitySourceConfiguration1PropertiesOutput) ElementType added in v0.109.0

func (IdentitySourceConfiguration1PropertiesOutput) OpenIdConnectConfiguration added in v0.109.0

func (IdentitySourceConfiguration1PropertiesOutput) ToIdentitySourceConfiguration1PropertiesOutput added in v0.109.0

func (o IdentitySourceConfiguration1PropertiesOutput) ToIdentitySourceConfiguration1PropertiesOutput() IdentitySourceConfiguration1PropertiesOutput

func (IdentitySourceConfiguration1PropertiesOutput) ToIdentitySourceConfiguration1PropertiesOutputWithContext added in v0.109.0

func (o IdentitySourceConfiguration1PropertiesOutput) ToIdentitySourceConfiguration1PropertiesOutputWithContext(ctx context.Context) IdentitySourceConfiguration1PropertiesOutput

type IdentitySourceConfiguration1PropertiesPtrOutput added in v0.109.0

type IdentitySourceConfiguration1PropertiesPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceConfiguration1PropertiesPtrOutput) Elem added in v0.109.0

func (IdentitySourceConfiguration1PropertiesPtrOutput) ElementType added in v0.109.0

func (IdentitySourceConfiguration1PropertiesPtrOutput) OpenIdConnectConfiguration added in v0.109.0

func (IdentitySourceConfiguration1PropertiesPtrOutput) ToIdentitySourceConfiguration1PropertiesPtrOutput added in v0.109.0

func (o IdentitySourceConfiguration1PropertiesPtrOutput) ToIdentitySourceConfiguration1PropertiesPtrOutput() IdentitySourceConfiguration1PropertiesPtrOutput

func (IdentitySourceConfiguration1PropertiesPtrOutput) ToIdentitySourceConfiguration1PropertiesPtrOutputWithContext added in v0.109.0

func (o IdentitySourceConfiguration1PropertiesPtrOutput) ToIdentitySourceConfiguration1PropertiesPtrOutputWithContext(ctx context.Context) IdentitySourceConfiguration1PropertiesPtrOutput

type IdentitySourceDetails

type IdentitySourceDetails struct {
	ClientIds    []string                    `pulumi:"clientIds"`
	DiscoveryUrl *string                     `pulumi:"discoveryUrl"`
	OpenIdIssuer *IdentitySourceOpenIdIssuer `pulumi:"openIdIssuer"`
	UserPoolArn  *string                     `pulumi:"userPoolArn"`
}

type IdentitySourceDetailsOutput

type IdentitySourceDetailsOutput struct{ *pulumi.OutputState }

func (IdentitySourceDetailsOutput) ClientIds

func (IdentitySourceDetailsOutput) DiscoveryUrl

func (IdentitySourceDetailsOutput) ElementType

func (IdentitySourceDetailsOutput) OpenIdIssuer

func (IdentitySourceDetailsOutput) ToIdentitySourceDetailsOutput

func (o IdentitySourceDetailsOutput) ToIdentitySourceDetailsOutput() IdentitySourceDetailsOutput

func (IdentitySourceDetailsOutput) ToIdentitySourceDetailsOutputWithContext

func (o IdentitySourceDetailsOutput) ToIdentitySourceDetailsOutputWithContext(ctx context.Context) IdentitySourceDetailsOutput

func (IdentitySourceDetailsOutput) UserPoolArn

type IdentitySourceDetailsPtrOutput

type IdentitySourceDetailsPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceDetailsPtrOutput) ClientIds

func (IdentitySourceDetailsPtrOutput) DiscoveryUrl

func (IdentitySourceDetailsPtrOutput) Elem

func (IdentitySourceDetailsPtrOutput) ElementType

func (IdentitySourceDetailsPtrOutput) OpenIdIssuer

func (IdentitySourceDetailsPtrOutput) ToIdentitySourceDetailsPtrOutput

func (o IdentitySourceDetailsPtrOutput) ToIdentitySourceDetailsPtrOutput() IdentitySourceDetailsPtrOutput

func (IdentitySourceDetailsPtrOutput) ToIdentitySourceDetailsPtrOutputWithContext

func (o IdentitySourceDetailsPtrOutput) ToIdentitySourceDetailsPtrOutputWithContext(ctx context.Context) IdentitySourceDetailsPtrOutput

func (IdentitySourceDetailsPtrOutput) UserPoolArn

type IdentitySourceInput

type IdentitySourceInput interface {
	pulumi.Input

	ToIdentitySourceOutput() IdentitySourceOutput
	ToIdentitySourceOutputWithContext(ctx context.Context) IdentitySourceOutput
}

type IdentitySourceOpenIdConnectAccessTokenConfiguration added in v0.109.0

type IdentitySourceOpenIdConnectAccessTokenConfiguration struct {
	Audiences        []string `pulumi:"audiences"`
	PrincipalIdClaim *string  `pulumi:"principalIdClaim"`
}

type IdentitySourceOpenIdConnectAccessTokenConfigurationArgs added in v0.109.0

type IdentitySourceOpenIdConnectAccessTokenConfigurationArgs struct {
	Audiences        pulumi.StringArrayInput `pulumi:"audiences"`
	PrincipalIdClaim pulumi.StringPtrInput   `pulumi:"principalIdClaim"`
}

func (IdentitySourceOpenIdConnectAccessTokenConfigurationArgs) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationArgs) ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutput added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationArgs) ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectAccessTokenConfigurationArgs) ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectAccessTokenConfigurationOutput

type IdentitySourceOpenIdConnectAccessTokenConfigurationInput added in v0.109.0

type IdentitySourceOpenIdConnectAccessTokenConfigurationInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutput() IdentitySourceOpenIdConnectAccessTokenConfigurationOutput
	ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutputWithContext(context.Context) IdentitySourceOpenIdConnectAccessTokenConfigurationOutput
}

IdentitySourceOpenIdConnectAccessTokenConfigurationInput is an input type that accepts IdentitySourceOpenIdConnectAccessTokenConfigurationArgs and IdentitySourceOpenIdConnectAccessTokenConfigurationOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectAccessTokenConfigurationInput` via:

IdentitySourceOpenIdConnectAccessTokenConfigurationArgs{...}

type IdentitySourceOpenIdConnectAccessTokenConfigurationOutput added in v0.109.0

type IdentitySourceOpenIdConnectAccessTokenConfigurationOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectAccessTokenConfigurationOutput) Audiences added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationOutput) PrincipalIdClaim added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationOutput) ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutput added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationOutput) ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectAccessTokenConfigurationOutput) ToIdentitySourceOpenIdConnectAccessTokenConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectAccessTokenConfigurationOutput

type IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput added in v0.109.0

type IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) Audiences added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) Elem added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) PrincipalIdClaim added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) ToIdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput added in v0.109.0

func (IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) ToIdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput) ToIdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectAccessTokenConfigurationPtrOutput

type IdentitySourceOpenIdConnectConfiguration added in v0.109.0

type IdentitySourceOpenIdConnectConfiguration struct {
	EntityIdPrefix     *string                                        `pulumi:"entityIdPrefix"`
	GroupConfiguration *IdentitySourceOpenIdConnectGroupConfiguration `pulumi:"groupConfiguration"`
	Issuer             string                                         `pulumi:"issuer"`
	TokenSelection     interface{}                                    `pulumi:"tokenSelection"`
}

type IdentitySourceOpenIdConnectConfigurationArgs added in v0.109.0

type IdentitySourceOpenIdConnectConfigurationArgs struct {
	EntityIdPrefix     pulumi.StringPtrInput                                 `pulumi:"entityIdPrefix"`
	GroupConfiguration IdentitySourceOpenIdConnectGroupConfigurationPtrInput `pulumi:"groupConfiguration"`
	Issuer             pulumi.StringInput                                    `pulumi:"issuer"`
	TokenSelection     pulumi.Input                                          `pulumi:"tokenSelection"`
}

func (IdentitySourceOpenIdConnectConfigurationArgs) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationArgs) ToIdentitySourceOpenIdConnectConfigurationOutput added in v0.109.0

func (i IdentitySourceOpenIdConnectConfigurationArgs) ToIdentitySourceOpenIdConnectConfigurationOutput() IdentitySourceOpenIdConnectConfigurationOutput

func (IdentitySourceOpenIdConnectConfigurationArgs) ToIdentitySourceOpenIdConnectConfigurationOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectConfigurationArgs) ToIdentitySourceOpenIdConnectConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectConfigurationOutput

type IdentitySourceOpenIdConnectConfigurationInput added in v0.109.0

type IdentitySourceOpenIdConnectConfigurationInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectConfigurationOutput() IdentitySourceOpenIdConnectConfigurationOutput
	ToIdentitySourceOpenIdConnectConfigurationOutputWithContext(context.Context) IdentitySourceOpenIdConnectConfigurationOutput
}

IdentitySourceOpenIdConnectConfigurationInput is an input type that accepts IdentitySourceOpenIdConnectConfigurationArgs and IdentitySourceOpenIdConnectConfigurationOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectConfigurationInput` via:

IdentitySourceOpenIdConnectConfigurationArgs{...}

type IdentitySourceOpenIdConnectConfigurationOutput added in v0.109.0

type IdentitySourceOpenIdConnectConfigurationOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectConfigurationOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationOutput) EntityIdPrefix added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationOutput) GroupConfiguration added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationOutput) Issuer added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationOutput) ToIdentitySourceOpenIdConnectConfigurationOutput added in v0.109.0

func (o IdentitySourceOpenIdConnectConfigurationOutput) ToIdentitySourceOpenIdConnectConfigurationOutput() IdentitySourceOpenIdConnectConfigurationOutput

func (IdentitySourceOpenIdConnectConfigurationOutput) ToIdentitySourceOpenIdConnectConfigurationOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectConfigurationOutput) ToIdentitySourceOpenIdConnectConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectConfigurationOutput

func (IdentitySourceOpenIdConnectConfigurationOutput) TokenSelection added in v0.109.0

type IdentitySourceOpenIdConnectConfigurationPtrOutput added in v0.109.0

type IdentitySourceOpenIdConnectConfigurationPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) Elem added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) EntityIdPrefix added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) GroupConfiguration added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) Issuer added in v0.109.0

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) ToIdentitySourceOpenIdConnectConfigurationPtrOutput added in v0.109.0

func (o IdentitySourceOpenIdConnectConfigurationPtrOutput) ToIdentitySourceOpenIdConnectConfigurationPtrOutput() IdentitySourceOpenIdConnectConfigurationPtrOutput

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) ToIdentitySourceOpenIdConnectConfigurationPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectConfigurationPtrOutput) ToIdentitySourceOpenIdConnectConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectConfigurationPtrOutput

func (IdentitySourceOpenIdConnectConfigurationPtrOutput) TokenSelection added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfiguration added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfiguration struct {
	GroupClaim      string `pulumi:"groupClaim"`
	GroupEntityType string `pulumi:"groupEntityType"`
}

type IdentitySourceOpenIdConnectGroupConfigurationArgs added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfigurationArgs struct {
	GroupClaim      pulumi.StringInput `pulumi:"groupClaim"`
	GroupEntityType pulumi.StringInput `pulumi:"groupEntityType"`
}

func (IdentitySourceOpenIdConnectGroupConfigurationArgs) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationOutput added in v0.109.0

func (i IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationOutput() IdentitySourceOpenIdConnectGroupConfigurationOutput

func (IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectGroupConfigurationOutput

func (IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutput added in v0.109.0

func (i IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutput() IdentitySourceOpenIdConnectGroupConfigurationPtrOutput

func (IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectGroupConfigurationArgs) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectGroupConfigurationPtrOutput

type IdentitySourceOpenIdConnectGroupConfigurationInput added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfigurationInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectGroupConfigurationOutput() IdentitySourceOpenIdConnectGroupConfigurationOutput
	ToIdentitySourceOpenIdConnectGroupConfigurationOutputWithContext(context.Context) IdentitySourceOpenIdConnectGroupConfigurationOutput
}

IdentitySourceOpenIdConnectGroupConfigurationInput is an input type that accepts IdentitySourceOpenIdConnectGroupConfigurationArgs and IdentitySourceOpenIdConnectGroupConfigurationOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectGroupConfigurationInput` via:

IdentitySourceOpenIdConnectGroupConfigurationArgs{...}

type IdentitySourceOpenIdConnectGroupConfigurationOutput added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfigurationOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) GroupClaim added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) GroupEntityType added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationOutput added in v0.109.0

func (o IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationOutput() IdentitySourceOpenIdConnectGroupConfigurationOutput

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectGroupConfigurationOutput

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutput added in v0.109.0

func (o IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutput() IdentitySourceOpenIdConnectGroupConfigurationPtrOutput

func (IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectGroupConfigurationOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectGroupConfigurationPtrOutput

type IdentitySourceOpenIdConnectGroupConfigurationPtrInput added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfigurationPtrInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutput() IdentitySourceOpenIdConnectGroupConfigurationPtrOutput
	ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext(context.Context) IdentitySourceOpenIdConnectGroupConfigurationPtrOutput
}

IdentitySourceOpenIdConnectGroupConfigurationPtrInput is an input type that accepts IdentitySourceOpenIdConnectGroupConfigurationArgs, IdentitySourceOpenIdConnectGroupConfigurationPtr and IdentitySourceOpenIdConnectGroupConfigurationPtrOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectGroupConfigurationPtrInput` via:

        IdentitySourceOpenIdConnectGroupConfigurationArgs{...}

or:

        nil

type IdentitySourceOpenIdConnectGroupConfigurationPtrOutput added in v0.109.0

type IdentitySourceOpenIdConnectGroupConfigurationPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) Elem added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) GroupClaim added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) GroupEntityType added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutput added in v0.109.0

func (IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectGroupConfigurationPtrOutput) ToIdentitySourceOpenIdConnectGroupConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectGroupConfigurationPtrOutput

type IdentitySourceOpenIdConnectIdentityTokenConfiguration added in v0.109.0

type IdentitySourceOpenIdConnectIdentityTokenConfiguration struct {
	ClientIds        []string `pulumi:"clientIds"`
	PrincipalIdClaim *string  `pulumi:"principalIdClaim"`
}

type IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs added in v0.109.0

type IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs struct {
	ClientIds        pulumi.StringArrayInput `pulumi:"clientIds"`
	PrincipalIdClaim pulumi.StringPtrInput   `pulumi:"principalIdClaim"`
}

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutput added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput

type IdentitySourceOpenIdConnectIdentityTokenConfigurationInput added in v0.109.0

type IdentitySourceOpenIdConnectIdentityTokenConfigurationInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutput() IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput
	ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutputWithContext(context.Context) IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput
}

IdentitySourceOpenIdConnectIdentityTokenConfigurationInput is an input type that accepts IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs and IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectIdentityTokenConfigurationInput` via:

IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs{...}

type IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput added in v0.109.0

type IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput) ClientIds added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput) PrincipalIdClaim added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutput added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectIdentityTokenConfigurationOutput

type IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput added in v0.109.0

type IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) ClientIds added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) Elem added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) PrincipalIdClaim added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput added in v0.109.0

func (IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput) ToIdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectIdentityTokenConfigurationPtrOutput

type IdentitySourceOpenIdConnectTokenSelection0Properties added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection0Properties struct {
	AccessTokenOnly IdentitySourceOpenIdConnectAccessTokenConfiguration `pulumi:"accessTokenOnly"`
}

type IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs struct {
	AccessTokenOnly IdentitySourceOpenIdConnectAccessTokenConfigurationInput `pulumi:"accessTokenOnly"`
}

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutput added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput

type IdentitySourceOpenIdConnectTokenSelection0PropertiesInput added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection0PropertiesInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutput() IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput
	ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutputWithContext(context.Context) IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput
}

IdentitySourceOpenIdConnectTokenSelection0PropertiesInput is an input type that accepts IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs and IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectTokenSelection0PropertiesInput` via:

IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs{...}

type IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput) AccessTokenOnly added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutput added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectTokenSelection0PropertiesOutput

type IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput) AccessTokenOnly added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput) Elem added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput) ToIdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectTokenSelection0PropertiesPtrOutput

type IdentitySourceOpenIdConnectTokenSelection1Properties added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection1Properties struct {
	IdentityTokenOnly IdentitySourceOpenIdConnectIdentityTokenConfiguration `pulumi:"identityTokenOnly"`
}

type IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs struct {
	IdentityTokenOnly IdentitySourceOpenIdConnectIdentityTokenConfigurationInput `pulumi:"identityTokenOnly"`
}

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutput added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutputWithContext added in v0.109.0

func (i IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput

type IdentitySourceOpenIdConnectTokenSelection1PropertiesInput added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection1PropertiesInput interface {
	pulumi.Input

	ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutput() IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput
	ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutputWithContext(context.Context) IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput
}

IdentitySourceOpenIdConnectTokenSelection1PropertiesInput is an input type that accepts IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs and IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput values. You can construct a concrete instance of `IdentitySourceOpenIdConnectTokenSelection1PropertiesInput` via:

IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs{...}

type IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput) IdentityTokenOnly added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutput added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectTokenSelection1PropertiesOutput

type IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput added in v0.109.0

type IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput) Elem added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput) ElementType added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput) IdentityTokenOnly added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput added in v0.109.0

func (IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutputWithContext added in v0.109.0

func (o IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput) ToIdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdConnectTokenSelection1PropertiesPtrOutput

type IdentitySourceOpenIdIssuer

type IdentitySourceOpenIdIssuer string

type IdentitySourceOpenIdIssuerOutput

type IdentitySourceOpenIdIssuerOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdIssuerOutput) ElementType

func (IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerOutput

func (o IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerOutput() IdentitySourceOpenIdIssuerOutput

func (IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerOutputWithContext

func (o IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerOutputWithContext(ctx context.Context) IdentitySourceOpenIdIssuerOutput

func (IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerPtrOutput

func (o IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerPtrOutput() IdentitySourceOpenIdIssuerPtrOutput

func (IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerPtrOutputWithContext

func (o IdentitySourceOpenIdIssuerOutput) ToIdentitySourceOpenIdIssuerPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdIssuerPtrOutput

func (IdentitySourceOpenIdIssuerOutput) ToStringOutput

func (IdentitySourceOpenIdIssuerOutput) ToStringOutputWithContext

func (o IdentitySourceOpenIdIssuerOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (IdentitySourceOpenIdIssuerOutput) ToStringPtrOutput

func (IdentitySourceOpenIdIssuerOutput) ToStringPtrOutputWithContext

func (o IdentitySourceOpenIdIssuerOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type IdentitySourceOpenIdIssuerPtrOutput

type IdentitySourceOpenIdIssuerPtrOutput struct{ *pulumi.OutputState }

func (IdentitySourceOpenIdIssuerPtrOutput) Elem

func (IdentitySourceOpenIdIssuerPtrOutput) ElementType

func (IdentitySourceOpenIdIssuerPtrOutput) ToIdentitySourceOpenIdIssuerPtrOutput

func (o IdentitySourceOpenIdIssuerPtrOutput) ToIdentitySourceOpenIdIssuerPtrOutput() IdentitySourceOpenIdIssuerPtrOutput

func (IdentitySourceOpenIdIssuerPtrOutput) ToIdentitySourceOpenIdIssuerPtrOutputWithContext

func (o IdentitySourceOpenIdIssuerPtrOutput) ToIdentitySourceOpenIdIssuerPtrOutputWithContext(ctx context.Context) IdentitySourceOpenIdIssuerPtrOutput

func (IdentitySourceOpenIdIssuerPtrOutput) ToStringPtrOutput

func (IdentitySourceOpenIdIssuerPtrOutput) ToStringPtrOutputWithContext

func (o IdentitySourceOpenIdIssuerPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type IdentitySourceOutput

type IdentitySourceOutput struct{ *pulumi.OutputState }

func (IdentitySourceOutput) Configuration

func (o IdentitySourceOutput) Configuration() pulumi.AnyOutput

Contains configuration information used when creating a new identity source.

func (IdentitySourceOutput) Details

func (IdentitySourceOutput) ElementType

func (IdentitySourceOutput) ElementType() reflect.Type

func (IdentitySourceOutput) IdentitySourceId

func (o IdentitySourceOutput) IdentitySourceId() pulumi.StringOutput

The unique ID of the new or updated identity store.

func (IdentitySourceOutput) PolicyStoreId

func (o IdentitySourceOutput) PolicyStoreId() pulumi.StringOutput

Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.

func (IdentitySourceOutput) PrincipalEntityType

func (o IdentitySourceOutput) PrincipalEntityType() pulumi.StringPtrOutput

Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.

func (IdentitySourceOutput) ToIdentitySourceOutput

func (o IdentitySourceOutput) ToIdentitySourceOutput() IdentitySourceOutput

func (IdentitySourceOutput) ToIdentitySourceOutputWithContext

func (o IdentitySourceOutput) ToIdentitySourceOutputWithContext(ctx context.Context) IdentitySourceOutput

type IdentitySourceState

type IdentitySourceState struct {
}

func (IdentitySourceState) ElementType

func (IdentitySourceState) ElementType() reflect.Type

type LookupIdentitySourceArgs

type LookupIdentitySourceArgs struct {
	// The unique ID of the new or updated identity store.
	IdentitySourceId string `pulumi:"identitySourceId"`
	// Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
	PolicyStoreId string `pulumi:"policyStoreId"`
}

type LookupIdentitySourceOutputArgs

type LookupIdentitySourceOutputArgs struct {
	// The unique ID of the new or updated identity store.
	IdentitySourceId pulumi.StringInput `pulumi:"identitySourceId"`
	// Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
	PolicyStoreId pulumi.StringInput `pulumi:"policyStoreId"`
}

func (LookupIdentitySourceOutputArgs) ElementType

type LookupIdentitySourceResult

type LookupIdentitySourceResult struct {
	// Contains configuration information used when creating a new identity source.
	Configuration interface{}            `pulumi:"configuration"`
	Details       *IdentitySourceDetails `pulumi:"details"`
	// The unique ID of the new or updated identity store.
	IdentitySourceId *string `pulumi:"identitySourceId"`
	// Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
	PrincipalEntityType *string `pulumi:"principalEntityType"`
}

func LookupIdentitySource

func LookupIdentitySource(ctx *pulumi.Context, args *LookupIdentitySourceArgs, opts ...pulumi.InvokeOption) (*LookupIdentitySourceResult, error)

Definition of AWS::VerifiedPermissions::IdentitySource Resource Type

type LookupIdentitySourceResultOutput

type LookupIdentitySourceResultOutput struct{ *pulumi.OutputState }

func (LookupIdentitySourceResultOutput) Configuration

Contains configuration information used when creating a new identity source.

func (LookupIdentitySourceResultOutput) Details

func (LookupIdentitySourceResultOutput) ElementType

func (LookupIdentitySourceResultOutput) IdentitySourceId

The unique ID of the new or updated identity store.

func (LookupIdentitySourceResultOutput) PrincipalEntityType

Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.

func (LookupIdentitySourceResultOutput) ToLookupIdentitySourceResultOutput

func (o LookupIdentitySourceResultOutput) ToLookupIdentitySourceResultOutput() LookupIdentitySourceResultOutput

func (LookupIdentitySourceResultOutput) ToLookupIdentitySourceResultOutputWithContext

func (o LookupIdentitySourceResultOutput) ToLookupIdentitySourceResultOutputWithContext(ctx context.Context) LookupIdentitySourceResultOutput

type LookupPolicyArgs

type LookupPolicyArgs struct {
	// The unique ID of the new or updated policy.
	PolicyId string `pulumi:"policyId"`
	// Specifies the `PolicyStoreId` of the policy store you want to store the policy in.
	PolicyStoreId string `pulumi:"policyStoreId"`
}

type LookupPolicyOutputArgs

type LookupPolicyOutputArgs struct {
	// The unique ID of the new or updated policy.
	PolicyId pulumi.StringInput `pulumi:"policyId"`
	// Specifies the `PolicyStoreId` of the policy store you want to store the policy in.
	PolicyStoreId pulumi.StringInput `pulumi:"policyStoreId"`
}

func (LookupPolicyOutputArgs) ElementType

func (LookupPolicyOutputArgs) ElementType() reflect.Type

type LookupPolicyResult

type LookupPolicyResult struct {
	// Specifies the policy type and content to use for the new or updated policy. The definition structure must include either a `Static` or a `TemplateLinked` element.
	Definition interface{} `pulumi:"definition"`
	// The unique ID of the new or updated policy.
	PolicyId *string `pulumi:"policyId"`
	// The type of the policy. This is one of the following values:
	//
	// - Static
	// - TemplateLinked
	PolicyType *PolicyType `pulumi:"policyType"`
}

func LookupPolicy

func LookupPolicy(ctx *pulumi.Context, args *LookupPolicyArgs, opts ...pulumi.InvokeOption) (*LookupPolicyResult, error)

Definition of AWS::VerifiedPermissions::Policy Resource Type

type LookupPolicyResultOutput

type LookupPolicyResultOutput struct{ *pulumi.OutputState }

func (LookupPolicyResultOutput) Definition

func (o LookupPolicyResultOutput) Definition() pulumi.AnyOutput

Specifies the policy type and content to use for the new or updated policy. The definition structure must include either a `Static` or a `TemplateLinked` element.

func (LookupPolicyResultOutput) ElementType

func (LookupPolicyResultOutput) ElementType() reflect.Type

func (LookupPolicyResultOutput) PolicyId

The unique ID of the new or updated policy.

func (LookupPolicyResultOutput) PolicyType

The type of the policy. This is one of the following values:

- Static - TemplateLinked

func (LookupPolicyResultOutput) ToLookupPolicyResultOutput

func (o LookupPolicyResultOutput) ToLookupPolicyResultOutput() LookupPolicyResultOutput

func (LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext

func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx context.Context) LookupPolicyResultOutput

type LookupPolicyStoreArgs

type LookupPolicyStoreArgs struct {
	// The unique ID of the new or updated policy store.
	PolicyStoreId string `pulumi:"policyStoreId"`
}

type LookupPolicyStoreOutputArgs

type LookupPolicyStoreOutputArgs struct {
	// The unique ID of the new or updated policy store.
	PolicyStoreId pulumi.StringInput `pulumi:"policyStoreId"`
}

func (LookupPolicyStoreOutputArgs) ElementType

type LookupPolicyStoreResult

type LookupPolicyStoreResult struct {
	// The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of the new or updated policy store.
	Arn *string `pulumi:"arn"`
	// Descriptive text that you can provide to help with identification of the current policy store.
	Description *string `pulumi:"description"`
	// The unique ID of the new or updated policy store.
	PolicyStoreId *string `pulumi:"policyStoreId"`
	// Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
	Schema *PolicyStoreSchemaDefinition `pulumi:"schema"`
	// Specifies the validation setting for this policy store.
	//
	// Currently, the only valid and required value is `Mode` .
	//
	// > We recommend that you turn on `STRICT` mode only after you define a schema. If a schema doesn't exist, then `STRICT` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) . Then, when you have a schema defined, use [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) again to turn validation back on.
	ValidationSettings *PolicyStoreValidationSettings `pulumi:"validationSettings"`
}

func LookupPolicyStore

func LookupPolicyStore(ctx *pulumi.Context, args *LookupPolicyStoreArgs, opts ...pulumi.InvokeOption) (*LookupPolicyStoreResult, error)

Represents a policy store that you can place schema, policies, and policy templates in to validate authorization requests

type LookupPolicyStoreResultOutput

type LookupPolicyStoreResultOutput struct{ *pulumi.OutputState }

func (LookupPolicyStoreResultOutput) Arn

The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of the new or updated policy store.

func (LookupPolicyStoreResultOutput) Description added in v0.93.0

Descriptive text that you can provide to help with identification of the current policy store.

func (LookupPolicyStoreResultOutput) ElementType

func (LookupPolicyStoreResultOutput) PolicyStoreId

The unique ID of the new or updated policy store.

func (LookupPolicyStoreResultOutput) Schema

Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.

func (LookupPolicyStoreResultOutput) ToLookupPolicyStoreResultOutput

func (o LookupPolicyStoreResultOutput) ToLookupPolicyStoreResultOutput() LookupPolicyStoreResultOutput

func (LookupPolicyStoreResultOutput) ToLookupPolicyStoreResultOutputWithContext

func (o LookupPolicyStoreResultOutput) ToLookupPolicyStoreResultOutputWithContext(ctx context.Context) LookupPolicyStoreResultOutput

func (LookupPolicyStoreResultOutput) ValidationSettings

Specifies the validation setting for this policy store.

Currently, the only valid and required value is `Mode` .

> We recommend that you turn on `STRICT` mode only after you define a schema. If a schema doesn't exist, then `STRICT` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) . Then, when you have a schema defined, use [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) again to turn validation back on.

type LookupPolicyTemplateArgs

type LookupPolicyTemplateArgs struct {
	// The unique identifier of the policy store that contains the template.
	PolicyStoreId string `pulumi:"policyStoreId"`
	// The unique identifier of the new or modified policy template.
	PolicyTemplateId string `pulumi:"policyTemplateId"`
}

type LookupPolicyTemplateOutputArgs

type LookupPolicyTemplateOutputArgs struct {
	// The unique identifier of the policy store that contains the template.
	PolicyStoreId pulumi.StringInput `pulumi:"policyStoreId"`
	// The unique identifier of the new or modified policy template.
	PolicyTemplateId pulumi.StringInput `pulumi:"policyTemplateId"`
}

func (LookupPolicyTemplateOutputArgs) ElementType

type LookupPolicyTemplateResult

type LookupPolicyTemplateResult struct {
	// The description to attach to the new or updated policy template.
	Description *string `pulumi:"description"`
	// The unique identifier of the new or modified policy template.
	PolicyTemplateId *string `pulumi:"policyTemplateId"`
	// Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
	Statement *string `pulumi:"statement"`
}

func LookupPolicyTemplate

func LookupPolicyTemplate(ctx *pulumi.Context, args *LookupPolicyTemplateArgs, opts ...pulumi.InvokeOption) (*LookupPolicyTemplateResult, error)

Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type

type LookupPolicyTemplateResultOutput

type LookupPolicyTemplateResultOutput struct{ *pulumi.OutputState }

func (LookupPolicyTemplateResultOutput) Description

The description to attach to the new or updated policy template.

func (LookupPolicyTemplateResultOutput) ElementType

func (LookupPolicyTemplateResultOutput) PolicyTemplateId

The unique identifier of the new or modified policy template.

func (LookupPolicyTemplateResultOutput) Statement

Specifies the content that you want to use for the new policy template, written in the Cedar policy language.

func (LookupPolicyTemplateResultOutput) ToLookupPolicyTemplateResultOutput

func (o LookupPolicyTemplateResultOutput) ToLookupPolicyTemplateResultOutput() LookupPolicyTemplateResultOutput

func (LookupPolicyTemplateResultOutput) ToLookupPolicyTemplateResultOutputWithContext

func (o LookupPolicyTemplateResultOutput) ToLookupPolicyTemplateResultOutputWithContext(ctx context.Context) LookupPolicyTemplateResultOutput

type Policy

type Policy struct {
	pulumi.CustomResourceState

	// Specifies the policy type and content to use for the new or updated policy. The definition structure must include either a `Static` or a `TemplateLinked` element.
	Definition pulumi.AnyOutput `pulumi:"definition"`
	// The unique ID of the new or updated policy.
	PolicyId pulumi.StringOutput `pulumi:"policyId"`
	// Specifies the `PolicyStoreId` of the policy store you want to store the policy in.
	PolicyStoreId pulumi.StringOutput `pulumi:"policyStoreId"`
	// The type of the policy. This is one of the following values:
	//
	// - Static
	// - TemplateLinked
	PolicyType PolicyTypeOutput `pulumi:"policyType"`
}

Definition of AWS::VerifiedPermissions::Policy Resource Type

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/verifiedpermissions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		policyStoreId := cfg.Require("policyStoreId")
		description := cfg.Require("description")
		statement := cfg.Require("statement")
		staticPolicy, err := verifiedpermissions.NewPolicy(ctx, "staticPolicy", &verifiedpermissions.PolicyArgs{
			PolicyStoreId: pulumi.String(policyStoreId),
			Definition: &verifiedpermissions.PolicyDefinition0PropertiesArgs{
				Static: &verifiedpermissions.PolicyStaticPolicyDefinitionArgs{
					Description: pulumi.String(description),
					Statement:   pulumi.String(statement),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("policyId", staticPolicy.PolicyId)
		return nil
	})
}

``` ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/verifiedpermissions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		policyStoreId := cfg.Require("policyStoreId")
		policyTemplateId := cfg.Require("policyTemplateId")
		principalType := cfg.Require("principalType")
		principalId := cfg.Require("principalId")
		resourceType := cfg.Require("resourceType")
		resourceId := cfg.Require("resourceId")
		templateLinkedPolicy, err := verifiedpermissions.NewPolicy(ctx, "templateLinkedPolicy", &verifiedpermissions.PolicyArgs{
			PolicyStoreId: pulumi.String(policyStoreId),
			Definition: &verifiedpermissions.PolicyDefinition0PropertiesArgs{
				TemplateLinked: &verifiedpermissions.PolicyTemplateLinkedPolicyDefinitionArgs{
					PolicyTemplateId: pulumi.String(policyTemplateId),
					Principal: &verifiedpermissions.PolicyEntityIdentifierArgs{
						EntityType: pulumi.String(principalType),
						EntityId:   pulumi.String(principalId),
					},
					Resource: &verifiedpermissions.PolicyEntityIdentifierArgs{
						EntityType: pulumi.String(resourceType),
						EntityId:   pulumi.String(resourceId),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("policyId", templateLinkedPolicy.PolicyId)
		return nil
	})
}

```

func GetPolicy

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)

GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicy

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)

NewPolicy registers a new resource with the given unique name, arguments, and options.

func (*Policy) ElementType

func (*Policy) ElementType() reflect.Type

func (*Policy) ToPolicyOutput

func (i *Policy) ToPolicyOutput() PolicyOutput

func (*Policy) ToPolicyOutputWithContext

func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

type PolicyArgs

type PolicyArgs struct {
	// Specifies the policy type and content to use for the new or updated policy. The definition structure must include either a `Static` or a `TemplateLinked` element.
	Definition pulumi.Input
	// Specifies the `PolicyStoreId` of the policy store you want to store the policy in.
	PolicyStoreId pulumi.StringInput
}

The set of arguments for constructing a Policy resource.

func (PolicyArgs) ElementType

func (PolicyArgs) ElementType() reflect.Type

type PolicyDefinition0Properties added in v0.72.0

type PolicyDefinition0Properties struct {
	Static PolicyStaticPolicyDefinition `pulumi:"static"`
}

type PolicyDefinition0PropertiesArgs added in v0.96.0

type PolicyDefinition0PropertiesArgs struct {
	Static PolicyStaticPolicyDefinitionInput `pulumi:"static"`
}

func (PolicyDefinition0PropertiesArgs) ElementType added in v0.96.0

func (PolicyDefinition0PropertiesArgs) ToPolicyDefinition0PropertiesOutput added in v0.96.0

func (i PolicyDefinition0PropertiesArgs) ToPolicyDefinition0PropertiesOutput() PolicyDefinition0PropertiesOutput

func (PolicyDefinition0PropertiesArgs) ToPolicyDefinition0PropertiesOutputWithContext added in v0.96.0

func (i PolicyDefinition0PropertiesArgs) ToPolicyDefinition0PropertiesOutputWithContext(ctx context.Context) PolicyDefinition0PropertiesOutput

type PolicyDefinition0PropertiesInput added in v0.96.0

type PolicyDefinition0PropertiesInput interface {
	pulumi.Input

	ToPolicyDefinition0PropertiesOutput() PolicyDefinition0PropertiesOutput
	ToPolicyDefinition0PropertiesOutputWithContext(context.Context) PolicyDefinition0PropertiesOutput
}

PolicyDefinition0PropertiesInput is an input type that accepts PolicyDefinition0PropertiesArgs and PolicyDefinition0PropertiesOutput values. You can construct a concrete instance of `PolicyDefinition0PropertiesInput` via:

PolicyDefinition0PropertiesArgs{...}

type PolicyDefinition0PropertiesOutput added in v0.96.0

type PolicyDefinition0PropertiesOutput struct{ *pulumi.OutputState }

func (PolicyDefinition0PropertiesOutput) ElementType added in v0.96.0

func (PolicyDefinition0PropertiesOutput) Static added in v0.96.0

func (PolicyDefinition0PropertiesOutput) ToPolicyDefinition0PropertiesOutput added in v0.96.0

func (o PolicyDefinition0PropertiesOutput) ToPolicyDefinition0PropertiesOutput() PolicyDefinition0PropertiesOutput

func (PolicyDefinition0PropertiesOutput) ToPolicyDefinition0PropertiesOutputWithContext added in v0.96.0

func (o PolicyDefinition0PropertiesOutput) ToPolicyDefinition0PropertiesOutputWithContext(ctx context.Context) PolicyDefinition0PropertiesOutput

type PolicyDefinition0PropertiesPtrOutput added in v0.96.0

type PolicyDefinition0PropertiesPtrOutput struct{ *pulumi.OutputState }

func (PolicyDefinition0PropertiesPtrOutput) Elem added in v0.96.0

func (PolicyDefinition0PropertiesPtrOutput) ElementType added in v0.96.0

func (PolicyDefinition0PropertiesPtrOutput) Static added in v0.96.0

func (PolicyDefinition0PropertiesPtrOutput) ToPolicyDefinition0PropertiesPtrOutput added in v0.96.0

func (o PolicyDefinition0PropertiesPtrOutput) ToPolicyDefinition0PropertiesPtrOutput() PolicyDefinition0PropertiesPtrOutput

func (PolicyDefinition0PropertiesPtrOutput) ToPolicyDefinition0PropertiesPtrOutputWithContext added in v0.96.0

func (o PolicyDefinition0PropertiesPtrOutput) ToPolicyDefinition0PropertiesPtrOutputWithContext(ctx context.Context) PolicyDefinition0PropertiesPtrOutput

type PolicyDefinition1Properties added in v0.72.0

type PolicyDefinition1Properties struct {
	TemplateLinked PolicyTemplateLinkedPolicyDefinition `pulumi:"templateLinked"`
}

type PolicyDefinition1PropertiesArgs added in v0.96.0

type PolicyDefinition1PropertiesArgs struct {
	TemplateLinked PolicyTemplateLinkedPolicyDefinitionInput `pulumi:"templateLinked"`
}

func (PolicyDefinition1PropertiesArgs) ElementType added in v0.96.0

func (PolicyDefinition1PropertiesArgs) ToPolicyDefinition1PropertiesOutput added in v0.96.0

func (i PolicyDefinition1PropertiesArgs) ToPolicyDefinition1PropertiesOutput() PolicyDefinition1PropertiesOutput

func (PolicyDefinition1PropertiesArgs) ToPolicyDefinition1PropertiesOutputWithContext added in v0.96.0

func (i PolicyDefinition1PropertiesArgs) ToPolicyDefinition1PropertiesOutputWithContext(ctx context.Context) PolicyDefinition1PropertiesOutput

type PolicyDefinition1PropertiesInput added in v0.96.0

type PolicyDefinition1PropertiesInput interface {
	pulumi.Input

	ToPolicyDefinition1PropertiesOutput() PolicyDefinition1PropertiesOutput
	ToPolicyDefinition1PropertiesOutputWithContext(context.Context) PolicyDefinition1PropertiesOutput
}

PolicyDefinition1PropertiesInput is an input type that accepts PolicyDefinition1PropertiesArgs and PolicyDefinition1PropertiesOutput values. You can construct a concrete instance of `PolicyDefinition1PropertiesInput` via:

PolicyDefinition1PropertiesArgs{...}

type PolicyDefinition1PropertiesOutput added in v0.96.0

type PolicyDefinition1PropertiesOutput struct{ *pulumi.OutputState }

func (PolicyDefinition1PropertiesOutput) ElementType added in v0.96.0

func (PolicyDefinition1PropertiesOutput) TemplateLinked added in v0.96.0

func (PolicyDefinition1PropertiesOutput) ToPolicyDefinition1PropertiesOutput added in v0.96.0

func (o PolicyDefinition1PropertiesOutput) ToPolicyDefinition1PropertiesOutput() PolicyDefinition1PropertiesOutput

func (PolicyDefinition1PropertiesOutput) ToPolicyDefinition1PropertiesOutputWithContext added in v0.96.0

func (o PolicyDefinition1PropertiesOutput) ToPolicyDefinition1PropertiesOutputWithContext(ctx context.Context) PolicyDefinition1PropertiesOutput

type PolicyDefinition1PropertiesPtrOutput added in v0.96.0

type PolicyDefinition1PropertiesPtrOutput struct{ *pulumi.OutputState }

func (PolicyDefinition1PropertiesPtrOutput) Elem added in v0.96.0

func (PolicyDefinition1PropertiesPtrOutput) ElementType added in v0.96.0

func (PolicyDefinition1PropertiesPtrOutput) TemplateLinked added in v0.96.0

func (PolicyDefinition1PropertiesPtrOutput) ToPolicyDefinition1PropertiesPtrOutput added in v0.96.0

func (o PolicyDefinition1PropertiesPtrOutput) ToPolicyDefinition1PropertiesPtrOutput() PolicyDefinition1PropertiesPtrOutput

func (PolicyDefinition1PropertiesPtrOutput) ToPolicyDefinition1PropertiesPtrOutputWithContext added in v0.96.0

func (o PolicyDefinition1PropertiesPtrOutput) ToPolicyDefinition1PropertiesPtrOutputWithContext(ctx context.Context) PolicyDefinition1PropertiesPtrOutput

type PolicyEntityIdentifier added in v0.72.0

type PolicyEntityIdentifier struct {
	EntityId   string `pulumi:"entityId"`
	EntityType string `pulumi:"entityType"`
}

type PolicyEntityIdentifierArgs added in v0.96.0

type PolicyEntityIdentifierArgs struct {
	EntityId   pulumi.StringInput `pulumi:"entityId"`
	EntityType pulumi.StringInput `pulumi:"entityType"`
}

func (PolicyEntityIdentifierArgs) ElementType added in v0.96.0

func (PolicyEntityIdentifierArgs) ElementType() reflect.Type

func (PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierOutput added in v0.96.0

func (i PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierOutput() PolicyEntityIdentifierOutput

func (PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierOutputWithContext added in v0.96.0

func (i PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierOutputWithContext(ctx context.Context) PolicyEntityIdentifierOutput

func (PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierPtrOutput added in v0.96.0

func (i PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierPtrOutput() PolicyEntityIdentifierPtrOutput

func (PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierPtrOutputWithContext added in v0.96.0

func (i PolicyEntityIdentifierArgs) ToPolicyEntityIdentifierPtrOutputWithContext(ctx context.Context) PolicyEntityIdentifierPtrOutput

type PolicyEntityIdentifierInput added in v0.96.0

type PolicyEntityIdentifierInput interface {
	pulumi.Input

	ToPolicyEntityIdentifierOutput() PolicyEntityIdentifierOutput
	ToPolicyEntityIdentifierOutputWithContext(context.Context) PolicyEntityIdentifierOutput
}

PolicyEntityIdentifierInput is an input type that accepts PolicyEntityIdentifierArgs and PolicyEntityIdentifierOutput values. You can construct a concrete instance of `PolicyEntityIdentifierInput` via:

PolicyEntityIdentifierArgs{...}

type PolicyEntityIdentifierOutput added in v0.96.0

type PolicyEntityIdentifierOutput struct{ *pulumi.OutputState }

func (PolicyEntityIdentifierOutput) ElementType added in v0.96.0

func (PolicyEntityIdentifierOutput) EntityId added in v0.96.0

func (PolicyEntityIdentifierOutput) EntityType added in v0.96.0

func (PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierOutput added in v0.96.0

func (o PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierOutput() PolicyEntityIdentifierOutput

func (PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierOutputWithContext added in v0.96.0

func (o PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierOutputWithContext(ctx context.Context) PolicyEntityIdentifierOutput

func (PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierPtrOutput added in v0.96.0

func (o PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierPtrOutput() PolicyEntityIdentifierPtrOutput

func (PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierPtrOutputWithContext added in v0.96.0

func (o PolicyEntityIdentifierOutput) ToPolicyEntityIdentifierPtrOutputWithContext(ctx context.Context) PolicyEntityIdentifierPtrOutput

type PolicyEntityIdentifierPtrInput added in v0.96.0

type PolicyEntityIdentifierPtrInput interface {
	pulumi.Input

	ToPolicyEntityIdentifierPtrOutput() PolicyEntityIdentifierPtrOutput
	ToPolicyEntityIdentifierPtrOutputWithContext(context.Context) PolicyEntityIdentifierPtrOutput
}

PolicyEntityIdentifierPtrInput is an input type that accepts PolicyEntityIdentifierArgs, PolicyEntityIdentifierPtr and PolicyEntityIdentifierPtrOutput values. You can construct a concrete instance of `PolicyEntityIdentifierPtrInput` via:

        PolicyEntityIdentifierArgs{...}

or:

        nil

func PolicyEntityIdentifierPtr added in v0.96.0

func PolicyEntityIdentifierPtr(v *PolicyEntityIdentifierArgs) PolicyEntityIdentifierPtrInput

type PolicyEntityIdentifierPtrOutput added in v0.96.0

type PolicyEntityIdentifierPtrOutput struct{ *pulumi.OutputState }

func (PolicyEntityIdentifierPtrOutput) Elem added in v0.96.0

func (PolicyEntityIdentifierPtrOutput) ElementType added in v0.96.0

func (PolicyEntityIdentifierPtrOutput) EntityId added in v0.96.0

func (PolicyEntityIdentifierPtrOutput) EntityType added in v0.96.0

func (PolicyEntityIdentifierPtrOutput) ToPolicyEntityIdentifierPtrOutput added in v0.96.0

func (o PolicyEntityIdentifierPtrOutput) ToPolicyEntityIdentifierPtrOutput() PolicyEntityIdentifierPtrOutput

func (PolicyEntityIdentifierPtrOutput) ToPolicyEntityIdentifierPtrOutputWithContext added in v0.96.0

func (o PolicyEntityIdentifierPtrOutput) ToPolicyEntityIdentifierPtrOutputWithContext(ctx context.Context) PolicyEntityIdentifierPtrOutput

type PolicyInput

type PolicyInput interface {
	pulumi.Input

	ToPolicyOutput() PolicyOutput
	ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
}

type PolicyOutput

type PolicyOutput struct{ *pulumi.OutputState }

func (PolicyOutput) Definition

func (o PolicyOutput) Definition() pulumi.AnyOutput

Specifies the policy type and content to use for the new or updated policy. The definition structure must include either a `Static` or a `TemplateLinked` element.

func (PolicyOutput) ElementType

func (PolicyOutput) ElementType() reflect.Type

func (PolicyOutput) PolicyId

func (o PolicyOutput) PolicyId() pulumi.StringOutput

The unique ID of the new or updated policy.

func (PolicyOutput) PolicyStoreId

func (o PolicyOutput) PolicyStoreId() pulumi.StringOutput

Specifies the `PolicyStoreId` of the policy store you want to store the policy in.

func (PolicyOutput) PolicyType

func (o PolicyOutput) PolicyType() PolicyTypeOutput

The type of the policy. This is one of the following values:

- Static - TemplateLinked

func (PolicyOutput) ToPolicyOutput

func (o PolicyOutput) ToPolicyOutput() PolicyOutput

func (PolicyOutput) ToPolicyOutputWithContext

func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

type PolicyState

type PolicyState struct {
}

func (PolicyState) ElementType

func (PolicyState) ElementType() reflect.Type

type PolicyStaticPolicyDefinition added in v0.72.0

type PolicyStaticPolicyDefinition struct {
	Description *string `pulumi:"description"`
	Statement   string  `pulumi:"statement"`
}

type PolicyStaticPolicyDefinitionArgs added in v0.96.0

type PolicyStaticPolicyDefinitionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Statement   pulumi.StringInput    `pulumi:"statement"`
}

func (PolicyStaticPolicyDefinitionArgs) ElementType added in v0.96.0

func (PolicyStaticPolicyDefinitionArgs) ToPolicyStaticPolicyDefinitionOutput added in v0.96.0

func (i PolicyStaticPolicyDefinitionArgs) ToPolicyStaticPolicyDefinitionOutput() PolicyStaticPolicyDefinitionOutput

func (PolicyStaticPolicyDefinitionArgs) ToPolicyStaticPolicyDefinitionOutputWithContext added in v0.96.0

func (i PolicyStaticPolicyDefinitionArgs) ToPolicyStaticPolicyDefinitionOutputWithContext(ctx context.Context) PolicyStaticPolicyDefinitionOutput

type PolicyStaticPolicyDefinitionInput added in v0.96.0

type PolicyStaticPolicyDefinitionInput interface {
	pulumi.Input

	ToPolicyStaticPolicyDefinitionOutput() PolicyStaticPolicyDefinitionOutput
	ToPolicyStaticPolicyDefinitionOutputWithContext(context.Context) PolicyStaticPolicyDefinitionOutput
}

PolicyStaticPolicyDefinitionInput is an input type that accepts PolicyStaticPolicyDefinitionArgs and PolicyStaticPolicyDefinitionOutput values. You can construct a concrete instance of `PolicyStaticPolicyDefinitionInput` via:

PolicyStaticPolicyDefinitionArgs{...}

type PolicyStaticPolicyDefinitionOutput added in v0.96.0

type PolicyStaticPolicyDefinitionOutput struct{ *pulumi.OutputState }

func (PolicyStaticPolicyDefinitionOutput) Description added in v0.96.0

func (PolicyStaticPolicyDefinitionOutput) ElementType added in v0.96.0

func (PolicyStaticPolicyDefinitionOutput) Statement added in v0.96.0

func (PolicyStaticPolicyDefinitionOutput) ToPolicyStaticPolicyDefinitionOutput added in v0.96.0

func (o PolicyStaticPolicyDefinitionOutput) ToPolicyStaticPolicyDefinitionOutput() PolicyStaticPolicyDefinitionOutput

func (PolicyStaticPolicyDefinitionOutput) ToPolicyStaticPolicyDefinitionOutputWithContext added in v0.96.0

func (o PolicyStaticPolicyDefinitionOutput) ToPolicyStaticPolicyDefinitionOutputWithContext(ctx context.Context) PolicyStaticPolicyDefinitionOutput

type PolicyStaticPolicyDefinitionPtrOutput added in v0.96.0

type PolicyStaticPolicyDefinitionPtrOutput struct{ *pulumi.OutputState }

func (PolicyStaticPolicyDefinitionPtrOutput) Description added in v0.96.0

func (PolicyStaticPolicyDefinitionPtrOutput) Elem added in v0.96.0

func (PolicyStaticPolicyDefinitionPtrOutput) ElementType added in v0.96.0

func (PolicyStaticPolicyDefinitionPtrOutput) Statement added in v0.96.0

func (PolicyStaticPolicyDefinitionPtrOutput) ToPolicyStaticPolicyDefinitionPtrOutput added in v0.96.0

func (o PolicyStaticPolicyDefinitionPtrOutput) ToPolicyStaticPolicyDefinitionPtrOutput() PolicyStaticPolicyDefinitionPtrOutput

func (PolicyStaticPolicyDefinitionPtrOutput) ToPolicyStaticPolicyDefinitionPtrOutputWithContext added in v0.96.0

func (o PolicyStaticPolicyDefinitionPtrOutput) ToPolicyStaticPolicyDefinitionPtrOutputWithContext(ctx context.Context) PolicyStaticPolicyDefinitionPtrOutput

type PolicyStore

type PolicyStore struct {
	pulumi.CustomResourceState

	// The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of the new or updated policy store.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Descriptive text that you can provide to help with identification of the current policy store.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The unique ID of the new or updated policy store.
	PolicyStoreId pulumi.StringOutput `pulumi:"policyStoreId"`
	// Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
	Schema PolicyStoreSchemaDefinitionPtrOutput `pulumi:"schema"`
	// Specifies the validation setting for this policy store.
	//
	// Currently, the only valid and required value is `Mode` .
	//
	// > We recommend that you turn on `STRICT` mode only after you define a schema. If a schema doesn't exist, then `STRICT` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) . Then, when you have a schema defined, use [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) again to turn validation back on.
	ValidationSettings PolicyStoreValidationSettingsOutput `pulumi:"validationSettings"`
}

Represents a policy store that you can place schema, policies, and policy templates in to validate authorization requests

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/verifiedpermissions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := verifiedpermissions.NewPolicyStore(ctx, "myPolicyStore", &verifiedpermissions.PolicyStoreArgs{
			Schema: &verifiedpermissions.PolicyStoreSchemaDefinitionArgs{
				CedarJson: pulumi.String("{\"PhotoApp\":{\"commonTypes\":{\"PersonType\":{\"type\":\"Record\",\"attributes\":{\"age\":{\"type\":\"Long\"},\"name\":{\"type\":\"String\"}}},\"ContextType\":{\"type\":\"Record\",\"attributes\":{\"ip\":{\"type\":\"Extension\",\"name\":\"ipaddr\",\"required\":false},\"authenticated\":{\"type\":\"Boolean\",\"required\":true}}}},\"entityTypes\":{\"User\":{\"shape\":{\"type\":\"Record\",\"attributes\":{\"userId\":{\"type\":\"String\"},\"personInformation\":{\"type\":\"PersonType\"}}},\"memberOfTypes\":[\"UserGroup\"]},\"UserGroup\":{\"shape\":{\"type\":\"Record\",\"attributes\":{}}},\"Photo\":{\"shape\":{\"type\":\"Record\",\"attributes\":{\"account\":{\"type\":\"Entity\",\"name\":\"Account\",\"required\":true},\"private\":{\"type\":\"Boolean\",\"required\":true}}},\"memberOfTypes\":[\"Album\",\"Account\"]},\"Album\":{\"shape\":{\"type\":\"Record\",\"attributes\":{}}},\"Account\":{\"shape\":{\"type\":\"Record\",\"attributes\":{}}}},\"actions\":{\"viewPhoto\":{\"appliesTo\":{\"principalTypes\":[\"User\",\"UserGroup\"],\"resourceTypes\":[\"Photo\"],\"context\":{\"type\":\"ContextType\"}}},\"createPhoto\":{\"appliesTo\":{\"principalTypes\":[\"User\",\"UserGroup\"],\"resourceTypes\":[\"Photo\"],\"context\":{\"type\":\"ContextType\"}}},\"listPhotos\":{\"appliesTo\":{\"principalTypes\":[\"User\",\"UserGroup\"],\"resourceTypes\":[\"Photo\"],\"context\":{\"type\":\"ContextType\"}}}}}}"),
			},
			ValidationSettings: &verifiedpermissions.PolicyStoreValidationSettingsArgs{
				Mode: verifiedpermissions.PolicyStoreValidationModeStrict,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetPolicyStore

func GetPolicyStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyStoreState, opts ...pulumi.ResourceOption) (*PolicyStore, error)

GetPolicyStore gets an existing PolicyStore resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicyStore

func NewPolicyStore(ctx *pulumi.Context,
	name string, args *PolicyStoreArgs, opts ...pulumi.ResourceOption) (*PolicyStore, error)

NewPolicyStore registers a new resource with the given unique name, arguments, and options.

func (*PolicyStore) ElementType

func (*PolicyStore) ElementType() reflect.Type

func (*PolicyStore) ToPolicyStoreOutput

func (i *PolicyStore) ToPolicyStoreOutput() PolicyStoreOutput

func (*PolicyStore) ToPolicyStoreOutputWithContext

func (i *PolicyStore) ToPolicyStoreOutputWithContext(ctx context.Context) PolicyStoreOutput

type PolicyStoreArgs

type PolicyStoreArgs struct {
	// Descriptive text that you can provide to help with identification of the current policy store.
	Description pulumi.StringPtrInput
	// Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.
	Schema PolicyStoreSchemaDefinitionPtrInput
	// Specifies the validation setting for this policy store.
	//
	// Currently, the only valid and required value is `Mode` .
	//
	// > We recommend that you turn on `STRICT` mode only after you define a schema. If a schema doesn't exist, then `STRICT` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) . Then, when you have a schema defined, use [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) again to turn validation back on.
	ValidationSettings PolicyStoreValidationSettingsInput
}

The set of arguments for constructing a PolicyStore resource.

func (PolicyStoreArgs) ElementType

func (PolicyStoreArgs) ElementType() reflect.Type

type PolicyStoreInput

type PolicyStoreInput interface {
	pulumi.Input

	ToPolicyStoreOutput() PolicyStoreOutput
	ToPolicyStoreOutputWithContext(ctx context.Context) PolicyStoreOutput
}

type PolicyStoreOutput

type PolicyStoreOutput struct{ *pulumi.OutputState }

func (PolicyStoreOutput) Arn

The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of the new or updated policy store.

func (PolicyStoreOutput) Description added in v0.93.0

func (o PolicyStoreOutput) Description() pulumi.StringPtrOutput

Descriptive text that you can provide to help with identification of the current policy store.

func (PolicyStoreOutput) ElementType

func (PolicyStoreOutput) ElementType() reflect.Type

func (PolicyStoreOutput) PolicyStoreId

func (o PolicyStoreOutput) PolicyStoreId() pulumi.StringOutput

The unique ID of the new or updated policy store.

func (PolicyStoreOutput) Schema

Creates or updates the policy schema in a policy store. Cedar can use the schema to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.

func (PolicyStoreOutput) ToPolicyStoreOutput

func (o PolicyStoreOutput) ToPolicyStoreOutput() PolicyStoreOutput

func (PolicyStoreOutput) ToPolicyStoreOutputWithContext

func (o PolicyStoreOutput) ToPolicyStoreOutputWithContext(ctx context.Context) PolicyStoreOutput

func (PolicyStoreOutput) ValidationSettings

Specifies the validation setting for this policy store.

Currently, the only valid and required value is `Mode` .

> We recommend that you turn on `STRICT` mode only after you define a schema. If a schema doesn't exist, then `STRICT` mode causes any policy to fail validation, and Verified Permissions rejects the policy. You can turn off validation by using the [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) . Then, when you have a schema defined, use [UpdatePolicyStore](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore) again to turn validation back on.

type PolicyStoreSchemaDefinition

type PolicyStoreSchemaDefinition struct {
	// A JSON string representation of the schema supported by applications that use this policy store. For more information, see [Policy store schema](https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html) in the AVP User Guide.
	CedarJson *string `pulumi:"cedarJson"`
}

type PolicyStoreSchemaDefinitionArgs

type PolicyStoreSchemaDefinitionArgs struct {
	// A JSON string representation of the schema supported by applications that use this policy store. For more information, see [Policy store schema](https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html) in the AVP User Guide.
	CedarJson pulumi.StringPtrInput `pulumi:"cedarJson"`
}

func (PolicyStoreSchemaDefinitionArgs) ElementType

func (PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionOutput

func (i PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionOutput() PolicyStoreSchemaDefinitionOutput

func (PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionOutputWithContext

func (i PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionOutputWithContext(ctx context.Context) PolicyStoreSchemaDefinitionOutput

func (PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionPtrOutput

func (i PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionPtrOutput() PolicyStoreSchemaDefinitionPtrOutput

func (PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionPtrOutputWithContext

func (i PolicyStoreSchemaDefinitionArgs) ToPolicyStoreSchemaDefinitionPtrOutputWithContext(ctx context.Context) PolicyStoreSchemaDefinitionPtrOutput

type PolicyStoreSchemaDefinitionInput

type PolicyStoreSchemaDefinitionInput interface {
	pulumi.Input

	ToPolicyStoreSchemaDefinitionOutput() PolicyStoreSchemaDefinitionOutput
	ToPolicyStoreSchemaDefinitionOutputWithContext(context.Context) PolicyStoreSchemaDefinitionOutput
}

PolicyStoreSchemaDefinitionInput is an input type that accepts PolicyStoreSchemaDefinitionArgs and PolicyStoreSchemaDefinitionOutput values. You can construct a concrete instance of `PolicyStoreSchemaDefinitionInput` via:

PolicyStoreSchemaDefinitionArgs{...}

type PolicyStoreSchemaDefinitionOutput

type PolicyStoreSchemaDefinitionOutput struct{ *pulumi.OutputState }

func (PolicyStoreSchemaDefinitionOutput) CedarJson

A JSON string representation of the schema supported by applications that use this policy store. For more information, see [Policy store schema](https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html) in the AVP User Guide.

func (PolicyStoreSchemaDefinitionOutput) ElementType

func (PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionOutput

func (o PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionOutput() PolicyStoreSchemaDefinitionOutput

func (PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionOutputWithContext

func (o PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionOutputWithContext(ctx context.Context) PolicyStoreSchemaDefinitionOutput

func (PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionPtrOutput

func (o PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionPtrOutput() PolicyStoreSchemaDefinitionPtrOutput

func (PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionPtrOutputWithContext

func (o PolicyStoreSchemaDefinitionOutput) ToPolicyStoreSchemaDefinitionPtrOutputWithContext(ctx context.Context) PolicyStoreSchemaDefinitionPtrOutput

type PolicyStoreSchemaDefinitionPtrInput

type PolicyStoreSchemaDefinitionPtrInput interface {
	pulumi.Input

	ToPolicyStoreSchemaDefinitionPtrOutput() PolicyStoreSchemaDefinitionPtrOutput
	ToPolicyStoreSchemaDefinitionPtrOutputWithContext(context.Context) PolicyStoreSchemaDefinitionPtrOutput
}

PolicyStoreSchemaDefinitionPtrInput is an input type that accepts PolicyStoreSchemaDefinitionArgs, PolicyStoreSchemaDefinitionPtr and PolicyStoreSchemaDefinitionPtrOutput values. You can construct a concrete instance of `PolicyStoreSchemaDefinitionPtrInput` via:

        PolicyStoreSchemaDefinitionArgs{...}

or:

        nil

type PolicyStoreSchemaDefinitionPtrOutput

type PolicyStoreSchemaDefinitionPtrOutput struct{ *pulumi.OutputState }

func (PolicyStoreSchemaDefinitionPtrOutput) CedarJson

A JSON string representation of the schema supported by applications that use this policy store. For more information, see [Policy store schema](https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html) in the AVP User Guide.

func (PolicyStoreSchemaDefinitionPtrOutput) Elem

func (PolicyStoreSchemaDefinitionPtrOutput) ElementType

func (PolicyStoreSchemaDefinitionPtrOutput) ToPolicyStoreSchemaDefinitionPtrOutput

func (o PolicyStoreSchemaDefinitionPtrOutput) ToPolicyStoreSchemaDefinitionPtrOutput() PolicyStoreSchemaDefinitionPtrOutput

func (PolicyStoreSchemaDefinitionPtrOutput) ToPolicyStoreSchemaDefinitionPtrOutputWithContext

func (o PolicyStoreSchemaDefinitionPtrOutput) ToPolicyStoreSchemaDefinitionPtrOutputWithContext(ctx context.Context) PolicyStoreSchemaDefinitionPtrOutput

type PolicyStoreState

type PolicyStoreState struct {
}

func (PolicyStoreState) ElementType

func (PolicyStoreState) ElementType() reflect.Type

type PolicyStoreValidationMode

type PolicyStoreValidationMode string

func (PolicyStoreValidationMode) ElementType

func (PolicyStoreValidationMode) ElementType() reflect.Type

func (PolicyStoreValidationMode) ToPolicyStoreValidationModeOutput

func (e PolicyStoreValidationMode) ToPolicyStoreValidationModeOutput() PolicyStoreValidationModeOutput

func (PolicyStoreValidationMode) ToPolicyStoreValidationModeOutputWithContext

func (e PolicyStoreValidationMode) ToPolicyStoreValidationModeOutputWithContext(ctx context.Context) PolicyStoreValidationModeOutput

func (PolicyStoreValidationMode) ToPolicyStoreValidationModePtrOutput

func (e PolicyStoreValidationMode) ToPolicyStoreValidationModePtrOutput() PolicyStoreValidationModePtrOutput

func (PolicyStoreValidationMode) ToPolicyStoreValidationModePtrOutputWithContext

func (e PolicyStoreValidationMode) ToPolicyStoreValidationModePtrOutputWithContext(ctx context.Context) PolicyStoreValidationModePtrOutput

func (PolicyStoreValidationMode) ToStringOutput

func (e PolicyStoreValidationMode) ToStringOutput() pulumi.StringOutput

func (PolicyStoreValidationMode) ToStringOutputWithContext

func (e PolicyStoreValidationMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PolicyStoreValidationMode) ToStringPtrOutput

func (e PolicyStoreValidationMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (PolicyStoreValidationMode) ToStringPtrOutputWithContext

func (e PolicyStoreValidationMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PolicyStoreValidationModeInput

type PolicyStoreValidationModeInput interface {
	pulumi.Input

	ToPolicyStoreValidationModeOutput() PolicyStoreValidationModeOutput
	ToPolicyStoreValidationModeOutputWithContext(context.Context) PolicyStoreValidationModeOutput
}

PolicyStoreValidationModeInput is an input type that accepts values of the PolicyStoreValidationMode enum A concrete instance of `PolicyStoreValidationModeInput` can be one of the following:

PolicyStoreValidationModeOff
PolicyStoreValidationModeStrict

type PolicyStoreValidationModeOutput

type PolicyStoreValidationModeOutput struct{ *pulumi.OutputState }

func (PolicyStoreValidationModeOutput) ElementType

func (PolicyStoreValidationModeOutput) ToPolicyStoreValidationModeOutput

func (o PolicyStoreValidationModeOutput) ToPolicyStoreValidationModeOutput() PolicyStoreValidationModeOutput

func (PolicyStoreValidationModeOutput) ToPolicyStoreValidationModeOutputWithContext

func (o PolicyStoreValidationModeOutput) ToPolicyStoreValidationModeOutputWithContext(ctx context.Context) PolicyStoreValidationModeOutput

func (PolicyStoreValidationModeOutput) ToPolicyStoreValidationModePtrOutput

func (o PolicyStoreValidationModeOutput) ToPolicyStoreValidationModePtrOutput() PolicyStoreValidationModePtrOutput

func (PolicyStoreValidationModeOutput) ToPolicyStoreValidationModePtrOutputWithContext

func (o PolicyStoreValidationModeOutput) ToPolicyStoreValidationModePtrOutputWithContext(ctx context.Context) PolicyStoreValidationModePtrOutput

func (PolicyStoreValidationModeOutput) ToStringOutput

func (PolicyStoreValidationModeOutput) ToStringOutputWithContext

func (o PolicyStoreValidationModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PolicyStoreValidationModeOutput) ToStringPtrOutput

func (PolicyStoreValidationModeOutput) ToStringPtrOutputWithContext

func (o PolicyStoreValidationModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PolicyStoreValidationModePtrInput

type PolicyStoreValidationModePtrInput interface {
	pulumi.Input

	ToPolicyStoreValidationModePtrOutput() PolicyStoreValidationModePtrOutput
	ToPolicyStoreValidationModePtrOutputWithContext(context.Context) PolicyStoreValidationModePtrOutput
}

func PolicyStoreValidationModePtr

func PolicyStoreValidationModePtr(v string) PolicyStoreValidationModePtrInput

type PolicyStoreValidationModePtrOutput

type PolicyStoreValidationModePtrOutput struct{ *pulumi.OutputState }

func (PolicyStoreValidationModePtrOutput) Elem

func (PolicyStoreValidationModePtrOutput) ElementType

func (PolicyStoreValidationModePtrOutput) ToPolicyStoreValidationModePtrOutput

func (o PolicyStoreValidationModePtrOutput) ToPolicyStoreValidationModePtrOutput() PolicyStoreValidationModePtrOutput

func (PolicyStoreValidationModePtrOutput) ToPolicyStoreValidationModePtrOutputWithContext

func (o PolicyStoreValidationModePtrOutput) ToPolicyStoreValidationModePtrOutputWithContext(ctx context.Context) PolicyStoreValidationModePtrOutput

func (PolicyStoreValidationModePtrOutput) ToStringPtrOutput

func (PolicyStoreValidationModePtrOutput) ToStringPtrOutputWithContext

func (o PolicyStoreValidationModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PolicyStoreValidationSettings

type PolicyStoreValidationSettings struct {
	// The validation mode currently configured for this policy store. The valid values are:
	//
	// - *OFF* – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service.
	// - *STRICT* – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store.
	//
	// > If `Mode=STRICT` and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates because there is no schema to validate against.
	// >
	// > To submit a static policy or policy template without a schema, you must turn off validation.
	Mode PolicyStoreValidationMode `pulumi:"mode"`
}

type PolicyStoreValidationSettingsArgs

type PolicyStoreValidationSettingsArgs struct {
	// The validation mode currently configured for this policy store. The valid values are:
	//
	// - *OFF* – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service.
	// - *STRICT* – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store.
	//
	// > If `Mode=STRICT` and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates because there is no schema to validate against.
	// >
	// > To submit a static policy or policy template without a schema, you must turn off validation.
	Mode PolicyStoreValidationModeInput `pulumi:"mode"`
}

func (PolicyStoreValidationSettingsArgs) ElementType

func (PolicyStoreValidationSettingsArgs) ToPolicyStoreValidationSettingsOutput

func (i PolicyStoreValidationSettingsArgs) ToPolicyStoreValidationSettingsOutput() PolicyStoreValidationSettingsOutput

func (PolicyStoreValidationSettingsArgs) ToPolicyStoreValidationSettingsOutputWithContext

func (i PolicyStoreValidationSettingsArgs) ToPolicyStoreValidationSettingsOutputWithContext(ctx context.Context) PolicyStoreValidationSettingsOutput

type PolicyStoreValidationSettingsInput

type PolicyStoreValidationSettingsInput interface {
	pulumi.Input

	ToPolicyStoreValidationSettingsOutput() PolicyStoreValidationSettingsOutput
	ToPolicyStoreValidationSettingsOutputWithContext(context.Context) PolicyStoreValidationSettingsOutput
}

PolicyStoreValidationSettingsInput is an input type that accepts PolicyStoreValidationSettingsArgs and PolicyStoreValidationSettingsOutput values. You can construct a concrete instance of `PolicyStoreValidationSettingsInput` via:

PolicyStoreValidationSettingsArgs{...}

type PolicyStoreValidationSettingsOutput

type PolicyStoreValidationSettingsOutput struct{ *pulumi.OutputState }

func (PolicyStoreValidationSettingsOutput) ElementType

func (PolicyStoreValidationSettingsOutput) Mode

The validation mode currently configured for this policy store. The valid values are:

- *OFF* – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service. - *STRICT* – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store.

> If `Mode=STRICT` and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates because there is no schema to validate against. > > To submit a static policy or policy template without a schema, you must turn off validation.

func (PolicyStoreValidationSettingsOutput) ToPolicyStoreValidationSettingsOutput

func (o PolicyStoreValidationSettingsOutput) ToPolicyStoreValidationSettingsOutput() PolicyStoreValidationSettingsOutput

func (PolicyStoreValidationSettingsOutput) ToPolicyStoreValidationSettingsOutputWithContext

func (o PolicyStoreValidationSettingsOutput) ToPolicyStoreValidationSettingsOutputWithContext(ctx context.Context) PolicyStoreValidationSettingsOutput

type PolicyStoreValidationSettingsPtrOutput

type PolicyStoreValidationSettingsPtrOutput struct{ *pulumi.OutputState }

func (PolicyStoreValidationSettingsPtrOutput) Elem

func (PolicyStoreValidationSettingsPtrOutput) ElementType

func (PolicyStoreValidationSettingsPtrOutput) Mode

The validation mode currently configured for this policy store. The valid values are:

- *OFF* – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service. - *STRICT* – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store.

> If `Mode=STRICT` and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates because there is no schema to validate against. > > To submit a static policy or policy template without a schema, you must turn off validation.

func (PolicyStoreValidationSettingsPtrOutput) ToPolicyStoreValidationSettingsPtrOutput

func (o PolicyStoreValidationSettingsPtrOutput) ToPolicyStoreValidationSettingsPtrOutput() PolicyStoreValidationSettingsPtrOutput

func (PolicyStoreValidationSettingsPtrOutput) ToPolicyStoreValidationSettingsPtrOutputWithContext

func (o PolicyStoreValidationSettingsPtrOutput) ToPolicyStoreValidationSettingsPtrOutputWithContext(ctx context.Context) PolicyStoreValidationSettingsPtrOutput

type PolicyTemplate

type PolicyTemplate struct {
	pulumi.CustomResourceState

	// The description to attach to the new or updated policy template.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The unique identifier of the policy store that contains the template.
	PolicyStoreId pulumi.StringOutput `pulumi:"policyStoreId"`
	// The unique identifier of the new or modified policy template.
	PolicyTemplateId pulumi.StringOutput `pulumi:"policyTemplateId"`
	// Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
	Statement pulumi.StringOutput `pulumi:"statement"`
}

Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/verifiedpermissions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		policyStoreId := cfg.Require("policyStoreId")
		description := cfg.Require("description")
		statement := cfg.Require("statement")
		policyTemplate, err := verifiedpermissions.NewPolicyTemplate(ctx, "policyTemplate", &verifiedpermissions.PolicyTemplateArgs{
			PolicyStoreId: pulumi.String(policyStoreId),
			Description:   pulumi.String(description),
			Statement:     pulumi.String(statement),
		})
		if err != nil {
			return err
		}
		ctx.Export("policyTemplateId", policyTemplate.PolicyTemplateId)
		return nil
	})
}

```

func GetPolicyTemplate

func GetPolicyTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyTemplateState, opts ...pulumi.ResourceOption) (*PolicyTemplate, error)

GetPolicyTemplate gets an existing PolicyTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicyTemplate

func NewPolicyTemplate(ctx *pulumi.Context,
	name string, args *PolicyTemplateArgs, opts ...pulumi.ResourceOption) (*PolicyTemplate, error)

NewPolicyTemplate registers a new resource with the given unique name, arguments, and options.

func (*PolicyTemplate) ElementType

func (*PolicyTemplate) ElementType() reflect.Type

func (*PolicyTemplate) ToPolicyTemplateOutput

func (i *PolicyTemplate) ToPolicyTemplateOutput() PolicyTemplateOutput

func (*PolicyTemplate) ToPolicyTemplateOutputWithContext

func (i *PolicyTemplate) ToPolicyTemplateOutputWithContext(ctx context.Context) PolicyTemplateOutput

type PolicyTemplateArgs

type PolicyTemplateArgs struct {
	// The description to attach to the new or updated policy template.
	Description pulumi.StringPtrInput
	// The unique identifier of the policy store that contains the template.
	PolicyStoreId pulumi.StringInput
	// Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
	Statement pulumi.StringInput
}

The set of arguments for constructing a PolicyTemplate resource.

func (PolicyTemplateArgs) ElementType

func (PolicyTemplateArgs) ElementType() reflect.Type

type PolicyTemplateInput

type PolicyTemplateInput interface {
	pulumi.Input

	ToPolicyTemplateOutput() PolicyTemplateOutput
	ToPolicyTemplateOutputWithContext(ctx context.Context) PolicyTemplateOutput
}

type PolicyTemplateLinkedPolicyDefinition added in v0.72.0

type PolicyTemplateLinkedPolicyDefinition struct {
	PolicyTemplateId string                  `pulumi:"policyTemplateId"`
	Principal        *PolicyEntityIdentifier `pulumi:"principal"`
	Resource         *PolicyEntityIdentifier `pulumi:"resource"`
}

type PolicyTemplateLinkedPolicyDefinitionArgs added in v0.96.0

type PolicyTemplateLinkedPolicyDefinitionArgs struct {
	PolicyTemplateId pulumi.StringInput             `pulumi:"policyTemplateId"`
	Principal        PolicyEntityIdentifierPtrInput `pulumi:"principal"`
	Resource         PolicyEntityIdentifierPtrInput `pulumi:"resource"`
}

func (PolicyTemplateLinkedPolicyDefinitionArgs) ElementType added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionArgs) ToPolicyTemplateLinkedPolicyDefinitionOutput added in v0.96.0

func (i PolicyTemplateLinkedPolicyDefinitionArgs) ToPolicyTemplateLinkedPolicyDefinitionOutput() PolicyTemplateLinkedPolicyDefinitionOutput

func (PolicyTemplateLinkedPolicyDefinitionArgs) ToPolicyTemplateLinkedPolicyDefinitionOutputWithContext added in v0.96.0

func (i PolicyTemplateLinkedPolicyDefinitionArgs) ToPolicyTemplateLinkedPolicyDefinitionOutputWithContext(ctx context.Context) PolicyTemplateLinkedPolicyDefinitionOutput

type PolicyTemplateLinkedPolicyDefinitionInput added in v0.96.0

type PolicyTemplateLinkedPolicyDefinitionInput interface {
	pulumi.Input

	ToPolicyTemplateLinkedPolicyDefinitionOutput() PolicyTemplateLinkedPolicyDefinitionOutput
	ToPolicyTemplateLinkedPolicyDefinitionOutputWithContext(context.Context) PolicyTemplateLinkedPolicyDefinitionOutput
}

PolicyTemplateLinkedPolicyDefinitionInput is an input type that accepts PolicyTemplateLinkedPolicyDefinitionArgs and PolicyTemplateLinkedPolicyDefinitionOutput values. You can construct a concrete instance of `PolicyTemplateLinkedPolicyDefinitionInput` via:

PolicyTemplateLinkedPolicyDefinitionArgs{...}

type PolicyTemplateLinkedPolicyDefinitionOutput added in v0.96.0

type PolicyTemplateLinkedPolicyDefinitionOutput struct{ *pulumi.OutputState }

func (PolicyTemplateLinkedPolicyDefinitionOutput) ElementType added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionOutput) PolicyTemplateId added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionOutput) Principal added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionOutput) Resource added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionOutput) ToPolicyTemplateLinkedPolicyDefinitionOutput added in v0.96.0

func (o PolicyTemplateLinkedPolicyDefinitionOutput) ToPolicyTemplateLinkedPolicyDefinitionOutput() PolicyTemplateLinkedPolicyDefinitionOutput

func (PolicyTemplateLinkedPolicyDefinitionOutput) ToPolicyTemplateLinkedPolicyDefinitionOutputWithContext added in v0.96.0

func (o PolicyTemplateLinkedPolicyDefinitionOutput) ToPolicyTemplateLinkedPolicyDefinitionOutputWithContext(ctx context.Context) PolicyTemplateLinkedPolicyDefinitionOutput

type PolicyTemplateLinkedPolicyDefinitionPtrOutput added in v0.96.0

type PolicyTemplateLinkedPolicyDefinitionPtrOutput struct{ *pulumi.OutputState }

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) Elem added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) ElementType added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) PolicyTemplateId added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) Principal added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) Resource added in v0.96.0

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) ToPolicyTemplateLinkedPolicyDefinitionPtrOutput added in v0.96.0

func (o PolicyTemplateLinkedPolicyDefinitionPtrOutput) ToPolicyTemplateLinkedPolicyDefinitionPtrOutput() PolicyTemplateLinkedPolicyDefinitionPtrOutput

func (PolicyTemplateLinkedPolicyDefinitionPtrOutput) ToPolicyTemplateLinkedPolicyDefinitionPtrOutputWithContext added in v0.96.0

func (o PolicyTemplateLinkedPolicyDefinitionPtrOutput) ToPolicyTemplateLinkedPolicyDefinitionPtrOutputWithContext(ctx context.Context) PolicyTemplateLinkedPolicyDefinitionPtrOutput

type PolicyTemplateOutput

type PolicyTemplateOutput struct{ *pulumi.OutputState }

func (PolicyTemplateOutput) Description

The description to attach to the new or updated policy template.

func (PolicyTemplateOutput) ElementType

func (PolicyTemplateOutput) ElementType() reflect.Type

func (PolicyTemplateOutput) PolicyStoreId

func (o PolicyTemplateOutput) PolicyStoreId() pulumi.StringOutput

The unique identifier of the policy store that contains the template.

func (PolicyTemplateOutput) PolicyTemplateId

func (o PolicyTemplateOutput) PolicyTemplateId() pulumi.StringOutput

The unique identifier of the new or modified policy template.

func (PolicyTemplateOutput) Statement

Specifies the content that you want to use for the new policy template, written in the Cedar policy language.

func (PolicyTemplateOutput) ToPolicyTemplateOutput

func (o PolicyTemplateOutput) ToPolicyTemplateOutput() PolicyTemplateOutput

func (PolicyTemplateOutput) ToPolicyTemplateOutputWithContext

func (o PolicyTemplateOutput) ToPolicyTemplateOutputWithContext(ctx context.Context) PolicyTemplateOutput

type PolicyTemplateState

type PolicyTemplateState struct {
}

func (PolicyTemplateState) ElementType

func (PolicyTemplateState) ElementType() reflect.Type

type PolicyType

type PolicyType string

type PolicyTypeOutput

type PolicyTypeOutput struct{ *pulumi.OutputState }

func (PolicyTypeOutput) ElementType

func (PolicyTypeOutput) ElementType() reflect.Type

func (PolicyTypeOutput) ToPolicyTypeOutput

func (o PolicyTypeOutput) ToPolicyTypeOutput() PolicyTypeOutput

func (PolicyTypeOutput) ToPolicyTypeOutputWithContext

func (o PolicyTypeOutput) ToPolicyTypeOutputWithContext(ctx context.Context) PolicyTypeOutput

func (PolicyTypeOutput) ToPolicyTypePtrOutput

func (o PolicyTypeOutput) ToPolicyTypePtrOutput() PolicyTypePtrOutput

func (PolicyTypeOutput) ToPolicyTypePtrOutputWithContext

func (o PolicyTypeOutput) ToPolicyTypePtrOutputWithContext(ctx context.Context) PolicyTypePtrOutput

func (PolicyTypeOutput) ToStringOutput

func (o PolicyTypeOutput) ToStringOutput() pulumi.StringOutput

func (PolicyTypeOutput) ToStringOutputWithContext

func (o PolicyTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (PolicyTypeOutput) ToStringPtrOutput

func (o PolicyTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (PolicyTypeOutput) ToStringPtrOutputWithContext

func (o PolicyTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PolicyTypePtrOutput

type PolicyTypePtrOutput struct{ *pulumi.OutputState }

func (PolicyTypePtrOutput) Elem

func (PolicyTypePtrOutput) ElementType

func (PolicyTypePtrOutput) ElementType() reflect.Type

func (PolicyTypePtrOutput) ToPolicyTypePtrOutput

func (o PolicyTypePtrOutput) ToPolicyTypePtrOutput() PolicyTypePtrOutput

func (PolicyTypePtrOutput) ToPolicyTypePtrOutputWithContext

func (o PolicyTypePtrOutput) ToPolicyTypePtrOutputWithContext(ctx context.Context) PolicyTypePtrOutput

func (PolicyTypePtrOutput) ToStringPtrOutput

func (o PolicyTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (PolicyTypePtrOutput) ToStringPtrOutputWithContext

func (o PolicyTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL